Home » questions » How can I tell which program is causing high iowait on Redhat?

How can I tell which program is causing high iowait on Redhat?

2006-08-17 11:04:40, Category: Programming & Design
I have a Redhat enterprise 3 box that has to be rebooted sometimes several times a week because of crippling iowait (between 80% - 95%). This seems to occur randomly and suddenly, I'm running apache, mysql, mailserver. sometimes i go a month without problems, other times I'm rebooting every day, how do I track down the culprit program? top shows CPU usage is very low during iowait problem times.

Answers

  1. angeldreams110

    On 2006-08-21 10:18:40


    dont know
  2. dlucf

    On 2006-08-17 11:12:57


    Oh this is a tough one. My first guess is with the SQL or mail server. First, check the mail logs and see if you're getting mail bombed or something weird like that. Then check the DB transaction logs. Is there a lot of activity here? If neither of these turn up anything, try switching one of the services off for a day. See if you still get the problem. If you do, then turn that service back on and try another. If the problem goes away, then you've narrowed it down.
  3. John J

    On 2006-08-17 11:47:02


    If you run the command "top" it should display the programs that are taking up the most CPU time. Look at the man page to see all the options.