Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member big_bull's Avatar
    Join Date
    Nov 2006
    Posts
    148
    cPanel/Enkompass Access Level

    Root Administrator

    Default Server Overloading always

    Hello,

    One of my servers is overloading always.

    Following is top output.

    root@abc [~]# top
    top - 05:15:41 up 17 days, 23:54, 3 users, load average: 6.18, 5.33, 4.87
    Tasks: 267 total, 11 running, 252 sleeping, 1 stopped, 3 zombie
    Cpu(s): 43.0%us, 24.6%sy, 0.0%ni, 6.3%id, 23.4%wa, 0.2%hi, 2.5%si, 0.0%st
    Mem: 4151128k total, 3903744k used, 247384k free, 392016k buffers
    Swap: 2096472k total, 84k used, 2096388k free, 2824348k cached

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    20548 mysql 15 0 103m 20m 4368 S 45.5 0.5 0:26.49 mysqld
    21371 cseman 17 0 111m 27m 7444 S 14.3 0.7 0:00.43 php5
    21348 hrmsys 18 0 30512 15m 6284 R 8.6 0.4 0:00.26 php5
    21354 almo 15 0 102m 17m 7012 S 5.0 0.4 0:00.15 php5
    21355 almo 16 0 102m 17m 7052 R 4.3 0.4 0:00.13 php5
    19894 asraes 15 0 101m 16m 6988 S 2.3 0.4 0:04.69 php5
    19873 asraes 15 0 101m 16m 7004 S 1.7 0.4 0:04.06 php5
    21357 tedcyuc 18 0 100m 15m 6800 R 1.3 0.4 0:00.04 php5
    23124 remixfor 17 0 0 0 0 Z 7.0 0.0 0:00.21 php5 <defunct>

    seems issue with apache compiled.

    Please assist.
    “I am easily satisfied with the very best.”

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Mar 2003
    Location
    NC
    Posts
    725
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Why do you think it is your apache compile?


    Cpu(s): 43.0%us, 24.6%sy, 0.0%ni, 6.3%id, 23.4%wa, 0.2%hi, 2.5%si, 0.0%st

    23% of your load is being cause by waiting on the hard drive. That snapshot may not be indicative of how it normally runs but I would watch the IO on your server. If it stays up high and nothing is wrong like a failing disk you should try to reduce the IO. One of the easiest things is noatime and depending on your drive configuration moving MySQL to another drive.

  3. #3
    Member big_bull's Avatar
    Join Date
    Nov 2006
    Posts
    148
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Its just because I am getting alerts like this

    Account: XXXX
    Resource: Virtual Memory Size
    Exceeded: 103 > 100 (MB)
    Executable: /usr/local/cpanel/cgi-sys/php5
    Command Line: php5
    PID: 1235
    Killed: No

    and

    Current Configuration is

    Option Configured Value
    Default PHP Version (.php files) 5
    PHP 5 Handler cgi
    PHP 4 Handler none

    Apache suEXEC on
    “I am easily satisfied with the very best.”

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Mar 2003
    Location
    NC
    Posts
    725
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    That does not mean the server is overloading. You have a script monitoring how much memory everything takes up and apparently a cPanel php process is taking too much up for it. When you get it you should login and see if you are able to see what it is doing. It is something related to php and cPanel.

  5. #5
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

  6. #6
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Exclamation

    Big_Bull, you are discussing two totally distinct and separate issues.

    Now regarding the loading issue, I can help you get to the bottom of that
    and also optimize your system where needed. There also may be additional factors such as things not being compiled correctly for your hardware, problems with your hard drive or controller interface, etc and I can help diagnose those issues as well.

    Now regarding the second item you mentioned with the virtual memory
    alert, that is more of a simple configuration issue with LFD (CSF).

Similar Threads & Tags
Similar threads

  1. Problems with Google Bot Overloading Server
    By wrender in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-12-2011, 12:17 AM
  2. Server Overloading...
    By oscarfish in forum Optimization
    Replies: 19
    Last Post: 05-29-2010, 06:58 AM
  3. Dedicated server keeps on overloading
    By bokhove2 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-28-2005, 11:30 AM
  4. 1 user - many spamd processes overloading server
    By EMS in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-25-2005, 09:05 AM
  5. Exim overloading server
    By AbeFroman in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-24-2004, 09:41 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube