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.

apache stuck?

Discussion in 'EasyApache' started by DigiCrime, Dec 2, 2004.

  1. DigiCrime

    DigiCrime Well-Known Member

    Joined:
    Nov 27, 2002
    Messages:
    399
    Likes Received:
    0
    Trophy Points:
    16
    General top Info

    16:19:04 up 7 days, 7:22, 1 user, load average: 0.16, 0.22, 0.28
    92 processes: 89 sleeping, 2 running, 1 zombie, 0 stopped
    CPU states: 16.7% user 3.1% system 0.0% nice 0.0% iowait 80.0% idle
    Mem: 505716k av, 459408k used, 46308k free, 0k shrd, 5584k buff
    284852k actv, 68884k in_d, 11800k in_c
    Swap: 1052248k av, 199760k used, 852488k free 251140k cached

    PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
    2427 root 15 0 1932 152 84 S 17.3 0.0 140:31 0 httpd
    2275 root 15 0 376 220 136 S 0.1 0.0 0:01 0 sshd
    27373 root 15 0 1212 1212 868 R 0.1 0.2 0:00 0 top
    1 root 15 0 112 80 56 S 0.0 0.0 0:07 0 init
    2 root 15 0 0 0 0 SW 0.0 0.0 0:01 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:02 0 ksoftirqd_CPU0
    9 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 bdflush
    5 root 15 0 0 0 0 SW 0.0 0.0 2:12 0 kswapd
    6 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kscand/DMA
    7 root 15 0 0 0 0 SW 0.0 0.0 12:54 0 kscand/Normal
    8 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kscand/HighMem
    10 root 15 0 0 0 0 SW 0.0 0.0 0:03 0 kupdated
    11 root 23 0 0 0 0 SW 0.0 0.0 0:00 0 mdrecoveryd
    70 root 25 0 0 0 0 SW 0.0 0.0 0:00 0 khubd
    1802 root 15 0 0 0 0 SW 0.0 0.0 1:28 0 kjournald
    2037 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 eth0
    2183 root 15 0 232 200 152 S 0.0 0.0 0:04 0 syslogd
    2187 root 15 0 56 4 0 S 0.0 0.0 0:00 0 klogd
    2265 nobody 15 0 732 288 144 S 0.0 0.0 0:01 0 proftpd
    2289 root 15 0 424 356 280 S 0.0 0.0 0:01 0 xinetd
    2307 root 20 0 2796 1764 780 S 0.0 0.3 1:09 0 chkservd
    2357 mailnull 15 0 536 272 192 S 0.0 0.0 0:06 0 exim
    2361 mailnull 15 0 340 4 0 S 0.0 0.0 0:00 0 exim
    2367 root 15 0 840 704 480 S 0.0 0.1 0:02 0 antirelayd
    2417 root 18 0 20004 4 0 S 0.0 0.0 0:01 0 spamd
    2449 root 15 0 164 140 88 S 0.0 0.0 0:00 0 crond
    2505 named 25 0 3064 2728 880 S 0.0 0.5 1:38 0 named
    2517 xfs 15 0 1836 60 32 S 0.0 0.0 0:00 0 xfs
    2631 root 16 0 23748 16M 1432 S 0.0 3.2 0:39 0 spamd
    2632 root 16 0 24684 16M 1252 S 0.0 3.2 0:38 0 spamd
    2633 root 16 0 24088 10M 1260 S 0.0 2.1 0:38 0 spamd
    2634 root 16 0 23532 15M 1432 S 0.0 3.2 0:35 0 spamd
    2635 root 16 0 23880 16M 1408 S 0.0 3.2 0:36 0 spamd
    2790 root 25 0 156 4 0 S 0.0 0.0 0:00 0 mysqld_safe
    2806 root 15 0 108 100 52 S 0.0 0.0 0:00 0 rhnsd
    2847 mysql 15 0 22184 13M 1344 S 0.0 2.7 2:59 0 mysqld
    2848 root 15 0 96 4 0 S 0.0 0.0 0:00 0 portsentry


    Top sorted by time
    16:19:55 up 7 days, 7:23, 1 user, load average: 0.17, 0.21, 0.27
    89 processes: 87 sleeping, 1 running, 1 zombie, 0 stopped
    CPU states: 14.9% user 0.7% system 0.0% nice 0.0% iowait 84.2% idle
    Mem: 505716k av, 456048k used, 49668k free, 0k shrd, 5588k buff
    281836k actv, 68924k in_d, 11796k in_c
    Swap: 1052248k av, 199760k used, 852488k free 251192k cached

    PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
    2427 root 15 0 1932 152 84 S 13.7 0.0 140:36 0 httpd
    7 root 15 0 0 0 0 SW 0.0 0.0 12:54 0 kscand/Normal
    2847 mysql 15 0 22184 13M 1344 S 0.3 2.7 2:59 0 mysqld
    5 root 15 0 0 0 0 SW 0.0 0.0 2:12 0 kswapd
    2505 named 25 0 3064 2728 880 S 0.0 0.5 1:38 0 named
    1802 root 15 0 0 0 0 SW 0.0 0.0 1:28 0 kjournald
    2307 root 20 0 2796 1764 780 S 0.0 0.3 1:09 0 chkservd
    2631 root 16 0 23748 16M 1432 S 0.0 3.2 0:39 0 spamd
    2633 root 16 0 24088 10M 1260 S 0.0 2.1 0:38 0 spamd
    2632 root 16 0 24684 16M 1252 S 0.0 3.2 0:38 0 spamd
    2635 root 16 0 23880 16M 1408 S 0.0 3.2 0:36 0 spamd
    2634 root 16 0 23532 15M 1432 S 0.0 3.2 0:35 0 spamd
    30306 root 34 19 10112 8524 1120 S N 0.0 1.6 0:17 0 cpanellogd
    1 root 15 0 112 80 56 S 0.0 0.0 0:07 0 init
    2357 mailnull 15 0 536 272 192 S 0.0 0.0 0:06 0 exim
    2183 root 15 0 232 200 152 S 0.0 0.0 0:04 0 syslogd
    10 root 15 0 0 0 0 SW 0.0 0.0 0:03 0 kupdated
    2367 root 15 0 840 704 480 S 0.0 0.1 0:02 0 antirelayd
    4 root 34 19 0 0 0 SWN 0.0 0.0 0:02 0 ksoftirqd_CPU0
    2275 root 15 0 376 220 136 S 0.0 0.0 0:01 0 sshd
    2289 root 15 0 424 356 280 S 0.0 0.0 0:01 0 xinetd
    2 root 15 0 0 0 0 SW 0.0 0.0 0:01 0 keventd
    2265 nobody 15 0 732 288 144 S 0.0 0.0 0:01 0 proftpd
    30317 mailnull 15 0 3336 1072 580 S 0.0 0.2 0:01 0 eximstats
    2417 root 18 0 20004 4 0 S 0.0 0.0 0:01 0 spamd
    30325 mailman 15 0 3064 1144 268 S 0.0 0.2 0:00 0 python2
    30328 mailman 15 0 3064 1144 248 S 0.0 0.2 0:00 0 python2
    30324 mailman 15 0 3036 1112 248 S 0.0 0.2 0:00 0 python2
    30329 mailman 15 0 3132 1196 268 S 0.0 0.2 0:00 0 python2
    30326 mailman 15 0 3036 984 248 S 0.0 0.1 0:00 0 python2
    30327 mailman 15 0 3032 1120 248 S 0.0 0.2 0:00 0 python2
    30330 mailman 15 0 3024 1004 248 S 0.0 0.1 0:00 0 python2
    3 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kapmd
    29231 root 15 0 3560 1440 340 S 0.0 0.2 0:00 0 cpsrvd
    2449 root 15 0 164 140 88 S 0.0 0.0 0:00 0 crond
    30311 root 15 0 2892 744 336 S 0.0 0.1 0:00 0 cppop
    30331 mailman 15 0 3028 716 248 S 0.0 0.1 0:00 0 python2
    6 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kscand/DMA
    28730 root 15 0 0 0 0 Z 0.0 0.0 0:00 0 upcp <defunct>
    2517 xfs 15 0 1836 60 32 S 0.0 0.0 0:00 0 xfs
    28729 root 15 0 80 4 0 S 0.0 0.0 0:00 0 crond
    2361 mailnull 15 0 340 4 0 S 0.0 0.0 0:00 0 exim


    Really doesnt look like anything is wrong but why is this stuck?
    2427 root 15 0 1932 152 84 S 17.3 0.0 140:31 0 httpd

    Restart apache

    2427 root 15 0 6048 5848 4200 S 47.2 1.1 0:13 0 httpd


    Its fine but after a few hours it goes back to the way it was before
     
  2. hicom

    hicom Well-Known Member

    Joined:
    May 23, 2003
    Messages:
    272
    Likes Received:
    0
    Trophy Points:
    16
    My recommendation upgrade your server RAM. You're using 199MB of SWAP file, serious performance problems and possibly why your apache not working right
     
  3. DigiCrime

    DigiCrime Well-Known Member

    Joined:
    Nov 27, 2002
    Messages:
    399
    Likes Received:
    0
    Trophy Points:
    16
    k I guess I could ask what would cause it, servers been in use for over a year in a half, only in the past couple of months has this started, no changes to the server have been made other then general maintenance required to keep it up2date. Is it just showing its age ?
     
Loading...

Share This Page