Apache Keeps Crashing
I run a single Wordpress site on my CentOS 7 droplet, using Apache 2.4.6.
Every couple of days, my site suddenly becomes unavailable. I have to restart Apache, and it works again.
No errors, just I get a notification from my monitoring service that my site is down, and when I try to load it, it just hangs. No errors or anything.
And not a high server load, so I don’t think it’s just trying to load the site for a very long time or anything.
But, no errors that I can find. I’ve checked /etc/httpd/logs/errorlog, /etc/httpd/logs/sslerror_log, and even /var/log/messages. Also checked MariaDB just to be sure.
There are no errors. The only thing Apache says is when I restarted it after the fact.
I’m not sure if it could be due to memory, but I’ve checked the memory usage right around when it happens, and haven’t noticed anything out of the ordinary.
I’m just not sure how to track this down. Any help would be appreciated.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.