dentry leak in 2.5.x

wli@holomorphy.com
Sun, 13 Apr 2003 15:29:08 -0700


Seen on 2.5.65-mm3, updatedb got dentry + inode caches eating 740/768MB:

$ head /proc/sys/fs/*state
==> /proc/sys/fs/dentry-state <==
1192481 1194571 45 0 0 0
==> /proc/sys/fs/inode-state <==
1182447 49053 0 0 0 0 0

Then, after listening to it swap for a while (the screen stopped
unblanking) I saw the state of affairs unchanged by swapoff -a:

$ head /proc/sys/fs/*state
==> /proc/sys/fs/dentry-state <==
1192501 1194592 45 0 0 0
==> /proc/sys/fs/inode-state <==
1182451 49053 0 0 0 0 0

Followed by blind reboot via sysrq, nothing visible on VGA or remotely.
I suspect a leak (or something). nr_unused is greater than nr_dentry.
UP 600MHz K7 768MB RAM, Adaptec 39160, tulip + eepro, reiserfs, preempt.

-- wli
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/