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.

I have a problem with load average on my cPanel server.

Discussion in 'Workarounds and Optimization' started by Bakowang, Oct 27, 2014.

  1. Bakowang

    Bakowang Member

    Joined:
    Oct 27, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    United Kingdom
    cPanel Access Level:
    Root Administrator
    Hello Guys.
    Please help me i have a problem with load, i have load on two hosting account on my server, how can i fix it by csf ? or who have any suggestions please make suggestions to me


    error load.PNG

    Code:
    Pid	Owner	Priority	CPU %	Memory %	Command
    21221 (Trace) (Kill)	543	0	  9.2	  1.1	/usr/bin/php /home/username/public_html/index.php
    21228 (Trace) (Kill)	543	0	  7.6	  0.9	/usr/bin/php /home/username/public_html/index.php
    21229 (Trace) (Kill)	543	0	  7.6	  0.9	/usr/bin/php /home/username/public_html/index.php
    21232 (Trace) (Kill)	543	0	  5.3	  0.8	/usr/bin/php /home/username/public_html/index.php
    21230 (Trace) (Kill)	543	0	  5.3	  0.7	/usr/bin/php /home/username/public_html/index.php
    21226 (Trace) (Kill)	543	0	  4.3	  0.7	/usr/bin/php /home/username/public_html/index.php
    21227 (Trace) (Kill)	543	0	  4.3	  0.7	/usr/bin/php /home/username/public_html/index.php
    21234 (Trace) (Kill)	543	0	  4.3	  0.7	/usr/bin/php /home/username/public_html/index.php
    21265 (Trace) (Kill)	root	0	  2.6	  2.1	whostmgr2 - top ./top
    21260 (Trace) (Kill)	543	0	  2.6	  0.5	/usr/bin/php /home/username/public_html/index.php
    21284 (Trace) (Kill)	543	0	  1.0	0.3	/usr/bin/php /home/username/public_html/index.php
    21269 (Trace) (Kill)	543	0	  1.0	0.0	[php] <defunct>
    21270 (Trace) (Kill)	543	0	  1.0	0.0	[php] <defunct>
    21271 (Trace) (Kill)	543	0	  1.0	0.0	[php] <defunct>
    21272 (Trace) (Kill)	543	0	  1.0	0.0	[php] <defunct>
    21278 (Trace) (Kill)	543	0	  1.0	0.0	[php] <defunct>
    21279 (Trace) (Kill)	543	0	  1.0	0.0	[php] <defunct>
    21111 (Trace) (Kill)	uyi546ui	0	  0.8	0.4	/usr/bin/php /home/username2/public_html/index.php
    1890 (Trace) (Kill)	mysql	0	  0.7	  2.7	/usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/var/lib/mysql/server.domain.co.uk.err --open-files-limit=8192 --pid-file=/var/lib/mysql/server.domain.co.uk.pid
    i happy who suggestions to me.
     
    #1 Bakowang, Oct 27, 2014
    Last edited by a moderator: Oct 27, 2014
  2. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    621
    Likes Received:
    6
    Trophy Points:
    18
    why do you think you have high load? it dont appears like that much
    cpu/ram/hdd?

    check "top" command headers to see if cause is ram, cpu or disk (high %wa) value
     
  3. Bakowang

    Bakowang Member

    Joined:
    Oct 27, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    United Kingdom
    cPanel Access Level:
    Root Administrator
    here is my service status check here.

    Server load 84.22 (2 CPUs)
    Memory Used 57.01% (1,793,240 of 3,145,728)
    Swap Used 27.49% (864,700 of 3,145,728)

    - - - Updated - - -

    load average is Load Averages: 11.12 25.48 16.89
     
  4. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    621
    Likes Received:
    6
    Trophy Points:
    18
    WHM /System health / Process Manager can also tell you which processes consuming most CPU
    Also you can try linux "top" command to see if %wa value is not high (>10), it can tell you HDD has too much work.
     
  5. Bakowang

    Bakowang Member

    Joined:
    Oct 27, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    United Kingdom
    cPanel Access Level:
    Root Administrator
    when on here domain domain.com get to some refresh page it's reading some high load some time Load Averages: going to 48.12 7.23 8.00 or 68.12 7.23 8.00 i don't know why it's high load when refresh or someone visit here domain. going to up load average. and when going to 48.12 7.23 8.00 page whm and some position pages going to very slow. i don't know about this problem can you understand this problem?

    this domain use wordpress
     
  6. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    621
    Likes Received:
    6
    Trophy Points:
    18
    Your website is quite big (thanks to images). Try to follow optimization advices from webpagetest.org or gtmetrix.com, tools.pingdom.com
    high cpu can be also because of badly optimized wordpress blugins maybe
     
  7. anton_latvia

    anton_latvia Well-Known Member
    PartnerNOC

    Joined:
    May 11, 2004
    Messages:
    348
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Latvia
    cPanel Access Level:
    Root Administrator
    How does apache status look like?
     
Loading...

Share This Page