Debian: top process under user root uses all CPU time
Debian Lenny KDE 3.5.9
Kernel 2.6.26 Sometimes my desktop computer becomes very sluggish. Often it is famd or Opera responsible for this. Anyway, I run 'top' a lot of times. Today I did that again and this is what I saw: The top process started by user root is using over 90% of all CPU time. Then top is not that useful anymore. http://pdis.rnw.nl/~hansl/links/top1.jpg That is weird, but root was not even logged in at that time, which makes it even more weird. See below on the picture. After logging in as root and killing the process everything was back to normal. No suspicious entries in auth.log. I have two more problems which occured over the course of time: - after a few days both of my scanners become very, veeeeeeeeeeeeeeery slow. Replugging doesn't help, rebooting does. - at random times, my network is gone and I have to restart my network. This can happen within 12 hours of a reboot, or in 12 days. After a reset of the network the period is as random, but sometimes it can happen several times on one evening. Sounds like a HW problemm BUT... at home I am running Debian Lenny as well, and since dec 29 2008 I see exactly the same behaviour that I have to reset the network regularly. And now this with the top process... Don't ask me what I installed the past few months and what not. Of course I install Debian programs now and then, with associated dependencies. Bot the office machine and home machine have identical packages installed, have an identical NIC (3C905) and one scanner is identical (Canon LiDE 25) Any other Debian user seen this weird behaviour? jlinkels |
I wouldn't be alarmed by the cpu usage of top, so long as it doesn't stay up there. It is expected that processes, while on the CPU, will utilicize it well. At a particular polling instance, top may be running its backend slice, and sure, it'll be doing some work. Does top sustain that level for a while, or just appear at the top every now and again? Also, it has been widely argued that top is not the most accurate monitoring utility, in particular when it comes to memory usage (see the internetz 4 more details.)
|
I know how top behaves, usually it shows some bursts. But it stays there put. Using 80-95% CPU time, dependent on what the other processes leave, and for more than a few minutes. And I cannot understand why it runs as root account while root wasn't logged in.
jlinkels |
Quote:
|
No offence taken, I just a bit stressed :)
|
it looks like an old top process (maybe a crashed one), not the one that is visible (look at the cpu time).
As for myself, I haven't seen any unusual behaviour of top. I have, however, had the same problems with famd. Fam annoyed me with cpu usage and unnessary blocking of ressources (which prevented unmounts and so on), so I replaced it with gamin. Gamin runs fine and hasn't shown any such behaviour so far. |
hmm, I haven't seen that behaviour (and top seems to be better behaved in difficult circumstances than ksysguard). However I note that recently I seem to have switched from 'top' to 'htop' without having a very clear reason for doing that, apart from that the display seems 'friendlier'.
So one question that you might like to answer is does htop do the same thing as top? |
Quote:
Quote:
Quote:
Maybe this is just the next step to a detoriationg system. No, I am not wanting to reinstal this system. I installed it in 2004 already and upgraded it ever since, it is not Windows. Although... since New Year I already restarted the machine twice. I used to do that twice a year. jlinkels |
All times are GMT -5. The time now is 10:12 AM. |