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

From: Klaus Dittrich
Date: Mon Jul 26 2004 - 15:43:03 EST


Andrew Morton wrote:

kladit@xxxxxxxxxxx (Klaus Dittrich) wrote:


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


>snapshot?

Did it and here is the answer.

kernel-2.6.7 and bk's up to 2.6.7-bk7 survived a du -s,
kernels starting with 2.6.7-bk8 did not.



Dammit, -bk7 to -bk8 is a 1.8M diff. Relevant changes include the switch
to the rcu callbacks (make them take an rcu_head* rather than a void*) and
the introduction of /proc/sys/vm/vfs_cache_pressure.

So the immediate question is: please check the contents of your
vfs_cache_pressure tunable. It should be 100. A setting of zero would
cause this behaviour.



Compiler gcc-3.4.1


It would be useful to try a different compiler version.

There's _something_ different in your setup. If we can work out what this
factor is, it will lead us to the bug.




cat /proc/sys/vm/vfs_cache_pressure shows 100.
Should I try an older or newer compiler ?

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