My server is experiencing a high usage of nfs_inode_cache = 11G , im trying to figure out what's consuming all this , i know already that directories with large numbers of entries and deep directory structures are searched and traversed by some java applications.
Is there any way to look into the dentry cache to see what all this memory is (what are the paths that are being cached)?
Here is my slabtop command :
OBJS ACTIVE USE OBJ SIZE SLABS OBJ/SLAB CACHE SIZE NAME 8603424 8603424 100% 1.01K 2867808 3 11471232K nfs_inode_cache 3080826 3080737 99% 0.21K 171157 18 684628K dentry_cache 24717 12515 50% 0.52K 3531 7 14124K radix_tree_node 11365 11108 97% 0.74K 2273 5 9092K ext3_inode_cache
Here is my cache pressure : cat /proc/sys/vm/vfs_cache_pressure 100