CPU on ubuntu goes crazy

1

I am running ubuntu 9.10. At the sudden the CPU goes crazy and when I do top, it is used by a command called 'dd' and it is run by USER 'root'. It keeps going to for > 15 minutes.

Can you please tell what is it doing? and if I can kill it by reboot my machine?

Thank you.

n179911

Posted 2010-03-05T02:44:33.413

Reputation: 3 123

press 'c' in top to have it show the whole command line. – user23307 – 2010-04-08T01:27:35.200

Answers

1

There is usually a dd process running to copy data output by the kernel from virtual file /proc/kmsg to /var/run/syslog/kmsg, presumably so it can be kept (anything in /proc is temporary state). Under normal circumstances this process runs from boot until you shut the machine down.

If you run ps ax | grep \ dd you will see the process listed with its full command line. This command should not be consuming much resource at all so should be fine to be ignored.

Does the process show as consuming much CPU time in top? What other processes are consuming CPU time?

It would be a good idea, next time the issue occurs, to run top -n 1 and add the output of that to your question so we can see what it being reported.

David Spillett

Posted 2010-03-05T02:44:33.413

Reputation: 22 424

0

I think the dd is cleaning up log files ... I've seen similar behaviour. You should to able to "sudo kill -9" the process, but I can't guarantee it will leave the logs in a readable state.

Nerdfest

Posted 2010-03-05T02:44:33.413

Reputation: 808