Welcome! Log In Create A New Profile

Advanced

Re: maximum number of file descriptors

September 28, 2010 08:26PM
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
Subject Author Posted

maximum number of file descriptors

pablo platt September 28, 2010 06:10PM

Re: maximum number of file descriptors

vesperto September 28, 2010 06:30PM

Re: maximum number of file descriptors

Piotr Sikora September 28, 2010 07:42PM

Re: maximum number of file descriptors

pablo platt September 28, 2010 07:42PM

Re: maximum number of file descriptors

Piotr Sikora September 28, 2010 07:44PM

Re: maximum number of file descriptors

anomalizer October 03, 2010 10:24AM

Re: maximum number of file descriptors

vesperto September 28, 2010 08:26PM

Re: maximum number of file descriptors

pablo platt September 28, 2010 07:42PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 74
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready