Re: [BUG] Possible cache memory leak.

From: Bodo Eggert
Date: Fri Sep 21 2007 - 10:48:16 EST


Micha? Kazior <kazikcz@xxxxxxxxx> wrote:

> I've discovered a strange thing lately. My memory is being sucked out
> when doing (I suppose) _a lot_ of stat() on the file system. I got left
> once with ~30MB of ram (of 512 in total) which made my system trash
> like hell. You might try doing the following to reproduce the effect:
>
> $ echo 1 > /proc/sys/vm/drop_caches
> $ vmstat # write down the result
> $ du -s -x /lots/of/files # keep it running for a minute
> $ echo 1 > /proc/sys/vm/drop_caches
> $ vmstat # write it down too

RTFM: Documentation/filesystems/proc.txt
--
To define recursion, we must first define recursion.

Friß, Spammer: xrju@xxxxxxxxxxxxxxxxxxxxxxx Oe8nj@xxxxxxxxxxxxxxxxxxxxxxx
j@xxxxxxxxxxxxxxxxxx k@xxxxxxxxxxxxxxxxxxxxxx
-
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/