iowait

Debugging 100% iowait problem in linux

I've been trying to trace down why I have 100% iowait on my box. If I do something like a mysql select query, system goes to 100% iowait (on more than one cpu on my server,) which kills my watchdogs and sometimes kills httpd itself. In vmstat I see that every 8 seconds or so, there's a 5MB disk write. And that causes at least one cpu (...

Differentiating IOWAIT in Linux

I'm working on a monitoring agent that works with systems using the Linux kernel. By opening /proc/stat , you can easily tell how much time one one or all CPUs (aggregate) is burning waiting for I/O requests to complete. I'm trying to find a way to break that number down so that I can differentiate between disk and network i/o. For inst...

How to get the system ioWait

How can i get the systems ioWait? This would be preferable by using info the /proc interface( i guess its written somewhere in there) so an app could detect this, but an external call to exec() from my app would be acceptable. ...

Ubuntu lucid, maverick high iowait

I'm using Ubuntu, and I've got the same problem with Lucid and Maverick. From time to time, especially a few minutes after boot, the iowait goes between 50-100% and the box is unusable. Everything that tries to access the disk freezes. I have the following setup: Hard disk: Model Family: Western Digital Caviar Green family Devic...