Welcome! Log In Create A New Profile

Advanced

Re: too many open files

Scott Trudeau
August 30, 2010 05:38PM
Ilan,

Try:

ulimit -n

Scott

On Mon, Aug 30, 2010 at 5:17 PM, Ilan Berkner <iberkner@gmail.com> wrote:

> Our site is getting busy and we are now getting these errors:
>
> 2010/08/30 16:10:47 [alert] 4729#0: accept() failed (24: Too many open
> files)
>
> I've already looked online in several places but am unclear about how to
> more clearly diagnose the problem and correct. Any help as always is
> greatly appreciated.
>
> Running: cat /proc/sys/fs/file-max
>
> yields: 800669
>
> Running ulimit
>
> yields: unlimited
>
> Top of Nginx configuration looks like this:
>
> worker_processes 5;
>
> events {
> worker_connections 4096;
> }
>
> I've looked here:
>
> http://www.ruby-forum.com/topic/137385
>
> and here:
>
>
> http://nginx.2469901.n2.nabble.com/worker-rlimit-nofile-os-vs-master-vs-workers-td3453734.html
>
> Running CentOS
>
>
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

too many open files

iberkner August 30, 2010 05:24PM

Re: too many open files

Scott Trudeau August 30, 2010 05:38PM

Re: too many open files

iberkner August 30, 2010 05:46PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 202
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready