LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-11-2009, 01:08 PM   #1
markjohnson
LQ Newbie
 
Registered: Feb 2009
Posts: 3

Rep: Reputation: 0
Question Load Average problem


Hello,

I am a novice Linux server administrator so please bear with me.

One of the server I manage is a web server which runs normally most of the day, but in the morning as it's backing up the mysql database, the load avg goes sky high and the server eventually comes to a halt, requiring me to hardboot it.

How can I go about fault finding here?

The server is:

Quote:
Linux ns.mydomain.com 2.6.18-92.1.22.el5 #1 SMP Tue Dec 16 12:03:43 EST 2008 i686 i686 i386 GNU/Linux
CentOS release 5.2 (Final)
1.8 GHz 2MB Cache Intel® Core™ 2 Duo processor
512 MB RAM and 80 GB hard disk drive

Let me know if you would like me to post my.cnf or httpd.conf's settings

Many thanks!
 
Old 02-11-2009, 05:02 PM   #2
rtspitz
Member
 
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307

Rep: Reputation: 33
Does this machine have to run 24/7 ?

If it crashes under heavy load it could be bad RAM (-> memtest), bad ventilation (check fans, remove dust), bad power supply (measure voltages with a scope when under load, too much ripple ? voltage drift ?)

It may be cheaper and much quicker in the long run to get a new machine than having to fix this one at knife point. Minimum downtime and some hardware to play with.
 
Old 02-11-2009, 08:12 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Is it running out of disk space?
 
Old 02-11-2009, 08:40 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Centos should have sar - that should show you the progression of any problems.
High loadavg could be lots of tasks being spawned, or lots of outstanding I/O. One would suspect the latter, but with mysql, who knows.
I'd be betting on the I/O, and swap activity being driven up - all apparently against just the one disk.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
load average? ampex189 Linux - Newbie 2 03-06-2005 07:17 PM
load average approaching 20 kfiralfia Linux - General 5 09-29-2004 09:35 AM
Load average 1.0, 1.0, 1.0 ? belated Linux - Newbie 4 11-30-2003 03:49 PM
Load average calculation ? mikeshn Linux - General 4 08-27-2003 02:53 PM
Average load Cyth Linux - General 1 01-22-2002 03:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration