I have a virtual server running Debian 5 where any action is very slow (like password verification when logging in via SSH or doing su). I checked the load average, which is hovering around 1-2. Then I stopped all services (apache, mysql, postfix, etc) I could think of and the load average went down to 1.00. But it will not go further down…
I looked at top and no process seems to be using CPU or memory unusually. Log files show no unusual activity and network traffic seems to be normal.
What other tools can I use to diagnose the problem? How can I figure out what is “stuck”? Is it possible that the host machine is at fault here?
I seem to remember having an issue with a server that was like this (load at 1 but not CPU). In that particular case it was caused by processes in the “Uninterruptible Sleep” state. Do a
ps aux and look for processes with “D” in the STAT column. I honestly can’t remember much about this issue, but maybe that’s a toehold you can use for further investigation.