Bug 162119
| Summary: | slocate / updatedb appears to have a memory leak | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | David Dunbar <dmdunbar> | ||||
| Component: | libgtop2 | Assignee: | Søren Sandmann Pedersen <sandmann> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 3 | CC: | kem, mattdm, mitr | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | athlon | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2007-03-23 16:31:01 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
David Dunbar
2005-06-30 03:32:41 UTC
Created attachment 116160 [details]
System monitor output when the /etc/cron.daily/slocate.cron is executed manually.
Running slocate allocates many entries in the dentry and inode caches, which are accounted for in the Slab: line of /proc/meminfo. libgtop2's glibtop_get_mem_s () computes "user" memory as MemTotal: - MemFree: - Cached: - Buffer: (using the /proc/meminfo terminology), which means that the dentry cache is accounted for as "user" memory. I'm not quite sure whether just subtracting Slab: from "user" memory is good enough (some of the memory allocated as Slab: is directly caused by user-space actions, e.g. opening a file, creating a process), but I think it still would be an improvement. More detail is available in /proc/slabinfo if necesary. Fedora Core 3 is now maintained by the Fedora Legacy project for security updates only. If this problem is a security issue, please reopen and reassign to the Fedora Legacy product. If it is not a security issue and hasn't been resolved in the current FC5 updates or in the FC6 test release, reopen and change the version to match. Thank you! |