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

From: Klaus Dittrich
Date: Tue Jul 27 2004 - 16:07:36 EST


Klaus Dittrich wrote:

Jan-Frode Myklebust wrote:

On Mon, Jul 26, 2004 at 11:39:34PM +0200, Klaus Dittrich wrote:


cat /proc/sys/vm/vfs_cache_pressure shows 100.


What about trying to increase the vfs_cache_pressure which seemed
to solve what to me looks like a similar problem:

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&safe=off&threadm=2m9Oo-Oo-17%40gated-at.bofh.it&rnum=1&prev=/groups%3Fhl%3Den%26ie%3DUTF-8%26safe%3Doff%26q%3Djan%2Bfrode%2Boom%2Bdsmc%26spell%3D1


http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&safe=off&threadm=2mdfi-3cC-11%40gated-at.bofh.it&rnum=2&prev=/groups%3Fq%3Djanfrode%2Boom%2Bdsmc%26ie%3DUTF-8%26hl%3Den%26btnG%3DGoogle%2BSearch



-jf


I did a test with a value of 500. echo 500 > /proc/sys/vm/vfs_cache_pressure.

The highest numbers a cat /proc/sys/fs/dentry-state then showed during
a du -s were
780721 750505 45 0 0 0

The system survied. No processes were killed.

With vfs_cache_pressure=100 a cat /proc/sys/fs/dentry-state showed
numbers of about 1090000 before processes got killed.

Hope that helps to narrow the region to look for what has changed.

PS. Two concurrent du -s however "kernel: Out of Memory: Killed process .."
-
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/