Re: dentry cache leak? Re: rsync out of memory 2.6.8-rc2

Andrew Morton
2004-07-26T01:08:16Z

kladit@t-online.de (Klaus Dittrich) wrote:
>
> The fs is ext2.cat /proc/sys/fs/dentry-state
> Output of cat /proc/sys/fs/dentry-state before and after processes got
> killed.
> 891083 888395 45 0 0 0
> 1142933 1085759 45 0 0 0

This bug is probably unique to yourself and a couple of other people. If
it was hitting everyone, all the machines in the world would be going oom
during the nightly updatedb run.

Can you try a different compiler version? And try disabling any "unusual"
config options, such as filesystem quotas, extended attributes, etc?

Can you narrow the onset of the problem down to any particular kernel
snapshot?

Try disabling laptop_mode, if it's set.

Carefully review the logs for any oopses: oopsing while holding
shrinker_sem will do this for sure.