too many open files
leccine at gmail.com
Thu Sep 10 19:31:50 MSD 2009
he has the pre process problem not the general limit i guess :)
On Thu, Sep 10, 2009 at 4:27 PM, Maxim Dounin <mdounin at mdounin.ru> wrote:
> 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
> > files)
> You have to tune your OS. Under FreeBSD:
> sysctl kern.maxfiles=65535
> sysctl kern.maxfilesperproc=60000
> 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
> (never tested).
> Consult your OS docs for instructions how to make this changes
> permanent (usually you have to add them into /etc/sysctl.conf).
> Maxim Dounin
the sun shines for all
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx