Page 1 of 2 12 LastLast
Results 1 to 25 of 36
  1. #1
    Join Date
    Jul 2010
    Posts
    45

    Server Load Average Problem

    Hello friends i have got a dedi server from iweb
    Core2duo
    2gb ram

    my load average shows 2.38, 2.18, 2.44 in whm

    and in cpanel stat show Server Load 2.43 (2 cpus)

    is it normal?

  2. #2
    Join Date
    Jun 2010
    Location
    Geelong, VIC, Australia
    Posts
    66
    what sort of applications/websites are you hosting on this system? What is the output of 'top' if you can run that from an SSH session. That should give some good idea to what is casuing the load.

  3. #3
    Join Date
    Jul 2010
    Posts
    45
    here is the output of top


    Tasks: 320 total, 3 running, 305 sleeping, 3 stopped, 9 zombie
    Cpu(s): 31.4%us, 16.4%sy, 0.0%ni, 23.3%id, 28.1%wa, 0.2%hi, 0.7%si, 0.0%st
    Mem: 2064724k total, 1192284k used, 872440k free, 304468k buffers
    Swap: 2096472k total, 96k used, 2096376k free, 263708k cached

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    24592 krazyboy 16 0 50872 18m 8560 D 2.3 0.9 0:00.62 php
    24776 krazyboy 16 0 50872 18m 8556 D 2.3 0.9 0:00.57 php
    25008 krazyboy 16 0 50872 18m 8556 D 2.3 0.9 0:00.61 php
    25024 krazyboy 16 0 50872 18m 8536 D 2.3 0.9 0:00.57 php
    25378 krazyboy 16 0 50872 18m 8544 D 2.3 0.9 0:00.53 php
    25704 krazyboy 16 0 50872 18m 8552 D 2.3 0.9 0:00.42 php
    26259 krazyboy 16 0 50872 18m 8532 D 2.3 0.9 0:00.37 php
    24209 krazyboy 16 0 50872 18m 8568 D 2.0 0.9 0:00.68 php
    24423 krazyboy 16 0 50872 18m 8564 D 2.0 0.9 0:00.66 php
    24518 krazyboy 16 0 50872 18m 8568 D 2.0 0.9 0:00.65 php
    24523 krazyboy 16 0 50872 18m 8564 D 2.0 0.9 0:00.61 php
    24691 krazyboy 16 0 50872 18m 8536 D 2.0 0.9 0:00.57 php
    25011 krazyboy 16 0 50872 18m 8552 R 2.0 0.9 0:00.58 php
    25015 krazyboy 16 0 50872 18m 8536 D 2.0 0.9 0:00.58 php
    25092 krazyboy 16 0 50872 18m 8556 D 2.0 0.9 0:00.55 php
    25142 krazyboy 16 0 50872 18m 8532 D 2.0 0.9 0:00.56 php
    25290 krazyboy 16 0 50872 18m 8536 D 2.0 0.9 0:00.56 php
    25653 krazyboy 16 0 50872 18m 8544 D 2.0 0.9 0:00.45 php
    25785 krazyboy 16 0 50872 18m 8536 D 2.0 0.9 0:00.40 php
    25266 krazyboy 16 0 50872 18m 8556 D 1.7 0.9 0:00.55 php
    25821 krazyboy 16 0 50872 18m 8540 D 1.7 0.9 0:00.38 php
    26269 krazyboy 16 0 50868 18m 8532 D 1.7 0.9 0:00.37 php
    26332 krazyboy 16 0 0 0 0 Z 1.7 0.0 0:00.05 php <defunct>
    26343 krazyboy 15 0 0 0 0 Z 1.7 0.0 0:00.05 php <defunct>
    24142 krazyboy 16 0 50872 18m 8560 D 1.3 0.9 0:00.74 php
    25312 krazyboy 16 0 50872 18m 8552 R 1.3 0.9 0:00.54 php
    25458 krazyboy 16 0 50872 18m 8556 D 1.3 0.9 0:00.48 php

  4. #4
    Join Date
    Jul 2010
    Location
    Hoschton, GA
    Posts
    82
    Is 'krazyboy's website insanely popular? He may be running a malicious script.

  5. #5
    Join Date
    Jul 2010
    Posts
    45
    krazyboy is my actual web site

  6. #6
    Join Date
    Jun 2010
    Location
    Geelong, VIC, Australia
    Posts
    66
    is that all the output?

    There are a lot of php processes - i assume that there are a lot of visitors to this website? Can you describe what sort of websites this server is hosting and how many visitors you typically are getting?

  7. #7
    Join Date
    Jul 2010
    Posts
    45
    it is a mobile download site and currentl on main counter its showing today: 11455 hits and 5766 hosts

  8. #8
    Join Date
    Jun 2010
    Location
    Geelong, VIC, Australia
    Posts
    66
    Quote Originally Posted by indianboy View Post
    it is a mobile download site and currentl on main counter its showing today: 11455 hits and 5766 hosts
    well there you go - thats a lot of hits... PHP is generating the load based off the number of hits
    Last edited by WeHostIt; 07-31-2010 at 05:12 AM.
    We Host It Australia
    Quality Affordable Australian Hosting Solutions
    http://www.wehostit.com.au/

  9. #9
    Join Date
    Jul 2010
    Posts
    45
    so wat can be done

  10. #10
    Join Date
    Jun 2010
    Location
    Geelong, VIC, Australia
    Posts
    66
    Quote Originally Posted by indianboy View Post
    so wat can be done
    probably not a great deal. you can see if you can optimise your php scripts. Did you code the website?
    We Host It Australia
    Quality Affordable Australian Hosting Solutions
    http://www.wehostit.com.au/

  11. #11
    Join Date
    Jul 2010
    Posts
    45
    no its a free script available

  12. #12
    Join Date
    Jun 2010
    Location
    Geelong, VIC, Australia
    Posts
    66
    Quote Originally Posted by indianboy View Post
    no its a free script available
    do you have a link?
    We Host It Australia
    Quality Affordable Australian Hosting Solutions
    http://www.wehostit.com.au/

  13. #13
    Join Date
    Apr 2009
    Posts
    1,321
    Quote Originally Posted by indianboy View Post
    it is a mobile download site and currentl on main counter its showing today: 11455 hits and 5766 hosts
    How many hours has passed today? If that's over 24 hours or even 6 hours, the server should not get such a high load.

  14. #14
    Join Date
    Jul 2010
    Posts
    45
    12 hour pass of day site is krazywap.com

  15. #15
    Join Date
    Jun 2010
    Location
    Geelong, VIC, Australia
    Posts
    66
    just hit the site - does take a long time to load initally. im not getting delay to the host - definitley looks like the PHP script is very heavy to load initally.

    Im not the expert here - but is there a caching mechanisim that could be employed here?
    We Host It Australia
    Quality Affordable Australian Hosting Solutions
    http://www.wehostit.com.au/

  16. #16
    Join Date
    Jan 2010
    Posts
    33
    Cpu(s): 31.4%us, 16.4%sy, 0.0%ni, 23.3%id, 28.1%wa, 0.2%hi, 0.7%si, 0.0%st

    Note the wa, what does iostat show for disk stats? moving your websites to another physical drive may help, or as previously mentioned getting the code being used optimized

  17. #17
    Join Date
    Aug 2010
    Location
    Egypt
    Posts
    27
    You Should know what is the problem from

    Let's see if the problem from apache

    Open SSH and type that command

    PHP Code:
    service httpd stop 
    This will stop apache

    now look at load average and see if it get down

    to run apache type that command

    PHP Code:
    service httpd start 
    if the load doesn't get down try to stop mysql

    type that command

    PHP Code:
    service mysql stop 
    look at the load average and see it get down

    to run mysql type that command

    PHP Code:
    service mysql start 
    and you will know what is the problem from
    ^__^
    Last edited by medo93; 08-01-2010 at 12:15 PM.

  18. #18
    Join Date
    Jul 2010
    Posts
    45
    i have tried and mysql is not causing any problem its httpd so what can be done now

  19. #19
    Join Date
    Jun 2010
    Location
    Geelong, VIC, Australia
    Posts
    66
    based off the above and the output you psoted earlier - it is the PHP scripts that are causing the load.
    We Host It Australia
    Quality Affordable Australian Hosting Solutions
    http://www.wehostit.com.au/

  20. #20
    Join Date
    Aug 2010
    Location
    Egypt
    Posts
    27
    Quote Originally Posted by WeHostIt View Post
    based off the above and the output you psoted earlier - it is the PHP scripts that are causing the load.


    Exactly
    ========================
    are You Dedicated server or vps ??
    ========================

  21. #21
    Join Date
    Jul 2010
    Posts
    45
    i am on dedicated server core 2 duo 2.9 ghz 2bg ram

  22. #22
    Join Date
    Jun 2001
    Location
    Princeton
    Posts
    1,029
    Is your site slow? If it is not slow/performing fine, you might not need to do anything. I mean load average of two is not a big deal for such server.
    Igor Seletskiy
    CEO @ Cloud Linux Inc
    http://www.cloudlinux.com
    CloudLinux -- The OS that can make your Shared Hosting stable

  23. #23
    Join Date
    Jul 2010
    Posts
    45
    my site is running perfectly ok but load average sometimes goes 5+ and 1 of my friend told me that it can crash Hard drive and ram

  24. #24
    Join Date
    Jun 2001
    Location
    Princeton
    Posts
    1,029
    It will also set your feet on fire....

    The worst that can happen -- the server will be done, and would need to be rebooted (this is really the worst)
    What you most likely see when load will go high -- your site will be slow, and maybe unreachable.
    If you see your site becoming more and more popular/load going up -- you might think into investing in optimizing the scripts, or depending on how much it would cost you/how much grow you anticipate, upgrading the server.
    Right now -- I would just let it be.
    Igor Seletskiy
    CEO @ Cloud Linux Inc
    http://www.cloudlinux.com
    CloudLinux -- The OS that can make your Shared Hosting stable

  25. #25
    Join Date
    Aug 2010
    Location
    Egypt
    Posts
    27
    Quote Originally Posted by indianboy View Post
    my site is running perfectly ok but load average sometimes goes 5+ and 1 of my friend told me that it can crash Hard drive and ram
    Don't worry this will not crash any thing ^_^

    and i see the load is Ok not very High

    the load on my server is between 2 and 20

    and i have not any problem

    good luck
    Last edited by medo93; 08-02-2010 at 09:29 AM.

Page 1 of 2 12 LastLast

Similar Threads

  1. Need some help on a Hourly high 5 minute load average problem
    By echenail in forum Hosting Security and Technology
    Replies: 20
    Last Post: 08-06-2009, 06:13 PM
  2. Replies: 6
    Last Post: 05-19-2008, 06:07 PM
  3. Average Server Load
    By CymraegWalesHosting in forum Dedicated Server
    Replies: 5
    Last Post: 05-03-2007, 08:31 AM
  4. Average Server Load
    By HostVillage Sales in forum Dedicated Server
    Replies: 4
    Last Post: 04-23-2007, 04:34 PM
  5. Average Server Load...
    By BlueB in forum Hosting Security and Technology
    Replies: 1
    Last Post: 08-06-2003, 03:26 AM

Posting Permissions

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