Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Server Overload ( not the ones you usually see )

Discussion in 'General Discussion' started by danielaugustus, Nov 11, 2003.

  1. danielaugustus

    danielaugustus Well-Known Member

    Joined:
    Oct 15, 2003
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    156
    17:48:48 up 1:02, 1 user, load average: 2.84, 7.67, 21.73
    40 processes: 38 sleeping, 2 running, 0 zombie, 0 stopped
    CPU states: 0.0% user 0.2% system 0.0% nice 0.0% iowait 99.8% idle
    Mem: 1022796k av, 252776k used, 770020k free, 0k shrd, 16416k buff
    167652k actv, 19992k in_d, 3784k in_c
    Swap: 2048276k av, 6756k used, 2041520k free 188480k cached


    Pretty interisting right ?

    I have only 40 process, Apache, MySQL,cPanel and the most consumers are out of there. But I still get this. How can this be possible ?

    When I turn on the server load get on 150.

    Does anyone can explain this strange behavior ?
     
  2. Website Rob

    Website Rob Well-Known Member

    Joined:
    Mar 23, 2002
    Messages:
    1,504
    Likes Received:
    1
    Trophy Points:
    318
    Location:
    Alberta, Canada
    cPanel Access Level:
    Root Administrator
    First off, a Server using WHM should have min. 68 processes and more likely above 80 running.

    Second, try using

    tail -f /usr/local/apache/logs/suexec_log

    and see if you can determine what cig scripts are being called. You could have a runaway PHP script or hidden process and would need to use other measures to find those.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. danielaugustus

    danielaugustus Well-Known Member

    Joined:
    Oct 15, 2003
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    156
    Thanks Rob. As I said I stopped a lot of services. Including cPanel.

    I think the most probable would be that. I started looking into logs deeper. I found was a bugged PHP script out of control. Taking server load to 150 sometimes.

    Thanks for the light ROb
     
  4. Website Rob

    Website Rob Well-Known Member

    Joined:
    Mar 23, 2002
    Messages:
    1,504
    Likes Received:
    1
    Trophy Points:
    318
    Location:
    Alberta, Canada
    cPanel Access Level:
    Root Administrator
    Your welcome for the help. Care to share how you found the runaway process?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice