Welcome! Log In Create A New Profile

Advanced

Handling nginx's too many open files even I have the correct ulimit

howard chen
December 19, 2012 02:54AM
Hi,

On ubuntu, I tried

su - www-data
ulimit -Hn
>> 200000
ulimit -Sn
>> 100000

The value seems be fine as I have worker_connections = 4000, and
worker_processes = 4, so total is 16000, and still within the limit.

But when my server become busy, I can find the error log contains the line
entries

"..(24: Too many open files),.."

Any way to debug? Thanks..
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Handling nginx's too many open files even I have the correct ulimit

howard chen December 19, 2012 02:54AM

Re: Handling nginx's too many open files even I have the correct ulimit

Igor Sysoev December 19, 2012 03:34AM

Re: Handling nginx's too many open files even I have the correct ulimit

howard chen December 19, 2012 10:32PM

Re: Handling nginx's too many open files even I have the correct ulimit

0liver May 15, 2013 01:11PM

Re: Handling nginx's too many open files even I have the correct ulimit

Jader H. Silva May 17, 2013 08:48AM

Re: Handling nginx's too many open files even I have the correct ulimit

0liver June 25, 2013 07:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 92
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready