Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Your Linode, linodeXXXXX, has exceeded the notification threshold (1000) for disk io rate by averaging 1079.99 for the last 2 hours.

That's what I've been getting in my email for the past week, about 2-3 a day. I tried a few solutions, including finding other ServerFault posts on this issue, but they are not helping.

For example, I tried:

watch -n 1 "(ps aux | awk '\$8 ~ /D/  { print \$0 }')"

At various intervals, this will populate with an nginx process, or a kjournald process, etc but only for a few seconds. So it doesn't really help in figuring out what's causing it, it just tells me I keep getting high i/o.

Thus, the question becomes How can I identify what is causing this high i/o usage? Ideally, without starting at a process list for 6 hours.

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

Install and run iotop. The topmost processes in the iotop display are very likely the ones generating the majority of the I/O requests in your VM.

share|improve this answer
    
@Bartek: you can also use the -o switch, which tells iotop to only show you the processes which are doing io. –  nayden Oct 25 '10 at 21:12
    
Thanks, this is a great tool. I'll keep my eye on the display, but thus far nothing is really standing out (processes jumping around .. mySQL using some IO but only in 1-second spurts before going away from the list) –  Bartek Oct 25 '10 at 21:26
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.