Welcome! Log In Create A New Profile

Advanced

increasing open files limit

March 17, 2014 12:53AM
I am trying to increase the limit on open files for nginx. I've set cat /proc/sys/fs/file-max to 1000000, set worker_rlimit_nofile to 8388608 but I still keep getting errors like:

setrlimit(RLIMIT_NOFILE, 8388608) failed (1: Operation not permitted)
accept4() failed (24: Too many open files)

How do I increase the limit on open files for nginx?
SubjectAuthorPosted

increasing open files limit

bignginxfanMarch 17, 2014 12:53AM

Re: increasing open files limit

GreenGeckoMarch 17, 2014 01:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 67
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready