Red Hat Bugzilla – Bug 168162
updateDB in daily cron uses all memory
Last modified: 2015-01-04 17:22:02 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Description of problem:
This is related to Bug 150945 extreme slab memory use
It seems that whatever the fix was for that bug has crept back into the
While running say updatedb. Or anything that scans the filesystem.
The ext3_inode_cache goes up to 100% usage and does not reduce.
This means that on a 1Gig system all of the actual ram is consumed for the task.
The SLAB info does not get reported in say top.
ie total available - usermem - buffers - cache != free
So it appears that there is a memory leak.
The huge SLAB usage for the inode cache, in this case just under 400MB does not get reported anywhere but slab info.
Also I find that at this point the swap tends to get used. There is no way the swap should be getting touched at that point.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. run updatedb
2. used mem goes up to all available ram
3. does not come back down
We don't have any VM changes that diverge from mainline, so this is better
reported upstream if you truly believe it's leaking.
http://bugme.osdl.org is the upstream kernel bugzilla.
Kernel bugzilla is now in http://bugzilla.kernel.org
they actually both point to the same site.