Re: Recursive chmod/chown OOM kills box with 32MB RAM

From: Hans Reiser
Date: Mon Jan 30 2006 - 01:11:11 EST


Chris, would Denis Vlasenko wrote:

>[CCing namesys]
>
>Narrowed it down to 100% reproducible case:
>
> chown -Rc 0:<n> .
>
>in a top directory of tree containing ~21938 files
>on reiser3 partition:
>
> /dev/sdc3 on /.3 type reiserfs (rw,noatime)
>
>causes oom kill storm. "ls -lR", "find ." etc work fine.
>
>I suspected that it is a leak in winbindd libnss module,
>but chown does not seem to grow larger in top, and also
>running it under softlimit -m 400000 still causes oom kills
>while chown's RSS stays below 4MB.
>--
>vda
>
>
>
>
Chris, would you like to handle this?

Thanks,

Hans
-
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/