maximum number of file descriptors

pablo platt pablo.platt at
Wed Sep 29 02:06:38 MSD 2010


I'm using nginx for long polling requests.
Each user will have at least one hanging request in addition to requesting
static files when needed.
I understand that each connection needs a file descriptor.
The default limit on ubuntu is 1024.
How can I increase this limit?
Do I need to change something on ubuntu or just in nginx config?
Does worker_rlimit_nofile what I'm looking for or does it only set the limit
per worker and I'll still hit the master process limit?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list