Hi Guys,
I'm not sure if this is the right forum to post this but I am currently trying to troubleshoot an issue with Apache.
I'm not overly familiar with it, beyond it's initial setup it has worked fine for me for a year.
The issue manifested last night where connections to all my domains started timing out. I was still able to ssh in and access my webmin panel, just not any of the hosted domains.
I did a bit of combing of logs and got the following
Code:
PHP Warning: file(http://www.principiadiscordia.com/list.html): failed to open stream: HTTP request failed! in /var/www/principiadiscordia.com/index.php on line 4 failed to open stream: HTTP request failed!
I wasn't sure if this was related or if the issue was Apache. I performed a reboot of the machine.
For approximately 10 minutes everything seemed fine and then the pages timed out again.
I stopped apache via webmin, and restarted it, everything seemed nippy again.
The site went down about 20 minutes later, after I had gone to bed and stayed down till morning. Since then I've restarted apache 4 times and am trying to track down the root cause.
Some things I've seen in the logs that seem promising are:
When I restart apache
Code:
[error] server reached MaxClients setting, consider raising the MaxClients setting
When I use:
Code:
tail -f /var/log/apache2/error.log
I get
Code:
[Fri Feb 28 11:00:45 2014] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Fri Feb 28 11:02:21 2014] [notice] caught SIGTERM, shutting down
[Fri Feb 28 11:02:25 2014] [notice] Apache/2.2.16 (Debian) PHP/5.3.3-7+squeeze18 with Suhosin-Patch configured -- resuming normal operations
[Fri Feb 28 11:02:26 2014] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Fri Feb 28 11:14:53 2014] [notice] child pid 28220 exit signal Bus error (7)
I think sigterm is me restarting Apache, but I'm not sure if the rest are related.
So far all I really have to go on is the maxclients but I'm not certain.
As I said, I'm not sure if this is the forum to ask but if anyone has some suggestions or has seen something similar it would be very much appreciated.
Regards,
Faust