Results 1 to 8 of 8
  1. #1
    Join Date
    Mar 2002
    Location
    Melbourne
    Posts
    218

    Angry server using cpanel under extreme high load

    i hope you guys can help me with this load issue.

    my server is running cpanel, dual xeon 2.4GHZ, 2GB ram, only have about 10 small websites, but look at the load:

    Tasks: 154 total, 1 running, 153 sleeping, 0 stopped, 0 zombie
    Cpu(s): 0.1% us, 0.1% sy, 0.0% ni, 0.0% id, 99.8% wa, 0.0% hi, 0.0% si
    Mem: 2074940k total, 1110308k used, 964632k free, 105768k buffers
    Swap: 4096564k total, 0k used, 4096564k free, 829452k cached

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    27230 root 16 0 2168 1000 760 R 0 0.0 0:02.15 top
    1 root 16 0 2620 556 472 S 0 0.0 0:00.99 init
    2 root RT 0 0 0 0 S 0 0.0 0:00.10 migration/0
    3 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/0
    4 root RT 0 0 0 0 S 0 0.0 0:00.07 migration/1
    5 root 34 19 0 0 0 S 0 0.0 0:00.18 ksoftirqd/1
    6 root RT 0 0 0 0 S 0 0.0 0:00.08 migration/2
    7 root 34 19 0 0 0 S 0 0.0 0:00.15 ksoftirqd/2
    8 root RT 0 0 0 0 S 0 0.0 0:00.21 migration/3
    9 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/3
    10 root 5 -10 0 0 0 S 0 0.0 0:00.00 events/0
    11 root 5 -10 0 0 0 S 0 0.0 0:00.00 events/1
    12 root 5 -10 0 0 0 S 0 0.0 0:00.00 events/2
    13 root 5 -10 0 0 0 S 0 0.0 0:00.00 events/3
    14 root 5 -10 0 0 0 S 0 0.0 0:00.01 khelper
    15 root 15 -10 0 0 0 S 0 0.0 0:00.00 kacpid
    43 root 5 -10 0 0 0 S 0 0.0 0:00.00 kblockd/0
    44 root 5 -10 0 0 0 S 0 0.0 0:00.00 kblockd/1
    45 root 5 -10 0 0 0 S 0 0.0 0:00.00 kblockd/2
    46 root 5 -10 0 0 0 S 0 0.0 0:00.00 kblockd/3
    47 root 15 0 0 0 0 S 0 0.0 0:00.00 khubd
    56 root 15 0 0 0 0 D 0 0.0 0:01.24 pdflush
    59 root 8 -10 0 0 0 S 0 0.0 0:00.00 aio/0
    60 root 11 -10 0 0 0 S 0 0.0 0:00.00 aio/1
    61 root 11 -10 0 0 0 S 0 0.0 0:00.00 aio/2
    62 root 5 -10 0 0 0 S 0 0.0 0:00.00 aio/3
    58 root 15 0 0 0 0 S 0 0.0 0:01.12 kswapd0
    135 root 25 0 0 0 0 S 0 0.0 0:00.00 kseriod
    212 root 15 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_0
    213 root 15 0 0 0 0 S 0 0.0 0:00.00 percraid
    234 root 15 0 0 0 0 D 0 0.0 0:06.05 kjournald
    1180 root 6 -10 2664 456 380 S 0 0.0 0:00.03 udevd
    1346 root 5 -10 0 0 0 S 0 0.0 0:00.00 kauditd
    1421 root 8 -10 0 0 0 S 0 0.0 0:00.00 kmirrord
    1422 root 8 -10 0 0 0 S 0 0.0 0:00.00 kmir_mon
    1442 root 19 0 0 0 0 S 0 0.0 0:00.00 kjournald
    1443 root 15 0 0 0 0 D 0 0.0 0:01.93 kjournald
    2168 root 15 0 3468 600 512 D 0 0.0 0:00.60 syslogd
    2172 root 16 0 2428 484 420 S 0 0.0 0:00.25 klogd
    2182 root 16 0 1756 492 412 S 0 0.0 0:00.01 irqbalance
    2194 named 18 0 69712 3492 2232 S 0 0.2 0:01.11 named
    2268 root 16 0 2644 440 380 S 0 0.0 0:00.00 courierlogger
    2269 root 16 0 1940 612 508 S 0 0.0 0:00.00 authdaemond
    2270 root 16 0 1940 616 512 S 0 0.0 0:00.00 authdaemond
    2271 root 16 0 1940 616 512 S 0 0.0 0:00.00 authdaemond
    2272 root 16 0 1940 616 512 S 0 0.0 0:00.00 authdaemond
    2273 root 16 0 1940 616 512 S 0 0.0 0:00.00 authdaemond
    2274 root 16 0 1940 616 512 S 0 0.0 0:00.00 authdaemond
    2303 root 16 0 5392 1012 844 S 0 0.0 0:00.00 rpc.idmapd
    2375 root 18 0 1980 552 480 S 0 0.0 0:00.00 acpid
    2384 root 15 0 9308 2076 1632 S 0 0.1 0:00.03 cupsd
    Any sugguestion? also i'm looking for a company who can do server management for me, for a monthly fees, who would you recommend?

    thanks guys

  2. #2
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    144
    Hello
    Can you current company do mananaged servers for you. And be sure there are a lot of companies providing third party support over there.
    If I were you I wouln't spend much timу to solve such kind of problems

  3. #3
    Join Date
    Sep 2004
    Location
    Italy
    Posts
    1,673
    Go into to CPanel WHM and paste the results of:

    CPU usage

    Apache Status

  4. #4
    Join Date
    Jan 2007
    Posts
    76
    also upgrade the kernel to latest stable version.
    if your OS have yum , use "yum update kernel"

  5. #5
    Join Date
    Jun 2006
    Location
    Ahh' UnderPants
    Posts
    1,013
    I dont think load is viewable in the quote you pasted. RAM usage is showing that atleast 45% is free and CPU usage is very less.

    Where you see Load?

  6. #6
    Join Date
    Feb 2005
    Location
    Australia
    Posts
    5,849
    Yes, it's using only half its memory and no swap, yet i/o wait is 99.8% - hard drive problems?
    Chris

    "Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them." - Laurence J. Peter

  7. #7

    IO Issues...

    ok here is what you do. First do a

    vmstat 1

    If the first column has higher numbers (Consistently over 4 in my opinion on that type of CPU then it is mostly CPU related). If the second number is over 3 or 4 consistently then if means (Usually) your IO (Almost ALWAYS disk related) is getting pummeled and is killing the server and sometimes cpu while starved IO processes are waiting for disk time.

    Do an

    iostat -kxd 1 (If your kernel supports it as virtually all 2.6.x kernels do)

    Look at the last # in the colum. It will show % of disk IO used on physical devices. If it shows 99% or 100% during these peak times then your disk setup isn't great and it is killing the box, or you have something else going on that is eating up your disk. Also, disk seeks are WAY WAY WAY more of a problem than read/writes, so you might want to look at that. Cpanel is HORRIBLY ineffecient with file io and seeks, especially with mail. Anyway... Try that first and let me know.

    Thanks,
    Matt Heaton / President Bluehost.com - Hostmonster.com

  8. #8
    Join Date
    Feb 2002
    Location
    Vestal, NY
    Posts
    1,381
    I notice that what you pasted is not showing all the running processes. I do not see cPanel running, nor httpd in what you pasted. Try pressing "P" to see highest CPU eating processes or "m" to see the processes that are eating the most memory. I wouldn't doubt that updatedb is running or something like that.
    H4Y Technologies LLC .. Since 2001!!
    "Smarter, Cheaper, Faster" - SMB, Reseller, VPS, Dedicated, Colo hosting done right.

    ZERO PACKETLOSS, ZERO DOWNTIME Dedicated and Colo - USA: IA, CA, NC, OR, NV
    **http://h4y.us** **http://iwfhosting.net**
    Voice: (866)435-5642. *** askus at host4yourself d0t com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •