accept() failed (24: Too many open files) .. how to confirm how many file descriptors nginx is running with?

Kirill A. Korinskiy catap+nginx at catap.ru
Mon Mar 8 12:32:01 MSK 2010


At Sun, 7 Mar 2010 19:36:31 -0500,
David Taveras <d3taveras38d3 at gmail.com> wrote:
> 
> Hello,
> 
> I have been getting that error a lot now.. I pressume because of the
> amount of traffic.
> 
> 
> My simultaneous connection is set to 10 000... does that mean I need
> one file descriptor for each request?
> 

correct

> Also.. I lifted the file descriptor limit in my OS.. how can I confirm
> with nginx how many filedescriptors it has available to use?
> 

cat /proc/<pid>/limits

-- 
wbr, Kirill



More information about the nginx mailing list