Hello,
I need assistance in understanding one issue we faced in our environment.
We have an application which has apache, Jboss and DB.
It was running fine but suddenly one day users got accessibility issue.
i checked the child process count and found the count is 65 while we set the maxclient as 64. 64 is more enough as our application will always have less than 40 almost all the time. This issue happens only two times in the last 3 year.
We understood number of parallel connection hitting the apache that is why it reached maxclient. I also confirmed it by seeing the error log with maxcleint reached error.
I restarted the apache. At the time of restarting the apache the process count reduced to normal but in seconds it reached again the max. For testing purpose i increased the maxclient from 64 to 75 and restarted. This time again the count reached 76 and then application not accessible with in seconds. We restarted for several times and after 2 or 3 hours in multiple restart of around 4 times it went normal.
Below is my concern. Could some one please help me in clarifying it.
1.) After we restart also maxclient reached again. If we restart all the connections should reset but in our case after reset also process cont increased and hit the max in seconds. Is that means Many connections are already in queue once we restarted the apache the current 64 concurrent connections only closed but it was filled again by the connections in the queue as soon we restarted ?
2.) Restart will not fix the issue when such a issue occurred , we have to stop and wait for sometime like 5 minutes and give time for all the connections to be closed and then start the apache or what else step we can do if this issue happens again? We can increase the maxclient so that this issue wont happen at all but as i said earlier we are not sure how much concurrent connections occurred at that time to find the new maxclient value as well as the concurrent connections will be always less than 40 through the year except this rare case. So i want the fix for this issue other than increasing the maxclient value.
Kindly please help me in resolving this issue if it occurred.