was hoping someone can shed some light on this reoccurring problem.
We have a medium tier instance running on AWS. But it will go down a random times, normally once a week. I've spent many hours looking through access/error logs of apache trying to spot why, but it's proving to be a nightmare to diagnose. From EC2 console, the instance has a green tick icon, revealing it's running, but I can't ssh on and have to stop then start the instance for it to come back online.
From the apache error logs around the time it went down earlier
127.0.0.1 - - [22/Jan/2012:06:25:03 +0000] "OPTIONS * HTTP/1.0" 200 152 "-" "Apache/2.2.20 (Ubuntu) (internal dummy connection)" 127.0.0.1 - - [22/Jan/2012:06:25:03 +0000] "OPTIONS * HTTP/1.0" 200 152 "-" "Apache/2.2.20 (Ubuntu) (internal dummy connection)" 127.0.0.1 - - [22/Jan/2012:06:25:03 +0000] "OPTIONS * HTTP/1.0" 200 152 "-" "Apache/2.2.20 (Ubuntu) (internal dummy connection)" 127.0.0.1 - - [22/Jan/2012:06:25:03 +0000] "OPTIONS * HTTP/1.0" 200 152 "-" "Apache/2.2.20 (Ubuntu) (internal dummy connection)" 127.0.0.1 - - [22/Jan/2012:07:19:46 +0000] "OPTIONS * HTTP/1.0" 200 152 "-" "Apache/2.2.20 (Ubuntu) (internal dummy connection)" 127.0.0.1 - - [22/Jan/2012:07:19:47 +0000] "OPTIONS * HTTP/1.0" 200 152 "-" "Apache/2.2.20 (Ubuntu) (internal dummy connection)"
From the access logs:
[Sun Jan 22 06:25:03 2012] [notice] Apache/2.2.20 (Ubuntu) PHP/5.3.6-13ubuntu3.2 with Suhosin-Patch configured -- resuming normal operations [Sun Jan 22 10:01:50 2012] [notice] Apache/2.2.20 (Ubuntu) PHP/5.3.6-13ubuntu3.2 with Suhosin-Patch configured -- resuming normal operations [Sun Jan 22 10:11:26 2012] [notice] caught SIGTERM, shutting down
Can someone advise what my next steps in diagnosing this problem might be.
Thanks