| Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-21-2013, 02:27 PM
|
#1
|
|
LQ Newbie
Registered: Jul 2012
Posts: 4
Rep: 
|
identifying cause of Consistent High IO Wait on RHEL 5.8 server
I have an RHEL 5.8 server that has been experiencing high io wait times as queried via snmp, or displayed via top. The wait time is hovering in the 35-50% range.
I've tried using ps to look for processes that go into a 'D' state, by using a snippet like this:
for x in `seq 1 1 10`; do ps -eo state,pid,cmd | grep "^D"; echo "----"; sleep 5; done
which gives me the following processes as being in a D state -
syslogd
kjournald
I don't see anything unusual being written to the syslogd. /var/log/messages is about 4 mb, after 4 days of being written to.
I'm not sure where to go next with this. Can anyone suggest what to look for next?
Thanks
|
|
|
|
02-21-2013, 04:25 PM
|
#2
|
|
Senior Member
Registered: Aug 2009
Posts: 3,497
|
Are there any hardware issues reported? .. like a failed disk? .. or a raid controller issue?
|
|
|
|
02-22-2013, 01:14 AM
|
#3
|
|
Guru
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 6.4, Centos 5.9
Posts: 15,261
|
|
|
|
|
02-27-2013, 03:48 PM
|
#4
|
|
LQ Newbie
Registered: Jul 2012
Posts: 4
Original Poster
Rep: 
|
No disk or controller issues that I can find. I'm going to try IOTOP and see what that reveals.
|
|
|
|
02-27-2013, 07:17 PM
|
#5
|
|
Senior Member
Registered: Feb 2004
Location: Chicago
Distribution: CentOS
Posts: 1,180
Rep:
|
Get the load close to 0, then try to write a 2GB file to the harddrive, then read it. If its slow, then the drive is probably bad.
Code:
time dd of=testfile if=/dev/zero bs=1024 count=2048000;
time cat testfile >/dev/null
|
|
|
|
02-27-2013, 07:31 PM
|
#6
|
|
Guru
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 6.4, Centos 5.9
Posts: 15,261
|
BTW, if its only those 2, that's odd. This 'kjournald' is worrying (kernel journal 'process' for ext3, ext4 fs).
Maybe disk is going bad, so running out of good blocks?
Have a look at http://linux.die.net/man/8/smartctl
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:18 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|