Forum
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and Plesk
  1. Jordan Dyckes
  2. Wednesday, April 13, 2016
  3.  Subscribe via email
Plesk is still responding but all sites just go offline with error 522
Rate this post:
  1. 13.04.2016 12:04:34
  2. # 1
Jordan Dyckes Accepted Answer
Posts: 5
Joined: 13.04.2016
0
Votes
Undo
Hey Guys,

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.

Regards, Jordan
  1. 13.04.2016 13:04:20
  2. # 2
Bogdan Accepted Answer
Posts: 709
Joined: 26.06.2013
0
Votes
Undo
Hi,

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 ?
  1. 13.04.2016 13:04:06
  2. # 3
Jordan Dyckes Accepted Answer
Posts: 5
Joined: 13.04.2016
0
Votes
Undo
Hi,

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?
  1. 13.04.2016 14:04:22
  2. # 4
Bogdan Accepted Answer
Posts: 709
Joined: 26.06.2013
0
Votes
Undo
Show us some 500 warnings from error_log . But also I would like to see a top header when issue is happening.

Why do you think apache processes are constanly restarting?
  1. 13.04.2016 14:04:29
  2. # 5
Jordan Dyckes Accepted Answer
Posts: 5
Joined: 13.04.2016
0
Votes
Undo
I have rebooted the server and now the error logging has started reporting errors when accessing the site:

Extract of the error log - http://pastebin.com/3Fwtkgme (expires in 24 hours)

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 162.158.153.4 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.
  1. 19.04.2016 03:04:19
  2. # 6
Bogdan Accepted Answer
Posts: 709
Joined: 26.06.2013
0
Votes
Undo
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/ .
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Remove Upload Files (Maximum File Size: 2 MB)
You may insert polls into your post. The poll would then appear in the post.
Vote Options
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.