"sleep 1" sleeps for 15+ seconds
I originally came across the problem in perl, but have managed to determine it's happening when I run the standard sleep util from bash as well.
When I enter "sleep 1" or "sleep 2" or "sleep 5", the box stalls for 15-30 seconds, not 1 or 2 or 5 seconds.
"w" shows a load average of 0.00 0.00 0.00
It's a Pentium 4, 2.8 GHz box doing practically nothing else.
I'm accessing it by SSH, and it's running Ubuntu server, not desktop. No X installed.
I'm not sure how to troubleshoot further. I've resorted to downloading source packages, in the hopes that I can study the implementation of "sleep" closer, but in the meantime I'm hoping someone has seen this before and will say "oh, you need to change a setting in /etc/foo in order to detect your CPU clock correctly" or something.
Anybody?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Geoff Pendery
- Solved:
- Last query:
- Last reply: