nginx 500 internal server error
Posted: Thu Aug 04, 2016 10:53 am
Error log for nginx (/var/log/nginx/error.log)
I have followed this instructions.
http://stackoverflow.com/questions/7325 ... ts-per-min
Somewhere on google I also read about changing soft and hard limit but I don't know if this is the culprit and that how to change it.
The default
ulimit -Sn
1024
ulimit -Hn
4096
I am using CentOS 6.7 x64
Code: Select all
2016/08/04 06:15:59 [alert] 16205#16205: socketpair() failed while spawning "worker process" (24: Too many open files)
2016/08/04 06:15:59 [alert] 16205#16205: socketpair() failed while spawning "worker process" (24: Too many open files)
2016/08/04 06:15:59 [alert] 16205#16205: socketpair() failed while spawning "worker process" (24: Too many open files)
2016/08/04 06:15:59 [alert] 16205#16205: socketpair() failed while spawning "worker process" (24: Too many open files)
2016/08/04 06:15:59 [alert] 16205#16205: socketpair() failed while spawning "cache manager process" (24: Too many open files)
2016/08/04 06:15:59 [alert] 16205#16205: socketpair() failed while spawning "cache loader process" (24: Too many open files)
http://stackoverflow.com/questions/7325 ... ts-per-min
Somewhere on google I also read about changing soft and hard limit but I don't know if this is the culprit and that how to change it.
The default
ulimit -Sn
1024
ulimit -Hn
4096
I am using CentOS 6.7 x64