Welcome! Log In Create A New Profile

Advanced

Re: custom Nginx module memleaks problem

Joshua Zhu
June 20, 2012 10:56PM
Hi,

On Thu, Jun 21, 2012 at 9:34 AM, tonny.young <nginx-forum@nginx.us> wrote:

> Hi all,
>
>
> Recently I write a simple Nginx module ,but when I deploy it on the
> product environment it will make the Nginx service crash as it takes too
> many memory.The main handler code is here
>
> http://codepad.org/2H9We02C
>
>
> I've checked the code from time to time but still cannot solve the
> problem.And I hope someone offer me some suggestions about it.
>

Why not use the standard memcache module or agentzh's memc module?
They will not block as your module does and I believe there will be no
memory leak either.

Regards,

--
Joshua Zhu
Senior Software Engineer
Server Platforms Team at Taobao
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

custom Nginx module memleaks problem

tonny.young June 20, 2012 09:34PM

Re: custom Nginx module memleaks problem

Joshua Zhu June 20, 2012 10:56PM

Re: custom Nginx module memleaks problem

tonny.young June 24, 2012 08:36PM

Re: custom Nginx module memleaks problem

agentzh June 24, 2012 11:28PM

Re: custom Nginx module memleaks problem

tonny.young June 26, 2012 11:59PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 181
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready