Skip to contentSkip to conversation

Possible cache memory leak.

BUG Bodo Eggert 1 participant 1 message Sep 21, 2007 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 10 lines · Micha? Kazior

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

Signature · 4 lines
To define recursion, we must first define recursion. 

Friß, Spammer: [email protected] [email protected]
 [email protected] [email protected]