We have 3 nginx web servers behind an nginx proxy and we were seeing
Too many Open connections” error in nginx log of one server and found
some of the users are getting 504 timed out error. We have observer that
problem was only in one of the web-server. We restarted php_cgi & nginx
the problem got solved.
Can someone help me to understand what caused this issue? As I mentioned
have 3 web-servers and all three are having the same setup and
configuration. It wouldn’t have caused because of heavy traffic, as it
non peak hour and other servers were not affected as well.
OS - CentOS release 5.8
fs.file-max = 70000
nginx soft nofile 1000000
nginx hard nofile 1000000
Posted at Nginx Forum: