• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Strange CPU / processes behaviour

NYCreate

New Pleskian
Hi all...
Im very inexperienced with plesk and linux but Ive started to get some really strange behaviour happening at the same time every other day, and I havent got a clue how to diagnose or locate the problem.. can someone please point me in the right direction because this is killing the server every time it happens..

couple of CPU graphs attached to highlight the prob.

Ive looked in apache and nginx error logs but nothing obvious.

Thanks.
 

Attachments

  • server.png
    server.png
    48.4 KB · Views: 10
  • server2.png
    server2.png
    53.1 KB · Views: 8
Last edited:
It's best to run top to know exactly what is happening ..

Code:
top

You may also Investigate the cause of high CPU usage on Apache or Nginx ..

Try by:

Getting Connections on Port80

Code:
netstat -tulpn| grep :80
Code:
netstat -lnp | grep ':80'

No. of Active Connections

Code:
netstat -n | grep :80 |wc -l

List ALL IPs in active connections with the number of connections

Code:
netstat -apn|grep :80 |awk '{print $5}'|sort

Optimization of Apache

Code:
vi /etc/httpd/conf/httpd.conf

For the best performance on most websites leave,
Code:
KeepAlive On
KeepAliveTimeout to 1 or 2 seconds
If in the above you are dos-attacked, then you can block the IPs dosing you in your firewall. And if you have CSF already running, then just enable

Code:
SYNFLOOD = "1"
 
Hi Thanks for this..

Using top during the unusual event and during normal running doesnt show anything thats different, ie all processes are round about the same. Top does not seem to show the same as the graph?

Cpu(s): 0.0%us, 0.0%sy, 0.0%ni, 97.9%id, 0.0%wa, 1.5%hi, 0.5%si, 0.0%st
where as the graph would show a much lower % idle etc

Number of active connections at this time is 4 from 2 IPS

I check the IPs and both seem like normal traffic.
I also get loads of server emails saying services are down and restarted etc.

Im still stumped as to whats doing this, but its affection my clients now as they have noticed their sites are almost unusable during one of these events for up to 4 hours at a time. not good :-(

Any other suggestions please?
Todays CPU event attached.

Thanks in advance
 

Attachments

  • server31-7-12.png
    server31-7-12.png
    53.3 KB · Views: 3
Last edited:
Friendly BUMP ^^ still causing me severe issues every day now :-( also blocked processes seem to jump big time when this is happening? not a clue whats going on.

Thanks in advance
 
Back
Top