• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

High CPU due to scripts.. How to find.

H

Hank

Guest
Hey guys, My server has been getting extremely high CPU loads lately. And I've been told it's because of a script since MySQL is hitting httpd way hard. Here is top:

09:10:46 up 13:35, 1 user, load average: 13.75, 9.54, 7.57
216 processes: 205 sleeping, 9 running, 2 zombie, 0 stopped
CPU0 states: 59.0% user 40.0% system 44.0% nice 0.0% iowait 0.0% idle
CPU1 states: 50.0% user 50.0% system 50.0% nice 0.0% iowait 0.0% idle
CPU2 states: 42.0% user 57.0% system 42.0% nice 0.0% iowait 0.0% idle
CPU3 states: 50.0% user 50.0% system 36.0% nice 0.0% iowait 0.0% idle
Mem: 12136820k av, 11925060k used, 211760k free, 0k shrd, 1837956k buff
5796564k active, 4617028k inactive
Swap: 12582224k av, 1707872k used, 10874352k free 5057796k cached

PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
12481 mysql 13 6 9244 9240 2360 S N 99.9 0.0 0:01 0 mysqld
21188 root 8 4 9716 9712 9628 S N 24.5 0.0 1:18 2 httpd


I don't really know where to go. Can someone please help me.
 
Back
Top