Welcome! Log In Create A New Profile

Advanced

24: Too many Open connections

May 12, 2015 05:22AM
Hello,

We have 3 nginx web servers behind an nginx proxy and we were seeing "24: Too many Open connections" error in nginx log of one server and found that some of the users are getting 504 timed out error. We have observer that the problem was only in one of the web-server. We restarted php_cgi & nginx and the problem got solved.

Can someone help me to understand what caused this issue? As I mentioned we 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 was non peak hour and other servers were not affected as well.

nginx-1.2.0-1.el5
OS - CentOS release 5.8

nginx.conf
worker_processes 4;
worker_connections 1000000;

sysctl.conf
fs.file-max = 70000

limits.conf
nginx soft nofile 1000000
nginx hard nofile 1000000
Subject Author Posted

24: Too many Open connections

ranjuj May 12, 2015 05:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 151
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready