24: Too many open files

Richard Kearsley Richard.Kearsley at m247.com
Fri Apr 1 19:58:23 MSD 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20110401/1b79a54f/attachment.html>


More information about the nginx mailing list