<div dir="ltr">Hi<br><br>I&#39;m using nginx for long polling requests.<br>Each user will have at least one hanging request in addition to requesting static files when needed.<br>I understand that each connection needs a file descriptor.<br>
The default limit on ubuntu is 1024.<br>How can I increase this limit?<br>Do I need to change something on ubuntu or just in nginx config?<br>Does worker_rlimit_nofile what I&#39;m looking for or does it only set the limit per worker and I&#39;ll still hit the master process limit?<br>
<a href="http://wiki.nginx.org/NginxHttpMainModule#worker_rlimit_nofile">http://wiki.nginx.org/NginxHttpMainModule#worker_rlimit_nofile</a><br><br>Thanks<br><br></div>