too many open files
mdounin at mdounin.ru
Thu Sep 10 19:27:54 MSD 2009
On Thu, Sep 10, 2009 at 11:10:28AM -0400, Ilan Berkner wrote:
> how to handle?
> 2009/09/10 10:09:30 [alert] 9691#0: accept() failed (24: Too many open
You have to tune your OS. Under FreeBSD:
and then either restart nginx or reconfigure it with
worker_rlimit_nofile set in config.
Under Linux it should be something like:
echo 65535 > /proc/sys/fs/file-max
Consult your OS docs for instructions how to make this changes
permanent (usually you have to add them into /etc/sysctl.conf).
More information about the nginx