Wednesday, March 2, 2016

magento - Apache becomes unresponsive on Sundays

For some reason, most Sundays around 5-6AM local time Apache is not working properly. I can't find the reason, and I'm stuck troubleshooting.




I'm running Magento on Apache2 with an SSL certificate, and around that specific time random pages stop functioning resulting in no orders being placed. Sometimes it's the category page, sometimes it's the admin area.



I'm thinking it may be logrotating, but not sure how to troubleshoot further. Here's my Apache error log for the past two Sundays:



Jan 29th




/var/log/apache2/error.log.1:[Sun Jan 29 00:35:21 2012] [error] server reached MaxClients setting, consider raising the MaxClients setting



/var/log/apache2/error.log.1:[Sun Jan 29 00:39:44 2012] [error] [client 66.87.100.194] request failed: error reading the headers




/var/log/apache2/error.log.1:[Sun Jan 29 06:25:21 2012] [notice] Graceful restart requested, doing restart



--- notice new log file



/var/log/apache2/error.log:[Sun Jan 29 06:25:24 2012] [notice] Apache/2.2.16 (Debian) PHP/5.3.3-7+squeeze1 with Suhosin-Patch mod_ssl/2.2.16 OpenSSL/0.9.8o configured -- resuming normal operations



/var/log/apache2/error.log:[Sun Jan 29 06:26:00 2012] [notice] child pid 7301 exit signal Segmentation fault (11)





Jan 22nd




/var/log/apache2/error.log.2.gz:[Sun Jan 22 06:25:17 2012] [notice] Graceful restart requested, doing restart



--- notice new log file



/var/log/apache2/error.log.1:[Sun Jan 22 06:25:22 2012] [notice] Apache/2.2.16 (Debian) PHP/5.3.3-7+squeeze1 with Suhosin-Patch mod_ssl/2.2.16 OpenSSL/0.9.8o configured -- resuming normal operations



/var/log/apache2/error.log.1:[Sun Jan 22 16:26:11 2012] [notice] caught SIGTERM, shutting down




/var/log/apache2/error.log.1:[Sun Jan 22 16:26:12 2012] [notice] Apache/2.2.16 (Debian) PHP/5.3.3-7+squeeze1 with Suhosin-Patch mod_ssl/2.2.16 OpenSSL/0.9.8o configured -- resuming normal operations



/var/log/apache2/error.log.1:[Sun Jan 22 16:26:14 2012] [notice] child pid 30367 exit signal Segmentation fault (11)


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...