So I posted this week about how our EC2 Linux instance with Amazon suddenly became inaccessible on port 80 (SSH worked fine) and that things only worked once we restarted the httpd service. This happened around 4 to 5 times over the duration of two days.
Thanks to EE people, I got help and looked in the right places. Having trawled through some error logs in the /etc/httpd/logs I opened a log called 'error_log' with the date/timestamp of that time.
One thing I can see is that at exactly the time this issue occurred, this line was in the log:
Caught SIGTERM, shutting down
Does this mean the Apache service was shutdown for some reason? If so, then is there a way of finding out what caused it?