maximum number of file descriptors

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


Hi

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?
http://wiki.nginx.org/NginxHttpMainModule#worker_rlimit_nofile

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20100929/6079a623/attachment.html>


More information about the nginx mailing list