custom Nginx module memleaks problem

Joshua Zhu zhuzhaoyuan at
Thu Jun 21 02:55:41 UTC 2012


On Thu, Jun 21, 2012 at 9:34 AM, tonny.young <nginx-forum at> 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
> 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.


Joshua Zhu
Senior Software Engineer
Server Platforms Team at Taobao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list