1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice

High CPU due to scripts.. How to find.

Discussion in 'Plesk for Linux - 8.x and Older' started by Hank, May 27, 2005.

  1. Hank

    Hank Guest

    0
     
    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.
     
Loading...