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 so slow, load average seems high

Discussion in 'General Discussion' started by pqhost, Dec 11, 2005.

  1. pqhost

    pqhost Member

    Joined:
    Mar 17, 2004
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    0
    16:26:41 up 37 min, 1 user, load average: 133.87, 121.03, 87.43
    447 processes: 434 sleeping, 11 running, 1 zombie, 1 stopped
    CPU states: cpu user nice system irq softirq iowait idle
    total 5.1% 0.0% 4.9% 0.0% 0.0% 0.0% 89.8%
    Mem: 506508k av, 502156k used, 4352k free, 0k shrd, 4468k buff
    317848k active, 151024k inactive
    Swap: 1044216k av, 522056k used, 522160k free 45056k cached
    Unknown command `' -- hit `h' for help^A
    PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
    3075 root 16 0 9508 5600 5532 S 2.6 1.1 1:44 0 httpd
    10331 root 18 0 1552 1552 916 R 2.2 0.3 0:03 0 top
    8971 mailnull 15 0 1900 1696 1624 S 2.0 0.3 0:00 0 exim
    5 root 15 0 0 0 0 DW 0.5 0.0 0:11 0 kswapd
    3422 herfeet 15 0 1620 1332 1224 S 0.2 0.2 0:02 0 pure-ftpd
    1 root 16 0 496 460 436 S 0.0 0.0 0:05 0 init
    2 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 keventd
    3 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kapmd
    4 root 34 19 0 0 0 SWN 0.0 0.0 0:00 0 ksoftirqd/0
    6 root 25 0 0 0 0 SW 0.0 0.0 0:00 0 bdflush
    7 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kupdated
    8 root 20 0 0 0 0 SW 0.0 0.0 0:00 0 mdrecoveryd
    12 root 15 0 0 0 0 DW 0.0 0.0 0:00 0 kjournald
    506 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kjournald
    507 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kjournald
    1092 root 15 0 572 552 492 D 0.0 0.1 0:00 0 syslogd
    1096 root 16 0 440 384 380 S 0.0 0.0 0:00 0 klogd
    1123 root 17 0 1276 1100 1080 S 0.0 0.2 0:00 0 sshd
    1155 root 17 0 8984 3068 2016 S 0.0 0.6 0:00 0 chkservd
    1275 root 16 0 600 584 528 S 0.0 0.1 0:00 0 crond
    1290 root 17 0 1080 940 936 S 0.0 0.1 0:00 0 mysqld_safe
    1342 mysql 15 0 60712 13M 2596 D 0.0 2.7 0:04 0 mysqld
    1710 mailnull 15 0 4540 2248 1940 S 0.0 0.4 0:00 0 eximstats
    1753 root 15 0 6356 1536 1460 D 0.0 0.3 0:00 0 cpsrvd
    1806 root 17 0 1428 1148 1144 S 0.0 0.2 0:00 0 pure-ftpd
    1810 root 16 0 964 792 788 S 0.0 0.1 0:00 0 pure-authd
    1814 root 35 19 7496 1880 1876 S N 0.0 0.3 0:00 0 cpanellogd
    1879 nobody 18 0 2816 1604 1600 S 0.0 0.3 0:00 0 entropychat
    1889 nobody 18 0 592 360 356 S 0.0 0.0 0:00 0 melange
    1960 cpanel 18 0 1760 1696 1420 S 0.0 0.3 0:00 0 stunnel-4.04loc
    2057 root 16 0 5300 2132 1776 S 0.0 0.4 0:00 0 cppop
    2235 mailman 21 0 3984 1184 1180 S 0.0 0.2 0:00 0 mailmanctl
    2243 mailman 16 0 4108 2124 1428 S 0.0 0.4 0:00 0 python
    2244 mailman 16 0 4120 2120 1424 D 0.0 0.4 0:00 0 python
    2245 mailman 16 0 4116 2068 1452 S 0.0 0.4 0:00 0 python
    2246 mailman 16 0 4112 2076 1388 S 0.0 0.4 0:00 0 python
    2247 mailman 15 0 4148 2104 1412 D 0.0 0.4 0:00 0 python
    2248 mailman 16 0 4192 2144 1424 D 0.0 0.4 0:00 0 python
    2254 mailman 16 0 4104 2032 1392 S 0.0 0.4 0:00 0 python
    2259 mailman 17 0 4100 1628 1336 S 0.0 0.3 0:00 0 python
    2265 root 18 0 460 400 396 S 0.0 0.0 0:00 0 portsentry
    2310 root 16 0 5780 2704 2364 S 0.0 0.5 0:00 0 miniserv.pl
    2580 root 18 0 412 360 356 S 0.0 0.0 0:00 0 mingetty
    2581 root 18 0 408 360 356 S 0.0 0.0 0:00 0 mingetty
    2582 root 18 0 412 360 356 S 0.0 0.0 0:00 0 mingetty
    2583 root 18 0 408 360 356 S 0.0 0.0 0:00 0 mingetty
    2584 root 18 0 412 360 356 S 0.0 0.0 0:00 0 mingetty
    2585 root 18 0 412 360 356 S 0.0 0.0 0:00 0 mingetty
    2849 sherxne 39 19 7504 1888 1884 S N 0.0 0.3 0:00 0 cpanellogd
    2850 sherxne 34 19 352 332 308 S N 0.0 0.0 0:00 0 logrunner
    2851 sherxne 39 19 1076 836 836 T N 0.0 0.1 0:00 0 webalizer


    my system is at nearly a standstill today...can anyone see what might be wrong? thanks
     
  2. pqhost

    pqhost Member

    Joined:
    Mar 17, 2004
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    0
    anyone? i'm very frustrated and my server is pretty much down right now....
     
  3. DigitalSurgeon

    DigitalSurgeon Well-Known Member

    Joined:
    Aug 13, 2005
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    16
    Run ps axuf and note the processes that are running in a large number.You can also stop services temporarily to stabilize the server.
     
  4. pqhost

    pqhost Member

    Joined:
    Mar 17, 2004
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    0
    thanks so much i will do that right now....
     
  5. DigitalSurgeon

    DigitalSurgeon Well-Known Member

    Joined:
    Aug 13, 2005
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    16
    You are always welcome :)
     
  6. pqhost

    pqhost Member

    Joined:
    Mar 17, 2004
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    0
    ug! i can't even run the PS command, the server is so slow right now...i'm tearing my hair out!!!
     
  7. pqhost

    pqhost Member

    Joined:
    Mar 17, 2004
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    0
    there's a lot of httpd with the ps axuf looks like this...is this normal?

    nobody 7356 0.1 1.1 23060 5736 ? D 20:10 0:03 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7357 0.0 1.8 22920 9524 ? S 20:10 0:01 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7358 0.0 1.8 22684 9348 ? S 20:10 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7387 0.1 1.7 22896 8812 ? S 20:10 0:03 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7408 0.1 1.8 22728 9344 ? S 20:10 0:02 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7409 0.1 0.9 23144 5008 ? S 20:10 0:02 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7472 0.2 1.8 23072 9476 ? S 20:10 0:04 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7473 0.1 0.9 23316 5020 ? S 20:10 0:02 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7474 0.2 1.1 22892 5668 ? D 20:10 0:04 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7475 0.1 1.8 22792 9388 ? S 20:10 0:02 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7538 0.1 1.9 22988 9868 ? D 20:10 0:02 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7539 0.2 1.2 22856 6496 ? D 20:10 0:03 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7540 0.2 1.8 23132 9476 ? S 20:10 0:04 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7541 0.2 1.7 22896 8984 ? S 20:10 0:03 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7542 0.1 1.8 23060 9376 ? S 20:10 0:02 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7543 0.2 1.8 23060 9412 ? S 20:10 0:04 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7544 0.0 1.8 22864 9204 ? S 20:10 0:01 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7548 0.0 1.0 22628 5184 ? S 20:10 0:01 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7549 0.1 1.2 22780 6272 ? S 20:10 0:02 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7550 0.2 1.9 22744 9808 ? S 20:10 0:05 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7551 0.0 1.9 23396 9696 ? S 20:10 0:01 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7552 0.1 1.0 23604 5384 ? S 20:10 0:02 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7553 0.0 1.9 22952 9928 ? S 20:10 0:01 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7554 0.2 1.9 22812 9820 ? R 20:10 0:04 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7559 0.1 1.9 22736 9908 ? S 20:10 0:02 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7566 0.1 1.0 23524 5372 ? S 20:10 0:02 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7569 0.2 2.0 25140 10304 ? S 20:10 0:05 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7570 0.2 1.9 22716 9740 ? S 20:10 0:04 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7571 0.2 1.9 22684 9724 ? S 20:10 0:04 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7589 0.1 1.9 22760 9776 ? S 20:10 0:02 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7693 0.2 1.9 22836 9912 ? S 20:11 0:04 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7723 0.1 1.0 23436 5432 ? S 20:12 0:03 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7724 0.0 1.0 22836 5384 ? S 20:12 0:01 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7725 0.0 1.9 22876 9884 ? S 20:12 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7726 0.2 2.0 23540 10476 ? S 20:12 0:05 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 7758 0.0 1.9 22796 9672 ? S 20:12 0:01 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 8060 0.0 1.9 22744 9928 ? S 20:16 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 8491 0.2 1.9 23176 10084 ? S 20:19 0:03 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 8493 0.0 1.0 22804 5568 ? S 20:19 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 8697 0.0 1.0 22756 5508 ? S 20:21 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 9014 0.0 1.0 23284 5380 ? S 20:22 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 9090 0.0 1.0 22800 5440 ? S 20:23 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 9803 0.0 1.0 22808 5308 ? S 20:27 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11010 0.4 1.9 23060 9720 ? S 20:33 0:02 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11019 0.4 1.9 23144 9696 ? S 20:33 0:02 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11292 0.2 1.3 23260 6688 ? S 20:34 0:01 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11293 0.3 1.8 23036 9320 ? S 20:34 0:01 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11330 0.2 1.8 22680 9536 ? S 20:34 0:01 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11340 0.2 1.8 22640 9560 ? S 20:34 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11408 0.2 1.8 22736 9536 ? S 20:35 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11447 0.1 1.8 22656 9472 ? S 20:35 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11448 0.1 1.8 22736 9552 ? S 20:36 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11605 0.4 2.0 23396 10300 ? S 20:38 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11635 0.1 1.8 22336 9228 ? S 20:38 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11639 0.0 1.1 19164 5576 ? D 20:38 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11640 0.2 1.8 22328 9256 ? D 20:38 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11641 0.4 1.9 22920 9824 ? S 20:38 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11642 0.1 1.8 22548 9440 ? S 20:38 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11643 0.1 1.8 22336 9220 ? S 20:38 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11644 0.3 1.9 22916 9876 ? S 20:38 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11655 0.2 1.8 22800 9256 ? S 20:38 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11659 0.3 1.8 22720 9600 ? S 20:38 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11666 0.0 1.8 22208 9156 ? S 20:38 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11667 0.2 1.9 22808 9672 ? S 20:38 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11668 0.1 1.8 22540 9480 ? S 20:38 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11674 0.1 1.9 22792 9628 ? S 20:39 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11675 0.1 1.8 22336 9236 ? S 20:39 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11709 0.2 1.8 22660 9500 ? S 20:39 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11710 0.0 1.5 21088 7984 ? S 20:39 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11711 0.2 1.8 22652 9560 ? S 20:39 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11714 0.3 1.9 22904 9780 ? S 20:39 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11715 0.1 1.8 22328 9156 ? S 20:39 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11724 0.0 1.2 19228 6288 ? S 20:39 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11729 0.3 1.8 22624 9548 ? S 20:39 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11730 0.0 1.0 19080 5108 ? S 20:39 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11731 0.0 1.0 19092 5560 ? S 20:39 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11732 0.3 1.9 22808 9656 ? S 20:39 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11733 0.1 1.7 22168 8996 ? S 20:39 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11734 0.2 1.8 22524 9460 ? S 20:39 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11789 0.0 1.0 19084 5176 ? S 20:40 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11805 0.0 1.0 19084 5156 ? S 20:40 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11808 0.0 1.1 19160 5576 ? S 20:40 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11809 0.3 1.7 22196 9100 ? S 20:40 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11810 0.3 1.7 22056 8924 ? S 20:40 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11811 0.2 1.7 22204 9104 ? S 20:40 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11812 0.3 1.7 22084 8984 ? S 20:40 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11813 0.4 1.7 22200 9004 ? S 20:40 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11814 0.3 1.7 22056 8976 ? S 20:40 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11815 0.3 1.6 22200 8376 ? S 20:40 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11816 0.2 1.7 21936 8704 ? S 20:40 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11820 0.0 0.9 19080 4968 ? S 20:40 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11821 0.0 1.1 19080 5628 ? S 20:40 0:00 \_ /usr/local/apache/bin/httpd -DSSL
    nobody 11829 0.0 0.9 19112 4956 ? S 20:40 0:00 \_ /usr/local/apache/bin/httpd -DSSL
     
  8. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Probably the key lines in your top output are:

    447 processes

    and

    Swap: 1044216k av, 522056k used, 522160k free 45056k cached

    Too many processes and memory thrashing. It sounds like you've got runaway processes consuming all the server resources, presumably the httpd ones. Those are often caused by exploits uploaded into the likes of /tmp. If you don't know how to investigate something like this yourself you should probably consider either hiring a server admin, or delving into the many server admin sites on the web.
     
  9. pqhost

    pqhost Member

    Joined:
    Mar 17, 2004
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    0
    thanks chirpy, i solved the problem, was a corrupted MYSQL table eating up all the resources, now the top says:

    10:40:03 up 15:00, 2 users, load average: 0.02, 0.12, 0.15
    116 processes: 109 sleeping, 6 running, 1 zombie, 0 stopped
    CPU states: cpu user nice system irq softirq iowait idle
    total 47.5% 0.0% 8.0% 0.0% 0.0% 0.0% 44.3%
    Mem: 506508k av, 478584k used, 27924k free, 0k shrd, 65780k buff
    194804k active, 241544k inactive
    Swap: 1044216k av, 86304k used, 957912k free 182992k cached

    but i will still check into the recommendations concerning /tmp and the what not thank you so much
     
  10. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Well done :) That looks much better.
     
  11. pqhost

    pqhost Member

    Joined:
    Mar 17, 2004
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    0
    yes it is and the server is averaging about 0.02 load, it hasn'tbeen this fast since i got it!! everything just FLIES now
     
Loading...

Share This Page