Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a fresh installation of Ubuntu 12.04, I have been running it for about a week. Suddenly today I noticed my computer freezes every 5 seconds. I restarted the computer and I still get this. I believe it is a process called watchdog/0 that is using all the resources. See the attached pictures.

How can I stop this? I can barely use my computer like this.

see CPU hits 100% when idle it is the watchdog process

UPDATE

Well I just did a cold reboot, (shutdown, unplug, and plug back in, and turn on) and it seems to have fixed it. After looking at the man page for watchdog, it seems that this process may stay on during a restart? so it is more like a soft restart? Why that happens I don't know.

share|improve this question

1 Answer

Here's a quick summary of what it does:

The watchdog program writes to /dev/watchdog every ten seconds. If the device is opened but not written to within a minute, the machine will reboot. This feature is available when the kernel is built with ‘software watchdog’ support (standard in Debian kernels).

While it may seem useful, it's not really that crucial for your system's reliability, moreover it tends to cause unnecessary wakeups which in turn may lead to shorter battery performance/ You can easily disable it by adding nmi_watchdog=0 to your kernel boot parameters in /etc/defaults/grub.

share|improve this answer
Thanks that sounds like a good solution. I wonder why it was eating all the CPU usage every few seconds? – jeffery_the_wind May 10 '12 at 10:44

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.