icache > dentry cache. memory leak? Re: Fwd: Re: memory usage - dentry_cache
Quoted 9 lines
To possbile answer my own question:
if I do a can on/proc/slabinfoI get on the machine with "MISSING" memory:
----
slabinfo - version: 1.1 (SMP)
--- cut outinode_cache920558 930264 480 116267 116283 1 : 124 6
--- cut outdentry_cache557245 638430 128 21281 21281 1 : 252 126
You've found the missing memory: the fifth number is the number of pages allocated for a cache: 125000 pages or 500 MB.
The first number is the number of allocated objects, the second number is the total number of objects (the difference are preallocated dentries/inodes to speed up further allocations and internal fragmentation)
the third number is the size in bytes of one structure, then the number of pages in use, and the total number of pages (the difference are freeable pages that can be free by the memory pressure code)
The odd thing is that the inode cache is nearly twice as large as the dentry cache.
Does that indicate a memory leak?
--
Manfred