при помощи lsof посчитайте, сколько файлов действительно открыто ?<br>у вас срабатывает либо встроенное ограничение nginx, либо ограничение операционной системы.<br><br><div class="gmail_quote">3 декабря 2010 г. 20:29 пользователь Eugene Batogov <span dir="ltr">&lt;<a href="mailto:johnbat26@gmail.com">johnbat26@gmail.com</a>&gt;</span> написал:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div style="font-family: &#39;Droid Sans&#39;; font-size: 10pt; font-weight: 400; font-style: normal;">
<p style="margin: 0px; text-indent: 0px;">Посмотрел error.log:</p>
<p style="margin: 0px; text-indent: 0px;">После 30K появляются:</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">2010/12/03 18:19:12 [alert] 3417#0: accept() failed (24: Too many open files)</p>
<p style="margin: 0px; text-indent: 0px;">2010/12/03 18:19:12 [alert] 3417#0: accept() failed (24: Too many open files)</p>
<p style="margin: 0px; text-indent: 0px;">2010/12/03 18:19:12 [alert] 3417#0: accept() failed (24: Too many open files)</p>
<p style="margin: 0px; text-indent: 0px;">2010/12/03 18:19:12 [alert] 3417#0: accept() failed (24: Too many open files)</p>
<p style="margin: 0px; text-indent: 0px;">2010/12/03 18:19:12 [alert] 3417#0: accept() failed (24: Too many open files)</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-weight: 600;">cat /proc/sys/fs/file-max </span></p>
<p style="margin: 0px; text-indent: 0px;">999999</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-weight: 600;">ulimit -n</span></p>
<p style="margin: 0px; text-indent: 0px;">1000000</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-weight: 600;">/etc/security/limits.conf:</span></p>
<p style="margin: 0px; text-indent: 0px;">#&lt;domain&gt;      &lt;type&gt;  &lt;item&gt;         &lt;value&gt;</p>
<p style="margin: 0px; text-indent: 0px;">*                      soft        nofile          1000000</p>
<p style="margin: 0px; text-indent: 0px;">*                      hard       nofile          1000000</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">Кто что скажет/посоветует ?</p>
<p style="margin: 0px; text-indent: 0px;">-- </p><font color="#888888">
<p style="margin: 0px; text-indent: 0px;">Best Regards, Eugene Batogov</p>
<p style="margin: 0px; text-indent: 0px;"></p></font></div><br>_______________________________________________<br>
nginx-ru mailing list<br>
<a href="mailto:nginx-ru@nginx.org">nginx-ru@nginx.org</a><br>
<a href="http://nginx.org/mailman/listinfo/nginx-ru" target="_blank">http://nginx.org/mailman/listinfo/nginx-ru</a><br>
<br></blockquote></div><br>