Results 1 to 13 of 13

Thread: Server Load

  1. #1

    * Server Load

    Hi all WHT members,

    I have a vps server. and I'm currently hosting around 20 websites. the most active one of them has 200 visitors/day. In the last couple of days I noticed that my server cpu usage is getting higher than normal (the normal was 0.0 to 0.5) but now it gets around 5.00 and I gett warning messages from ifd (High 5 minute load average alert). I ran the command top -b -i -n 20 >> /top_procs. but I can't see the one whos causing the issue. here are the results.

    PHP Code:
    top 00:12:59 up 4 min,  1 user,  load average1.711.180.52
    Tasks
    :  65 total,   1 running,  62 sleeping,   0 stopped,   2 zombie
    Cpu
    (s):  4.6us,  1.9sy,  0.0ni92.1id,  1.3wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   469520k used,  1103344k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND                                                                                                                         
     7181 root      15   0  1968  908  704 R  0.0  0.1   0
    :00.00 top                                                                                                                             


    top 
    00:13:02 up 4 min,  1 user,  load average1.571.160.52
    Tasks
    :  67 total,   1 running,  66 sleeping,   0 stopped,   0 zombie
    Cpu
    (s):  6.0us,  1.3sy,  0.0ni92.5id,  0.2wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   498980k used,  1073884k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND                                                                                                                         
     7181 root      15   0  1976  992  780 R  0.0  0.1   0
    :00.00 top                                                                                                                             


    top 
    00:13:05 up 4 min,  1 user,  load average1.571.160.52
    Tasks
    :  69 total,   1 running,  68 sleeping,   0 stopped,   0 zombie
    Cpu
    (s):  4.4us,  1.4sy,  0.0ni93.7id,  0.4wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   488684k used,  1084180k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND                                                                                                                         
     7181 root      15   0  1976  992  780 R  0.3  0.1   0
    :00.01 top                                                                                                                             


    top 
    00:13:08 up 4 min,  1 user,  load average1.451.140.51
    Tasks
    :  70 total,   1 running,  69 sleeping,   0 stopped,   0 zombie
    Cpu
    (s):  2.2us,  0.4sy,  0.0ni97.2id,  0.1wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   489900k used,  1082964k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND                                                                                                                         
     7181 root      15   0  1976  996  780 R  0.0  0.1   0
    :00.01 top                                                                                                                             


    top 
    00:13:11 up 5 min,  1 user,  load average1.411.140.52
    Tasks
    :  71 total,   1 running,  69 sleeping,   0 stopped,   1 zombie
    Cpu
    (s):  6.0us,  1.9sy,  0.0ni91.9id,  0.1wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   506104k used,  1066760k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND                                                                                                                         
     7181 root      15   0  1976  996  780 R  0.3  0.1   0
    :00.02 top                                                                                                                             


    top 
    00:13:14 up 5 min,  1 user,  load average1.411.140.52
    Tasks
    :  71 total,   2 running,  69 sleeping,   0 stopped,   0 zombie
    Cpu
    (s):  8.1us,  1.6sy,  0.0ni90.2id,  0.0wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   520360k used,  1052504k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND                                                                                                                         
     7181 root      15   0  1976  996  780 R  0.0  0.1   0
    :00.02 top                                                                                                                             
    11643 root      16   0  1616  528  440 R  0.0  0.0   0
    :00.05 syslogd                                                                                                                         


    top 
    00:13:17 up 5 min,  1 user,  load average1.301.120.51
    Tasks
    :  71 total,   3 running,  68 sleeping,   0 stopped,   0 zombie
    Cpu
    (s):  5.6us,  1.1sy,  0.0ni93.1id,  0.2wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   518732k used,  1054132k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND                                                                                                                         
    11318 wa6ny     16   0 24136  10m 5072 R  3.3  0.7   0
    :00.10 php                                                                                                                             
    11322 wa6ny     16   0 23856  10m 5064 R  3.3  0.7   0
    :00.10 php                                                                                                                             
     7181 root      15   0  1976  996  780 R  0.0  0.1   0
    :00.02 top                                                                                                                             
    11643 root      16   0  1616  528  440 D  0.0  0.0   0
    :00.05 syslogd                                                                                                                         


    top 
    00:13:20 up 5 min,  1 user,  load average1.301.120.51
    Tasks
    :  68 total,   1 running,  67 sleeping,   0 stopped,   0 zombie
    Cpu
    (s):  8.1us,  1.2sy,  0.0ni90.5id,  0.2wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   501060k used,  1071804k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND                                                                                                                         
     7181 root      15   0  1976  996  780 R  0.3  0.1   0
    :00.03 top                                                                                                                             


    top 
    00:13:23 up 5 min,  1 user,  load average1.271.120.52
    Tasks
    :  65 total,   1 running,  63 sleeping,   0 stopped,   1 zombie
    Cpu
    (s):  4.0us,  0.9sy,  0.0ni94.7id,  0.4wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   472472k used,  1100392k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND                                                                                                                         
     7181 root      15   0  1976  996  780 R  0.0  0.1   0
    :00.03 top                                                                                                                             


    top 
    00:13:26 up 5 min,  1 user,  load average1.251.120.52
    Tasks
    :  63 total,   1 running,  61 sleeping,   0 stopped,   1 zombie
    Cpu
    (s):  3.4us,  0.9sy,  0.0ni95.6id,  0.0wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   466636k used,  1106228k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND                                                                                                                         
     7181 root      15   0  1976  996  780 R  0.0  0.1   0
    :00.03 top                                                                                                                             


    top 
    00:13:29 up 5 min,  1 user,  load average1.251.120.52
    Tasks
    :  61 total,   1 running,  60 sleeping,   0 stopped,   0 zombie
    Cpu
    (s):  2.5us,  0.5sy,  0.0ni97.0id,  0.0wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   463720k used,  1109144k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND                                                                                                                         
     7181 root      15   0  1976  996  780 R  0.3  0.1   0
    :00.04 top                                                                                                                             


    top 
    00:13:32 up 5 min,  1 user,  load average1.151.100.52
    Tasks
    :  62 total,   1 running,  61 sleeping,   0 stopped,   0 zombie
    Cpu
    (s):  3.3us,  0.7sy,  0.0ni95.8id,  0.3wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   483316k used,  1089548k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND                                                                                                                         
     7181 root      15   0  1976  996  780 R  0.3  0.1   0
    :00.05 top                                                                                                                             
    12047 mailnull  16   0  8784 3224 1920 D  0.0  0.2   0
    :00.00 exim                                                                                                                            


    top 
    00:13:37 up 5 min,  1 user,  load average1.061.080.51
    Tasks
    :  61 total,   1 running,  60 sleeping,   0 stopped,   0 zombie
    Cpu
    (s):  0.8us,  0.4sy,  0.0ni98.7id,  0.0wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   463728k used,  1109136k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND                                                                                                                         
     7181 root      15   0  1976  996  780 R  0.0  0.1   0
    :00.05 top                                                                                                                             


    top 
    00:13:40 up 5 min,  1 user,  load average1.061.080.51
    Tasks
    :  63 total,   2 running,  61 sleeping,   0 stopped,   0 zombie
    Cpu
    (s):  7.3us,  2.2sy,  0.0ni90.4id,  0.0wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   488736k used,  1084128k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND                                                                                                                         
    13416 wa6ny     16   0 27744  14m 5392 R  7.0  0.9   0
    :00.21 php                                                                                                                             
     7181 root      15   0  1976  996  780 R  0.0  0.1   0
    :00.05 top                                                                                                                             


    top 
    00:13:43 up 5 min,  1 user,  load average1.211.110.53
    Tasks
    :  64 total,   2 running,  61 sleeping,   0 stopped,   1 zombie
    Cpu
    (s):  9.7us,  2.9sy,  0.0ni86.7id,  0.7wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   480708k used,  1092156k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND                                                                                                                         
     7181 root      15   0  1976  996  780 R  0.3  0.1   0
    :00.06 top                                                                                                                             
    13644 nobody    15   0 13124 3856  624 R  0.0  0.2   0
    :00.00 httpd                                                                                                                           


    top 
    00:13:46 up 5 min,  1 user,  load average1.361.140.54
    Tasks
    :  69 total,   4 running,  65 sleeping,   0 stopped,   0 zombie
    Cpu
    (s):  6.4us,  1.9sy,  0.0ni91.2id,  0.5wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   503924k used,  1068940k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND                                                                                                                         
    13704 zeraiahc  16   0 31764  19m 5992 R 24.8  1.3   0
    :00.75 php                                                                                                                             
     7181 root      15   0  1976  996  780 R  0.0  0.1   0
    :00.06 top                                                                                                                             
    13880 nobody    15   0 13124 4888 1712 R  0.0  0.3   0
    :00.00 httpd                                                                                                                           
    13921 mailnull  18   0  8504 2316 1124 R  0.0  0.1   0
    :00.00 exim                                                                                                                            


    top 
    00:13:49 up 5 min,  1 user,  load average1.361.140.54
    Tasks
    :  76 total,   1 running,  75 sleeping,   0 stopped,   0 zombie
    Cpu
    (s):  2.9us,  1.1sy,  0.0ni95.5id,  0.5wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   507644k used,  1065220k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND                                                                                                                         
     7181 root      15   0  1976  996  780 R  0.3  0.1   0
    :00.07 top                                                                                                                             


    top 
    00:13:52 up 5 min,  1 user,  load average1.251.120.54
    Tasks
    :  77 total,   1 running,  75 sleeping,   0 stopped,   1 zombie
    Cpu
    (s):  2.8us,  0.4sy,  0.0ni96.6id,  0.2wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   522136k used,  1050728k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND                                                                                                                         
     7181 root      15   0  1976  996  780 R  0.0  0.1   0
    :00.07 top                                                                                                                             


    top 
    00:13:55 up 5 min,  1 user,  load average1.251.120.54
    Tasks
    :  73 total,   1 running,  71 sleeping,   0 stopped,   1 zombie
    Cpu
    (s):  1.9us,  1.4sy,  0.0ni96.5id,  0.2wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   494268k used,  1078596k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND                                                                                                                         
     7181 root      15   0  1976  996  780 R  0.0  0.1   0
    :00.07 top                                                                                                                             


    top 
    00:13:58 up 5 min,  1 user,  load average1.151.100.53
    Tasks
    :  69 total,   3 running,  65 sleeping,   0 stopped,   1 zombie
    Cpu
    (s):  3.4us,  0.8sy,  0.0ni95.4id,  0.3wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   502532k used,  1070332k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND                                                                                                                         
    15550 zeraiahc  16   0 31568  19m 5960 R 20.3  1.3   0
    :00.61 php                                                                                                                             
     7181 root      15   0  1976  996  780 R  0.3  0.1   0
    :00.08 top                                                                                                                             
    11643 root      16   0  1616  528  440 R  0.0  0.0   0
    :00.05 syslogd                                                                                                                         

    top 
    16:20:21 up  9:01,  1 user,  load average4.292.783.39
    Tasks
    :  85 total,   6 running,  67 sleeping,   0 stopped,  12 zombie
    Cpu
    (s):  0.3us,  1.6sy,  5.7ni90.0id,  2.4wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   710960k used,   861904k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND            
    13776 albadyhc  19   4 26424  13m 5328 R  7.3  0.9   0
    :00.20 php                
    13809 shnelerc  22   4 20872 6660 3816 R  5.5  0.4   0
    :00.03 php                
    13808 shnelerc  20   4 16936 2036 1556 R  1.8  0.1   0
    :00.01 php                
    13772 albadyhc  19   4 26044  13m 5320 R  0.0  0.9   0
    :00.16 php                
    13799 root      15   0  1968  916  704 R  0.0  0.1   0
    :00.00 top                
    29987 root      15   0  9092 6320 2144 R  0.0  0.4   0
    :05.96 tailwatchd         


    top 
    16:20:24 up  9:01,  1 user,  load average4.502.853.41
    Tasks
    :  84 total,   4 running,  68 sleeping,   0 stopped,  12 zombie
    Cpu
    (s):  0.0us,  3.1sy17.6ni77.9id,  1.4wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   727660k used,   845204k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND            
    13822 shnelerc  19   4 28824  16m 5464 R  9.7  1.0   0
    :00.30 php                
    13772 albadyhc  19   4 27428  14m 5452 R  9.1  0.9   0
    :00.44 php                
    13999 alruqiah  19   4 25040  12m 5356 R  5.2  0.8   0
    :00.16 php                
    13799 root      15   0  1976 1000  780 R  0.0  0.1   0
    :00.00 top                


    top 
    16:20:27 up  9:01,  1 user,  load average4.502.853.41
    Tasks
    :  81 total,   1 running,  67 sleeping,   0 stopped,  13 zombie
    Cpu
    (s):  0.4us,  2.0sy,  6.8ni88.6id,  2.2wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   683524k used,   889340k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND            
    13799 root      15   0  1976 1000  780 R  0.3  0.1   0
    :00.01 top                


    top 
    16:20:30 up  9:01,  1 user,  load average4.142.803.39
    Tasks
    :  79 total,   2 running,  67 sleeping,   0 stopped,  10 zombie
    Cpu
    (s):  0.0us,  0.9sy,  4.0ni95.1id,  0.0wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   694700k used,   878164k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND            
    14176 albadyhc  19   4 27460  14m 5440 R  8.9  0.9   0
    :00.27 php                
    13799 root      15   0  1976 1000  780 R  0.0  0.1   0
    :00.01 top                


    top 
    16:20:33 up  9:01,  1 user,  load average3.892.773.37
    Tasks
    :  80 total,   2 running,  67 sleeping,   0 stopped,  11 zombie
    Cpu
    (s):  0.2us,  2.8sy,  6.8ni90.2id,  0.0wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   691204k used,   881660k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND            
    14290 shnelerc  22   4 23992  10m 4936 R  3.3  0.7   0
    :00.10 php                
    13799 root      15   0  1976 1000  780 R  0.3  0.1   0
    :00.02 top                


    top 
    16:20:36 up  9:01,  1 user,  load average3.892.773.37
    Tasks
    :  80 total,   1 running,  67 sleeping,   0 stopped,  12 zombie
    Cpu
    (s):  0.1us,  1.2sy,  7.0ni91.8id,  0.0wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   683584k used,   889280k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND            
    13799 root      15   0  1976 1000  780 R  0.3  0.1   0
    :00.03 top                


    top 
    16:20:39 up  9:01,  1 user,  load average3.582.733.35
    Tasks
    :  82 total,   2 running,  70 sleeping,   0 stopped,  10 zombie
    Cpu
    (s):  0.0us,  2.5sy,  7.6ni89.5id,  0.4wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   712960k used,   859904k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND            
    15911 albadyhc  22   4 16936 1712 1412 R  0.3  0.1   0
    :00.01 php                
    13799 root      15   0  1976 1000  780 R  0.0  0.1   0
    :00.03 top                


    top 
    16:20:42 up  9:01,  1 user,  load average3.582.733.35
    Tasks
    :  80 total,   3 running,  65 sleeping,   0 stopped,  12 zombie
    Cpu
    (s):  0.1us,  2.0sy10.7ni87.2id,  0.1wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   689344k used,   883520k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND            
    15933 shnelerc  20   4 30068  17m 5516 R 16.8  1.1   0
    :00.51 php                
    15989 alruqiah  22   4 18516 4096 2660 R  1.0  0.3   0
    :00.03 php                
    13799 root      15   0  1976 1000  780 R  0.0  0.1   0
    :00.03 top                


    top 
    16:20:45 up  9:01,  1 user,  load average3.452.713.35
    Tasks
    :  83 total,   3 running,  68 sleeping,   0 stopped,  12 zombie
    Cpu
    (s):  0.0us,  1.7sy,  8.8ni89.4id,  0.1wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   702632k used,   870232k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND            
    16055 zeraiahc  20   4 31192  18m 6004 R 19.1  1.2   0
    :00.58 php                
    16083 albadyhc  23   4 23216  10m 4924 R  3.0  0.7   0
    :00.09 php                
    13799 root      15   0  1976 1000  780 R  0.3  0.1   0
    :00.04 top                


    top 
    16:20:48 up  9:01,  1 user,  load average3.182.673.33
    Tasks
    :  85 total,   6 running,  68 sleeping,   0 stopped,  11 zombie
    Cpu
    (s):  0.1us,  1.3sy,  5.5ni93.0id,  0.1wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   718316k used,   854548k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND            
    16171 albadyhc  19   4 28584  15m 5472 R 12.8  1.0   0
    :00.39 php                
    16182 albadyhc  22   4 24772  11m 4920 R  4.0  0.7   0
    :00.12 php                
    16186 alruqiah  22   4 20300 5512 3160 R  1.0  0.4   0
    :00.03 php                
    26509 root      21   4 44996  36m 2792 R  0.3  2.4   0
    :38.25 httpd              
     7539 nobody    19   4 45536  36m 1876 R  0.0  2.4   0
    :00.78 httpd              
    13799 root      15   0  1976 1000  780 R  0.0  0.1   0
    :00.04 top                


    top 
    16:20:51 up  9:01,  1 user,  load average3.182.673.33
    Tasks
    :  88 total,   6 running,  70 sleeping,   0 stopped,  12 zombie
    Cpu
    (s):  0.2us,  4.4sy,  9.0ni86.5id,  0.0wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   767084k used,   805780k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND            
     9675 mysql     21   6  116m  98m 3976 R 17.2  6.4  31
    :08.63 mysqld             
    16234 albadyhc  19   4 26040  13m 5300 R  5.6  0.8   0
    :00.17 php                
    16254 shnelerc  22   4 24520  11m 5084 R  4.6  0.7   0
    :00.14 php                
    16267 shnelerc  22   4 23208 9760 4732 R  3.0  0.6   0
    :00.09 php                
    13799 root      15   0  1976 1000  780 R  0.3  0.1   0
    :00.05 top                
    16329 nobody    20   4     4    4    0 R  0.0  0.0   0
    :00.00 httpd              


    top 
    16:20:55 up  9:01,  1 user,  load average3.642.773.36
    Tasks
    :  85 total,   7 running,  68 sleeping,   0 stopped,  10 zombie
    Cpu
    (s):  0.0us,  5.2sy21.5ni73.3id,  0.0wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   775512k used,   797352k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND            
    16267 shnelerc  20   4 29028  16m 5464 R  8.8  1.1   0
    :00.36 php                
    16227 albadyhc  20   4 27184  14m 5432 R  8.5  0.9   0
    :00.42 php                
    16351 alruqiah  20   4 25316  12m 5324 R  4.9  0.8   0
    :00.15 php                
    16234 albadyhc  19   4 26300  13m 5412 R  2.0  0.9   0
    :00.23 php                
    13799 root      15   0  1976 1004  780 R  0.3  0.1   0
    :00.06 top                
    19573 nobody    20   4 45384  36m 1900 R  0.3  2.4   0
    :00.91 httpd              
    26509 root      19   4 44996  36m 2792 R  0.0  2.4   0
    :38.25 httpd              


    top 
    16:20:58 up  9:01,  1 user,  load average3.832.833.37
    Tasks
    :  88 total,   6 running,  70 sleeping,   0 stopped,  12 zombie
    Cpu
    (s):  0.3us,  4.6sy18.0ni77.1id,  0.1wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   737144k used,   835720k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND            
    17448 shnelerc  19   4 28512  15m 5364 R  8.2  1.0   0
    :00.25 php                
    17454 shnelerc  19   4 28252  15m 5412 R  7.9  1.0   0
    :00.24 php                
    17498 shnelerc  19   4 24512  11m 5096 R  4.6  0.7   0
    :00.14 php                
    13799 root      15   0  1976 1004  780 R  0.0  0.1   0
    :00.06 top                
    17691 albadyhc  20   4  2784 1252 1136 R  0.0  0.1   0
    :00.00 suphp              
    17695 shnelerc  22   4  2784 1252 1136 R  0.0  0.1   0
    :00.00 suphp              


    top 
    16:21:01 up  9:01,  1 user,  load average3.832.833.37
    Tasks
    :  89 total,   8 running,  70 sleeping,   0 stopped,  11 zombie
    Cpu
    (s):  0.0us,  4.2sy24.5ni71.2id,  0.0wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   770584k used,   802280k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND            
    17454 shnelerc  20   4 29940  17m 5512 R 12.6  1.1   0
    :00.62 php                
    17735 shnelerc  19   4 27468  14m 5408 R  7.0  1.0   0
    :00.21 php                
    17720 albadyhc  20   4 26184  13m 5308 R  6.3  0.9   0
    :00.19 php                
    17498 shnelerc  19   4 29820  16m 5468 R  5.7  1.1   0
    :00.31 php                
    17691 albadyhc  19   4 25404  12m 5344 R  5.7  0.8   0
    :00.17 php                
    17805 albadyhc  22   4 21400 7720 4292 R  1.7  0.5   0
    :00.05 php                
    17784 zeraiahc  22   4 20608 6312 3660 R  1.3  0.4   0
    :00.04 php                
    13799 root      15   0  1976 1004  780 R  0.3  0.1   0
    :00.07 top                


    top 
    16:21:04 up  9:01,  1 user,  load average4.002.883.39
    Tasks
    :  91 total,   7 running,  73 sleeping,   0 stopped,  11 zombie
    Cpu
    (s):  0.5us,  7.1sy26.8ni65.6id,  0.0wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   763392k used,   809472k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND            
    17454 shnelerc  19   4 30976  17m 5528 R 12.1  1.2   0
    :00.99 php                
    17695 shnelerc  20   4 29976  17m 5496 R 10.5  1.1   0
    :00.57 php                
    18185 albadyhc  22   4 18516 4444 2764 R  1.0  0.3   0
    :00.03 php                
    13799 root      15   0  1976 1004  780 R  0.0  0.1   0
    :00.07 top                
    14210 nobody    19   4 45376  36m 1880 R  0.0  2.4   0
    :00.60 httpd              
    16089 goldenes  21   4 23612  10m 5240 R  0.0  0.7   0
    :00.12 php                
    18190 alruqiah  22   4  2784 1248 1136 R  0.0  0.1   0
    :00.00 suphp              


    top 
    16:21:07 up  9:01,  1 user,  load average4.002.883.39
    Tasks
    :  91 total,   7 running,  73 sleeping,   0 stopped,  11 zombie
    Cpu
    (s):  0.0us,  6.0sy27.2ni64.1id,  2.6wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   755124k used,   817740k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND            
    17784 zeraiahc  19   4 30784  18m 5700 R  7.0  1.2   0
    :00.47 php                
    17920 shnelerc  19   4     0    0    0 R  6.7  0.0   0
    :00.38 php                
    18185 albadyhc  22   4 25272  12m 5304 R  4.0  0.8   0
    :00.15 php                
    17805 albadyhc  19   4 26952  14m 5436 R  3.0  0.9   0
    :00.26 php                
    18248 albadyhc  22   4 20872 6980 4068 R  1.3  0.4   0
    :00.04 php                
     5578 mailnull  16   0  8620 4036 2720 R  0.0  0.3   0
    :00.10 exim               
    13799 root      15   0  1976 1004  780 R  0.0  0.1   0
    :00.07 top                


    top 
    16:21:10 up  9:01,  1 user,  load average4.563.013.43
    Tasks
    :  89 total,   8 running,  71 sleeping,   0 stopped,  10 zombie
    Cpu
    (s):  0.3us,  8.2sy23.6ni67.9id,  0.0wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   767176k used,   805688k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND            
    18260 shnelerc  19   4 28516  15m 5412 R  8.0  1.0   0
    :00.25 php                
    18259 shnelerc  19   4 27996  14m 5348 R  6.7  1.0   0
    :00.21 php                
    17805 albadyhc  20   4 19080 7752 5044 R  4.8  0.5   0
    :00.41 php                
    18329 shnelerc  22   4 23740  10m 4936 R  3.5  0.7   0
    :00.11 php                
    18225 albadyhc  19   4 26304  13m 5376 R  1.3  0.9   0
    :00.20 php                
    18352 goldenes  20   4 18516 4292 2696 R  1.0  0.3   0
    :00.03 php                
    13799 root      15   0  1976 1004  780 R  0.3  0.1   0
    :00.08 top                
    22450 root      23   8 31360  28m 2508 R  0.0  1.8   0
    :03.05 spamd              


    top 
    16:21:13 up  9:01,  1 user,  load average5.003.133.46
    Tasks
    :  89 total,   8 running,  71 sleeping,   0 stopped,  10 zombie
    Cpu
    (s):  0.2us,  7.6sy29.4ni62.0id,  0.8wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   768820k used,   804044k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND            
    18260 shnelerc  20   4 30460  17m 5500 R  8.1  1.1   0
    :00.50 php                
    18329 shnelerc  19   4 29040  15m 5480 R  7.1  1.0   0
    :00.33 php                
    18225 albadyhc  20   4 28552  15m 5488 R  6.5  1.0   0
    :00.40 php                
    18414 shnelerc  22   4 23208 9.8m 4732 R  2.9  0.6   0
    :00.09 php                
    18248 albadyhc  19   4 26700  13m 5416 R  2.3  0.9   0
    :00.23 php                
    19458 shnelerc  21   4 18516 3564 2560 R  0.6  0.2   0
    :00.02 php                
    23571 nobody    21   4 45512  36m 1900 R  0.6  2.4   0
    :01.04 httpd              
    13799 root      15   0  1976 1004  780 R  0.3  0.1   0
    :00.09 top                


    top 
    16:21:16 up  9:01,  1 user,  load average5.003.133.46
    Tasks
    :  86 total,   2 running,  73 sleeping,   0 stopped,  11 zombie
    Cpu
    (s):  0.1us,  3.0sy18.3ni78.2id,  0.4wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   745060k used,   827804k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND            
    19458 shnelerc  19   4 29036  16m 5476 R 11.6  1.1   0
    :00.37 php                
    13799 root      15   0  1976 1004  780 R  0.0  0.1   0
    :00.09 top                


    top 
    16:21:19 up  9:01,  1 user,  load average4.763.113.45
    Tasks
    :  84 total,   4 running,  69 sleeping,   0 stopped,  11 zombie
    Cpu
    (s):  0.1us,  0.9sy,  9.4ni89.3id,  0.2wa,  0.0hi,  0.0si
    Mem
    :   1572864k total,   717636k used,   855228k free,        0k buffers
    Swap
    :        0k total,        0k used,        0k free,        0k cached

      PID USER      PR  NI  VIRT  RES  SHR S 
    %CPU %MEM    TIME+  COMMAND            
    19597 shnelerc  23   4 23208 9116 4620 R  2.7  0.6   0
    :00.08 php                
    13799 root      15   0  1976 1004  780 R  0.3  0.1   0
    :00.10 top                
    18120 nobody    19   4 45400  36m 1720 R  0.0  2.4   0
    :00.04 httpd              
    18352 goldenes  21   4 23612  10m 5240 R  0.0  0.7   0
    :00.12 php 
    Can anyone help me on this. thanks in advance.

  2. #2
    Join Date
    Dec 2007
    Location
    Indiana, USA
    Posts
    19,196
    Well you didn't allow enough lines in the output to be able to see anything useful. Any particular reason you didn't just run "top" and then watch to see who was abusing?
    Michael Denney - MDDHosting.com - Proudly hosting more than 37,700 websites since 2007.
    Ultra-Fast Cloud Shared and Pay-By-Use Reseller Hosting Powered by LiteSpeed!
    cPanel • Free SSL • 100% Uptime SLA • 24/7 Support
    Class-leading support that responds in minutes, not days.

  3. #3
    Join Date
    Mar 2009
    Posts
    2,222
    Quote Originally Posted by skmd View Post
    Hi all WHT members,

    I have a vps server. and I'm currently hosting around 20 websites. the most active one of them has 200 visitors/day. In the last couple of days I noticed that my server cpu usage is getting higher than normal (the normal was 0.0 to 0.5) but now it gets around 5.00 and I gett warning messages from ifd (High 5 minute load average alert).
    That's "load", not CPU usage. "Load" is the number of active processes; on a system where the critical limit is I/O, load can go high even though the CPU is idle most of the time.

    See the example below from your list of results ... load of 5, even though the CPU is idle 62% of the time, and half the memory is free. But at times there were 8 running processes, which is why load was higher.

    Can you find out if it's only your VPS affected or other VPS systems on the same server?

    >>>>

    top - 16:21:13 up 9:01, 1 user, load average: 5.00, 3.13, 3.46
    Tasks: 89 total, 8 running, 71 sleeping, 0 stopped, 10 zombie
    Cpu(s): 0.2% us, 7.6% sy, 29.4% ni, 62.0% id, 0.8% wa, 0.0% hi, 0.0% si
    Mem: 1572864k total, 768820k used, 804044k free, 0k buffers
    Swap: 0k total, 0k used, 0k free, 0k cached

    ...

  4. #4
    Can you find out if it's only your VPS affected or other VPS systems on the same server?
    thank you, but how would I know?

  5. #5
    Join Date
    Feb 2002
    Location
    127.0.0.1
    Posts
    437
    Looks like it is being caused by some PHP scripts. It's not 100% clear from the details you provided but during the times of high load User: shnelerc seems to be generating above average CPU.

    I would investigate that site and see if any of the PHP scripts they are using are running inefficiently.
    Regards,
    Ronan
    Pairone Networks Ltd
    Cloud Hosting @www.pair1.ie

  6. #6
    Join Date
    Mar 2009
    Location
    CA
    Posts
    9,350
    top is a super nice command, i love using it! As Mike mentioned give that a shot!
    〓〓 RackNerd LLC - Introducing Infrastructure Stability
    〓〓 Dedicated Servers, Private Cloud, DRaaS, Colocation, VPS, DDoS Mitigation, Shared & Reseller Hosting
    〓〓 www.linkedin.com/in/dustincisneros/
    〓〓 My fancy email dustin@racknerd.com

  7. #7
    Quote Originally Posted by semoweb View Post
    top is a super nice command, i love using it! As Mike mentioned give that a shot!
    The command I used is "top". its just tell TOP to run in "batch" mode (not look for any user input), show only running processes, loop 20 times, and append the output to the file /top_procs

  8. #8
    Join Date
    Dec 2007
    Location
    Indiana, USA
    Posts
    19,196
    Quote Originally Posted by skmd View Post
    The command I used is "top". its just tell TOP to run in "batch" mode (not look for any user input), show only running processes, loop 20 times, and append the output to the file /top_procs
    Yeah, however you're trimming the output too much so it's not really providing anything useful.

    Change -n 20 to something like -n 25~30.
    Michael Denney - MDDHosting.com - Proudly hosting more than 37,700 websites since 2007.
    Ultra-Fast Cloud Shared and Pay-By-Use Reseller Hosting Powered by LiteSpeed!
    cPanel • Free SSL • 100% Uptime SLA • 24/7 Support
    Class-leading support that responds in minutes, not days.

  9. #9
    Join Date
    Dec 2007
    Location
    Indiana, USA
    Posts
    19,196
    Quote Originally Posted by MikeDVB View Post
    Yeah, however you're trimming the output too much so it's not really providing anything useful.

    Change -n 20 to something like -n 25~30.
    D'oh, I must be out of it today - I've just never seen a TOP report only showing the top few lines, usually Linux servers are going to have a few dozen processes. Did you trim some of the results out? (I was thinking something like head -n 20 instead of how -n applies to a batch top) sorry
    Michael Denney - MDDHosting.com - Proudly hosting more than 37,700 websites since 2007.
    Ultra-Fast Cloud Shared and Pay-By-Use Reseller Hosting Powered by LiteSpeed!
    cPanel • Free SSL • 100% Uptime SLA • 24/7 Support
    Class-leading support that responds in minutes, not days.

  10. #10
    Join Date
    Mar 2009
    Posts
    2,222
    Quote Originally Posted by MikeDVB View Post
    D'oh, I must be out of it today - I've just never seen a TOP report only showing the top few lines, usually Linux servers are going to have a few dozen processes. Did you trim some of the results out? (I was thinking something like head -n 20 instead of how -n applies to a batch top) sorry
    I guess that's the "-i" parameter ignoring idle processes ... so the httpd process is not showing most of the time.

    Looking again, when load is higher, then the memory used is around 700mb

    So: what is the memory setup on the VPS? Does it have 700mb or more of dedicated RAM?

    And what's using the 700MB? It's not the processes listed by "top", so it must be idle processes. Is the memory use a result of httpd settings? Maybe there's a keepalive setting set to a longish value, which is causing idle process to occupy RAM.

    I'd run top again and have it include idle processes to see what their memory consumption is. Then see if I could modify httpd settings to reduce the number of idle processes, with the aim of reducing the peak memory usage to below the dedicated RAM of the VPS.

  11. #11
    My memory setup is 768 MB Guaranteed (1.5 GB Burst RAM).
    Yes the command I used ignores idle processes.

  12. #12
    Join Date
    Nov 2005
    Location
    /etc/fstab
    Posts
    1,342
    Quote Originally Posted by skmd View Post
    My memory setup is 768 MB Guaranteed (1.5 GB Burst RAM).
    Yes the command I used ignores idle processes.
    Number of newly created process can significantly change the CPU load. CPU load parameter itself a "vulnerable" way to understand your cpu usage from my sense. Although, for your situation, you should probably talk with your VPS provider to check the load, it seems pretty unusual to me.

    Can you find out if it's only your VPS affected or other VPS systems on the same server?
    I would probably ask the same question. You should try checking if your provider is running some sort of container backups, that can significantly change the CPU load parameter.
    Mellowhost - Providing High Quality Web Hosting Services since 2007
    SSD Cpanel Shared, SSD OpenVZ & KVM VPS Hosting
    A Hosting Provider with Complete SSD VPS & Shared Hosting.

  13. #13
    Join Date
    Aug 2003
    Location
    East Coast
    Posts
    2,082
    If you are on an openvz node it's possible that the node is oversubscribed

Similar Threads

  1. Can someone explain the difference Server load & CPU load?
    By messa in forum Hosting Security and Technology
    Replies: 5
    Last Post: 10-08-2006, 03:23 PM
  2. What is my server load ? Load Balancing ?
    By generouswebhostin in forum Web Hosting Tutorials
    Replies: 22
    Last Post: 09-17-2006, 03:55 AM
  3. My server load is low but my site is taking VERY long to load.
    By xlogger in forum Hosting Security and Technology
    Replies: 6
    Last Post: 12-18-2005, 05:33 PM
  4. Server load not very high but pages load slowly
    By singtel22 in forum Hosting Security and Technology
    Replies: 17
    Last Post: 01-27-2005, 02:43 PM
  5. Replies: 11
    Last Post: 07-29-2003, 06:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •