INFO: task snmpd:398 blocked for more than 120 seconds.

David Laight David.Laight at ACULAB.COM
Tue Nov 9 02:19:22 EST 2010


 
> I can't make out what is causing this hang every now an then:
> 
> INFO: task snmpd:398 blocked for more than 120 seconds.

My problem with that 'error' message is that there is no way
for a driver to disable it on a per-process basis.
We have some processes whose 'normal state' is to sleep
uninterruptibly in the kernel. Shutdown is handled by
an explicit request (not by sending a signal).
The processes could be kernel worker threads (except that
is is ~impossible to handle them exiting from a loadble
kernel module) so are actually children of a daemon sat
inside an ioctl() request that never terminates!

However, on the face of it, your case does look as though
the mutex is fubar'ed.

Might be worth (somehow) dumping the mutex state.

	David




More information about the Linuxppc-dev mailing list