Micha? Kazior <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/