Results 1 to 25 of 36
Thread: Server Load Average Problem
-
07-31-2010, 04:09 AM #1Junior Guru Wannabe
- 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?
-
07-31-2010, 04:36 AM #2Junior Guru Wannabe
- 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.
-
07-31-2010, 04:47 AM #3Junior Guru Wannabe
- 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
-
07-31-2010, 04:49 AM #4Junior Guru Wannabe
- Join Date
- Jul 2010
- Location
- Hoschton, GA
- Posts
- 82
Is 'krazyboy's website insanely popular? He may be running a malicious script.
-
07-31-2010, 04:50 AM #5Junior Guru Wannabe
- Join Date
- Jul 2010
- Posts
- 45
krazyboy is my actual web site
-
07-31-2010, 04:51 AM #6Junior Guru Wannabe
- 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?
-
07-31-2010, 04:54 AM #7Junior Guru Wannabe
- 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
-
07-31-2010, 05:05 AM #8Junior Guru Wannabe
- Join Date
- Jun 2010
- Location
- Geelong, VIC, Australia
- Posts
- 66
Last edited by WeHostIt; 07-31-2010 at 05:12 AM.
-
07-31-2010, 05:08 AM #9Junior Guru Wannabe
- Join Date
- Jul 2010
- Posts
- 45
so wat can be done
-
07-31-2010, 05:11 AM #10Junior Guru Wannabe
- Join Date
- Jun 2010
- Location
- Geelong, VIC, Australia
- Posts
- 66
-
07-31-2010, 05:16 AM #11Junior Guru Wannabe
- Join Date
- Jul 2010
- Posts
- 45
no its a free script available
-
07-31-2010, 05:19 AM #12Junior Guru Wannabe
- Join Date
- Jun 2010
- Location
- Geelong, VIC, Australia
- Posts
- 66
-
07-31-2010, 05:38 AM #13Web Hosting Master
- Join Date
- Apr 2009
- Posts
- 1,321
-
07-31-2010, 06:11 AM #14Junior Guru Wannabe
- Join Date
- Jul 2010
- Posts
- 45
12 hour pass of day site is krazywap.com
-
07-31-2010, 07:13 AM #15Junior Guru Wannabe
- 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?
-
07-31-2010, 08:33 AM #16Junior Guru Wannabe
- 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
-
08-01-2010, 12:11 PM #17Newbie
- 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
now look at load average and see if it get down
to run apache type that command
PHP Code:service httpd start
type that command
PHP Code:service mysql stop
to run mysql type that command
PHP Code:service mysql start
^__^Last edited by medo93; 08-01-2010 at 12:15 PM.
-
08-02-2010, 02:32 AM #18Junior Guru Wannabe
- Join Date
- Jul 2010
- Posts
- 45
i have tried and mysql is not causing any problem its httpd so what can be done now
-
08-02-2010, 02:57 AM #19Junior Guru Wannabe
- 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.
-
08-02-2010, 08:00 AM #20Newbie
- Join Date
- Aug 2010
- Location
- Egypt
- Posts
- 27
-
08-02-2010, 08:05 AM #21Junior Guru Wannabe
- Join Date
- Jul 2010
- Posts
- 45
i am on dedicated server core 2 duo 2.9 ghz 2bg ram
-
08-02-2010, 09:10 AM #22Web Hosting Master
- 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
-
08-02-2010, 09:14 AM #23Junior Guru Wannabe
- 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
-
08-02-2010, 09:19 AM #24Web Hosting Master
- 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
-
08-02-2010, 09:24 AM #25Newbie
- Join Date
- Aug 2010
- Location
- Egypt
- Posts
- 27
Similar Threads
-
Need some help on a Hourly high 5 minute load average problem
By echenail in forum Hosting Security and TechnologyReplies: 20Last Post: 08-06-2009, 06:13 PM -
From shared to dedicated server (vbulletin forum) Problem with load average
By mf1983 in forum Systems Management RequestsReplies: 6Last Post: 05-19-2008, 06:07 PM -
Average Server Load
By CymraegWalesHosting in forum Dedicated ServerReplies: 5Last Post: 05-03-2007, 08:31 AM -
Average Server Load
By HostVillage Sales in forum Dedicated ServerReplies: 4Last Post: 04-23-2007, 04:34 PM -
Average Server Load...
By BlueB in forum Hosting Security and TechnologyReplies: 1Last Post: 08-06-2003, 03:26 AM