<div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">Do you have some information on the number of concurrent connections?<br>Since you already played with the 'max_requests' parameter too, it seems not to be the reason of the trouble. But better be safe than sorry.<br>

</div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)"><br>If your actual number of connections/second is greater than what the configuration is expecting then you'll have your answer. But you don't provide information allowing to decide on this, and it seems you tried blind changes only.<br>

</div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">Could you provide your input requests rate?<br></div><div class="gmail_extra"><div><font size="1"><span style="color:rgb(102,102,102)">---<br>
</span><b><span style="color:rgb(102,102,102)">B. R.</span></b><span style="color:rgb(102,102,102)"></span></font></div>

<br><br><div class="gmail_quote">On Wed, May 8, 2013 at 7:58 AM, ron ramos <span dir="ltr"><<a href="mailto:nhadie@gmail.com" target="_blank">nhadie@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">hi,<div><br></div><div>i've seen that info as well  ( yes i tried searching for answers as mentioned )  and it did not help me unfortunately.</div><div>i've increased from 500 to 1000 to 10000. increase children servers etc.</div>


<div><br></div><div>regards,</div><div>ron</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 8, 2013 at 7:42 PM, B.R. <span dir="ltr"><<a href="mailto:reallfqq-nginx@yahoo.fr" target="_blank">reallfqq-nginx@yahoo.fr</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-size:small;color:rgb(51,51,153)">After a very long search on Google (almost 15s, including keyboard input), I found astonishing help, based on the information you provided.<br>




<br></div><div style="font-size:small;color:rgb(51,51,153)">About the FPM children burying, I found a resource on StackOverflow linking back to the Nginx forum (ML archive):<br><a href="http://stackoverflow.com/questions/2551185/tons-of-fpm-children-bury-in-php-fpm-log-php-5-2-13php-fpm-0-5-13-nginx-0" target="_blank">http://stackoverflow.com/questions/2551185/tons-of-fpm-children-bury-in-php-fpm-log-php-5-2-13php-fpm-0-5-13-nginx-0</a><br>




<br></div><div style="font-size:small;color:rgb(51,51,153)">It seems, at first glance, that the children bury and its respawn works as intended, if you reach the requests limit number. I dunno how to check that is the case though. Your log entries seem to be silent about that.<br>




</div><div class="gmail_extra"><div style="font-size:small;color:rgb(51,51,153)"><br>My 2 cents,<br clear="all"></div><div><font size="1"><span style="color:rgb(102,102,102)">---<br></span><b><span style="color:rgb(102,102,102)">B. R.</span></b><span style="color:rgb(102,102,102)"></span></font></div>





<br><br><div class="gmail_quote">On Wed, May 8, 2013 at 7:29 AM, ron ramos <span dir="ltr"><<a href="mailto:nhadie@gmail.com" target="_blank">nhadie@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr"><div><div><div><div><div><div><div><div><br>Hi All,<br><br></div>I understand that this is a generic error, but it has been frustrating trying to solve this issue and i'm not able to find an answer anywhere. basically i have an application which is running fine using apache, but we wanted to try nginx/php5-fpm:<br>





<br></div><div>some parts of my application has this connection reset issue, sometimes it works but inconsistent.<br></div><div>if it does not work, i restart php5-fpm and it will work again, but after sometime it will have the same issue.<br>





<br></div><div>i'm using:<br><br># nginx -v<br>nginx version: nginx/1.4.0<br><br># php5-fpm -v<br>PHP 5.4.14-1~precise+1 (fpm-fcgi) (built: Apr 11 2013 17:18:51)<br>Copyright (c) 1997-2013 The PHP Group<br>Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies<br>





<br></div><div>when i enable debug this is the only thing i can see;<br></div><br>[08-May-2013 18:08:32.545758] DEBUG: pid 358359, fpm_got_signal(), line 72: received SIGCHLD<br>[08-May-2013 18:08:32.545884] WARNING: pid 358359, fpm_children_bury(), line 252: [pool legacy] child 358423 exited with code 3 after 342.958315 seconds from start<br>





[08-May-2013 18:08:32.548943] NOTICE: pid 358359, fpm_children_make(), line 421: [pool legacy] child 359398 started<br>[08-May-2013 18:08:32.549023] DEBUG: pid 358359, fpm_event_loop(), line 411: event module triggered 1 events<br>





<br><br></div>i have tried different config changes like using static instead of dynamic..increase max_request..increase child ...increase server..etc.<br><br></div>one thing i really need is to identify what is causing that connection peer but logs is not really helping. i tried strace and it still did not show me anything.<br>





<br></div>any other way to debug or identify what is causing this issue? totally clueless right now.<br><br></div>thank you in advanced.<br><br></div>Regards,<br></div>Ron<br><div><div><div><div><br><br><br><br><div><div>





<div><br><br><br><br><br><br><div><br><br></div></div></div></div></div></div></div></div></div>
<br>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br></blockquote></div><br></div></div>
<br>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br></blockquote></div><br></div>
<br>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br></blockquote></div><br></div></div>