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 crawl everytime it boots

Discussion in 'General Discussion' started by doct66, Feb 13, 2005.

  1. doct66

    doct66 Member

    Joined:
    Dec 17, 2003
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    This server is serving static files for months and since last night it slow down to crawl like heel. Http is responding(slow) and webpage can open but everytime I tried to connect ssh, the screen just freez there without and timeout message or anything. Ftp freezes too. The only way to ssh is to reboot the machine and right after it comes alive, I need to quickly ssh into the box and stop http. This has to be done about 3-5 times before I can get ssh operational. If I turn on httpd again in ssh, cpu usage will fly up to maximum and in less than 3 seconds, ssh freezes again and I will need to do the whole process in order to ssh in.

    Http was optimized and apf was installed months ago when I setup the box initially. System log shows nothing specious except some tcp drop by firewall. The only recent change was upgrade cpanel from 9.x to 10. I am so desperate. Please help.



    20:10:36 up 7 min, 1 user, load average: 2.40, 0.66, 0.27
    170 processes: 83 sleeping, 87 running, 0 zombie, 0 stopped
    CPU states: cpu user nice system irq softirq iowait idle
    total 183.2% 0.0% 14.2% 0.2% 1.8% 0.0% 0.0%
    cpu00 91.2% 0.0% 6.5% 0.3% 1.7% 0.0% 0.0%
    cpu01 92.0% 0.0% 7.7% 0.0% 0.1% 0.0% 0.0%
    Mem: 2054976k av, 895984k used, 1158992k free, 0k shrd, 109460k buff
    456644k active, 16412k inactive
    Swap: 2040212k av, 0k used, 2040212k free 67480k cached

    PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
    2928 root 15 0 4552 4552 3180 S 196.8 0.2 0:23 0 httpd
    2946 root 15 0 1224 1224 912 R 0.3 0.0 0:00 0 top
    1633 root 15 0 2096 2096 1700 S 0.1 0.1 0:00 1 sshd
    2934 root 15 0 2564 2564 1612 S 0.1 0.1 0:00 0 pennywize.cgi
    1 root 15 0 516 516 456 S 0.0 0.0 0:04 1 init
    2 root RT 0 0 0 0 SW 0.0 0.0 0:00 0 migration/0
    3 root RT 0 0 0 0 SW 0.0 0.0 0:00 1 migration/1
    4 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 keventd
    5 root 34 19 0 0 0 SWN 0.0 0.0 0:00 0 ksoftirqd/0
    6 root 39 19 0 0 0 SWN 0.0 0.0 0:00 1 ksoftirqd/1
    9 root 25 0 0 0 0 SW 0.0 0.0 0:00 1 bdflush
    7 root 15 0 0 0 0 SW 0.0 0.0 0:00 1 kswapd
    8 root 15 0 0 0 0 SW 0.0 0.0 0:00 1 kscand
    10 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kupdated
    11 root 25 0 0 0 0 SW 0.0 0.0 0:00 0 mdrecoveryd
     
    #1 doct66, Feb 13, 2005
    Last edited: Feb 13, 2005
  2. Alexandre Duran

    Alexandre Duran Well-Known Member

    Joined:
    May 6, 2003
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Rio de Janeiro - BRAZIL
    87 processs running ? :eek:

    Please past here the complete ps -aux command.

    The apache take to much cpu :

    2928 root 15 0 4552 4552 3180 S 196.8 0.2 0:23 0 httpd

    Try to execute:

    netstat -an | grep :80 | grep SYN_RECV | more

    and past de results here
     
Loading...

Share This Page