Too many open files

Davy Campano dcampano at gmail.com
Thu May 1 06:46:47 MSD 2008


Davy Campano <dcampano at ...> writes:

> 
> I'm getting a "Too many open files in system" error after running for about 10
minutes.  I'm in the process of testing out nginx and it's a pretty busy server
doing around 200 requests/sec.  My current open file limit is 131072.  Does
anyone know a safe amount to set this to for a 32-bit linux system with 6GB ram?

ulimit -n actually returns 1024, i'm thinking this should be higher

cat /proc/sys/fs/file-max   returns 131072









More information about the nginx mailing list