Any advice to locate the root cause of my issue would be fantastic as my web server has randomly gone offline again.
I'm running the latest version of CloudLinux + Plesk 12.5 with all updates installed (stable branches).
My website can run for 18 hours, then all sites hosted on my machine just vanish off the internet. I have checked LVE and it now only reports NO ACTIVITY and according to services, Apache, Nginx and MySQL are running. I can login to my Plesk panel without any issues, the machine is up.
Eventually after say 30 minutes, the site comes back online. Then go offline, and come back again.
My logs in Plesk are showing no activity whilst the site vanishes and no errors reported.
Well, that sounds strange. Especially if you are able to connect to Plesk panel while websites are offline. So.. things to check next time it happens:
- telnet to port 80 from outside
- telnet to port 80 from same server
- check apache status page
- check apache error_logs
But... is it same for the rest of internet or is it just you \'banned\' by some smart security tool? Can you check from other locations or with websites like tools.pingdom.com ?
It seems to affect the entire internet as even pingdom reports as down, I also keep getting server outage warnings from statuscake.
telnet to port 80 from outside - no response.
telnet to port 80 from same server - seems fine.
check apache status page - all up and running.
check apache error_logs - nothing apart from access records and the odd 500 warning.
However, my plesk admin panel is getting slower and slower the longer the sites are down. It\'s almost as if the server is about to crash completely.
I ran the \'top\' command in telnet and cpu usage and memory is fine.
What I have discovered is that Apache (HTTPD) processes are constantly starting and stopping in some crazy loop?
The last error 500 was a while back, and doesn\'t seem to be linked with the problem:
2016-04-13 10:47:07 Error 18.104.22.168 500 GET /basketItem/create?menu_item=13&_=1460558833043 HTTP/1.0
Why do you think apache processes are constanly restarting? I noticed the httpd was the highest user of RAM and CPU and its runtime never exceeded 29 seconds before closing, then it would appear again after a few seconds, starting at 1 seconds.
Unfortunately really we have no ideas why this is happening. We would need to install some simple monitoring script to collect basic stats but also apache status page to identify a bottleneck. Please create support ticket at https://helpdesk.cloudlinux.com/ .
There are no replies made for this post yet. Be one of the first to reply to this post!