Re: 2.6.27 inotify causes unkillable processes with 100% CPU usage

From: Holger Hoffstaette
Date: Mon Dec 15 2008 - 08:52:50 EST


On Mon, 15 Dec 2008 12:05:12 +0000, Al Viro wrote:

> On Mon, Dec 15, 2008 at 01:31:29PM +0200, Timo Sirainen wrote:
>> There appears to be a bug in 2.6.27 and inotify where it causes
>> processes in running state to eat 100% CPU and they can't be killed with
>> kill -9, requiring a reboot to get rid of them.
>
>> Kernels causing the hang:
>>
>> 2.6.27-9.slh.1-sidux-686
>> Arch Linux, kernel 2.6.27.8
>> Gentoo with 2.6.27-gentoo-r5, amd64, 2 dual core opterons
>>
>> Not causing the hang:
>>
>> 2.6.26-6.slh.1-sidux-686
>
> Could you try to bisect that? Particulary interesting commits:

Please see this posting, which also contains a pointer to the
necessary patch:
http://lkml.indiana.edu/hypermail/linux/kernel/0812.1/02305.html

According to GregKH it will be in -stable.10, but in the meantime you can
also apply the patch from http://tinyurl.com/5gpqkj on top stable .8
(which introduced the regression) or .9.

At this point it is not clear whether the changes to inotify caused this
or just fell victim to the parallel regression in idr.

-h


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/