custom Nginx module memleaks problem

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


Hi,

On Thu, Jun 21, 2012 at 9:34 AM, tonny.young <nginx-forum at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120621/14ea226e/attachment.html>


More information about the nginx mailing list