maximum number of file descriptors
nunomagalhaes at eu.ipp.pt
Wed Sep 29 04:21:47 MSD 2010
On Wed, Sep 29, 2010 at 00:27, Piotr Sikora <piotr.sikora at frickle.com> wrote:
>>> The default limit on ubuntu is 1024.
>>> How can I increase this limit?
>> That's not nginx-specific, maybe you wanna ask in the ubuntu forums
>> (or, better, Debian)?
> Actually, it is:
> worker_rlimit_nofile XXXX;
If you set worker_rlimit_nofile XXXX to 2048 you're still gonna hit
that 1024 system limit (assuming Ubuntu) and this directive is only
for worker processes, not the master process (according to a link the
OP provided, quoting Igor).
The first link on the search i provided points to how to increase the
system limit for specific users (like www and similar, used by the OS
to run the httpd).
More information about the nginx