Hi,<br><br><div class="gmail_quote">On Thu, Jun 21, 2012 at 9:34 AM, tonny.young <span dir="ltr"><<a href="mailto:nginx-forum@nginx.us" target="_blank">nginx-forum@nginx.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
<br>
Recently I write a simple Nginx module ,but when I deploy it on the<br>
product environment it will make the Nginx service crash as it takes too<br>
many memory.The main handler code is here<br>
<br>
<a href="http://codepad.org/2H9We02C" target="_blank">http://codepad.org/2H9We02C</a><br>
<br>
<br>
I've checked the code from time to time but still cannot solve the<br>
problem.And I hope someone offer me some suggestions about it.<br></blockquote><div><br></div><div>Why not use the standard memcache module or agentzh's memc module?</div><div>They will not block as your module does and I believe there will be no memory leak either.</div>
</div><div><br></div><div>Regards,</div><div><br></div>-- <br>Joshua Zhu<br>Senior Software Engineer<br>Server Platforms Team at Taobao<br>