increasing open files limit

bignginxfan nginx-forum at nginx.us
Mon Mar 17 04:53:18 UTC 2014


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?

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,248426,248426#msg-248426



More information about the nginx mailing list