The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Server Slow Down

Discussion in 'General Discussion' started by netnameus, Sep 11, 2006.

  1. netnameus

    netnameus Well-Known Member

    Joined:
    Mar 7, 2004
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    Ok, I know that this could be one of a million things, but I hope maybe some here can give me any useful suggestions you may have.

    I have noticed that my server has "slowed down" over the past few days. By slow down I mean

    1. Takes about 17 seconds afer I login to SSH and enter my password, for the prompt to show. It used to be like 1 second
    2. Scripts that have an "execution time" at the bottom that used to take .5 seconds, now take 10 seconds
    3. 59 sql queries take 5 seconds, before it was like .00001 seconds

    Here's my top information:
    top - 22:56:54 up 3 days, 36 min, 1 user, load average: 0.42, 0.18, 0.13
    Tasks: 80 total, 3 running, 77 sleeping, 0 stopped, 0 zombie
    Cpu(s): 0.7% us, 0.3% sy, 0.0% ni, 98.7% id, 0.3% wa, 0.0% hi, 0.0% si
    Mem: 1551532k total, 1513024k used, 38508k free, 189864k buffers
    Swap: 2096472k total, 159540k used, 1936932k free, 603320k cached
    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    28226 nobody 15 0 27152 17m 18m S 23.4 1.1 0:02.96 httpd


    my httpd command always seems to be the highest memory usage, here at 23.4% as you can see!

    My maillog (/var/log/exim_log) is not showing anything out of the ordinary.

    Again, this is "slow" in comparison to what it has been for the past 1+ year....

    Thanks in advanced.
     
  2. netnameus

    netnameus Well-Known Member

    Joined:
    Mar 7, 2004
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    anyone have any ideas?
     
  3. pqhost

    pqhost Member

    Joined:
    Mar 17, 2004
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    0
    noone ever answers these questions!
     
  4. bhd

    bhd Well-Known Member

    Joined:
    Sep 20, 2003
    Messages:
    149
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    JNB ZA
    cPanel Access Level:
    Root Administrator
    fwiw we have one server doing the same thing. Load is fine, resolvers are woking fine and it's almost 100% vanilla flavor ... the thing is just slow as mud.

    With us it happened around the 10.8.x update. Still have no clue what it is though.
     
  5. nyjimbo

    nyjimbo Well-Known Member

    Joined:
    Jan 25, 2003
    Messages:
    1,125
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    New York
    "28226 nobody 15 0 27152 17m 18m S 23.4 1.1 0:02.96 httpd"

    You need to check more stuff. Like the above httpd process should also be visible in the Apache Status in WHM. The PID should show more info on what page or function is being run.

    Also did you update or install mod_security recently ?. Sometimes a long modsec.conf file will drive a server into the ground.
     
  6. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
    Check /var/log/messages for any messages about large files or file limits? If so, check your domlogs, you may have a file somewhere topping 2 gig which will slow things to a crawl.
     
Loading...

Share This Page