Bug 168162 - updateDB in daily cron uses all memory
Summary: updateDB in daily cron uses all memory
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Dave Jones
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-09-13 02:02 UTC by Richard Tresidder
Modified: 2015-01-04 22:22 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-09-14 05:45:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Richard Tresidder 2005-09-13 02:02:48 UTC
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
kernel 2.6.12-1.1372_FC3smp
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):


How reproducible:
Always

Steps to Reproduce:
1. run updatedb
2. used mem goes up to all available ram
3. does not come back down
  

Additional info:

Comment 1 Dave Jones 2005-09-14 05:45:41 UTC
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.

Thanks.


Comment 2 Rahul Sundaram 2005-09-14 07:34:51 UTC

Dave Jones,

Kernel bugzilla is now in http://bugzilla.kernel.org

Comment 3 Dave Jones 2005-09-14 07:37:15 UTC
they actually both point to the same site.



Note You need to log in before you can comment on or make changes to this bug.