Welcome! Log In Create A New Profile

Advanced

RE: 24: Too many open files

Richard Kearsley
April 01, 2011 12:20PM
Do you have a example?
What will this do?


From: smallfish [mailto:smallfish.xy@gmail.com]
Sent: 01 April 2011 17:07
To: nginx@nginx.org
Subject: Re: 24: Too many open files

write the ulimit number into profile file. then source it.
--
blog: http://chenxiaoyu.org


On Fri, Apr 1, 2011 at 11:58 PM, Richard Kearsley <Richard.Kearsley@m247.com<mailto:Richard.Kearsley@m247.com>> wrote:
Hi. Hope someone can answer which open file limit is being reached (doesn't seem right to me)

tail error.log
2011/04/01 15:43:46 [alert] 18945#0: accept() failed (24: Too many open files)
2011/04/01 15:43:46 [alert] 18945#0: accept() failed (24: Too many open files)
2011/04/01 15:43:46 [alert] 18945#0: accept() failed (24: Too many open files)
2011/04/01 15:43:46 [alert] 18945#0: accept() failed (24: Too many open files)
2011/04/01 15:43:46 [alert] 18945#0: accept() failed (24: Too many open files)
2011/04/01 15:43:46 [alert] 18945#0: accept() failed (24: Too many open files)
2011/04/01 15:43:46 [alert] 18945#0: accept() failed (24: Too many open files)

lsof -n | wc -l
4321

cat /proc/sys/fs/file-max
1645538

ulimit -n
1000000

Why it the limit being reached?

Many thanks
Richard

_______________________________________________
nginx mailing list
nginx@nginx.org<mailto:nginx@nginx.org>
http://nginx.org/mailman/listinfo/nginx

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

24: Too many open files

Richard Kearsley April 01, 2011 12:00PM

Re: 24: Too many open files

Piotr Sikora April 01, 2011 12:08PM

RE: 24: Too many open files

Richard Kearsley April 01, 2011 12:10PM

RE: 24: Too many open files

Richard Kearsley April 01, 2011 04:40PM

Re: 24: Too many open files

Igor Sysoev April 01, 2011 04:50PM

RE: 24: Too many open files

Richard Kearsley April 01, 2011 05:00PM

Re: 24: Too many open files

sridhar basam April 01, 2011 05:12PM

Re: 24: Too many open files

smallfish April 01, 2011 12:08PM

RE: 24: Too many open files

Richard Kearsley April 01, 2011 12:20PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 281
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