<div dir="ltr"><div>Try setting <a href="http://wiki.nginx.org/CoreModule#worker_rlimit_nofile">worker_rlimit_nofile</a><br><br></div><br><br>Jader H.<br><div><br><div class="gmail_extra"><br><br><div class="gmail_quote">2013/5/15 0liver <span dir="ltr"><<a href="mailto:nginx-forum@nginx.us" target="_blank">nginx-forum@nginx.us</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm facing the same problem here, but I found much lower settings on our<br>
machine (a VPS running Ubuntu 12.04):<br>
<br>
# the hard limit of open files<br>
www-data@215247:~$ ulimit -Hn<br>
4096<br>
# the soft limit of open files<br>
www-data@215247:~$ ulimit -Sn<br>
1024<br>
# maximum number of file descriptors enforced on a kernel level<br>
# for more info see: <a href="http://serverfault.com/q/122679/88043" target="_blank">http://serverfault.com/q/122679/88043</a><br>
root@215247:~# cat /proc/sys/fs/file-max<br>
262144<br>
<br>
So I would hope that setting the ulimit values for max open files per user<br>
to 262144 (H) and 131072 (S) will help.<br>
<br>
But then again, Howard Chen mentioned, that he's facing this problem despite<br>
such high values on his system.<br>
<br>
Any suggestions?<br>
<br>
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,234191,239248#msg-239248" target="_blank">http://forum.nginx.org/read.php?2,234191,239248#msg-239248</a><br>
<div class="HOEnZb"><div class="h5"><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>
</div></div></blockquote></div><br></div></div></div>