On Wed, Sep 29, 2010 at 00:27, Piotr Sikora <piotr.sikora@frickle.com> wrote:
> Hi,
>
>>> 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).
Regards,
Nuno
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx