Bug 953676
Summary: | setroubleshootd uses too much RAM | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | John Reiser <jreiser> |
Component: | setroubleshoot | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 19 | CC: | dwalsh, mgrepl |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-05-02 04:32:45 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
John Reiser
2013-04-18 21:08:06 UTC
We are just shipping it as it is... moving to setroubleshoot for comment. Note that some of this might be due to the debugging kernel. If you boot with 'slub_debug=-' and disable that part of debugging does it reduce memory needs? No, 'slub_debug=-' does not change the memory needs; it just liberates some cycles. setroubleshootd has 10 seconds of CPU time and 55MB of RAM, and nothing is happening. Perhaps setroubleshootd should dismiss itself if all is quiet for several minutes? It is supposed to die after 10 seconds. Fixed in setroubleshoot-3.2.6-1.fc19 Also realize that python is not using as much memory as you think. http://illiterat.livejournal.com/4615.html Thank you for the change which makes the process disappear soon. As for how much RAM is actually used, that linked page does not explain this case. The /proc/PID/smaps (step 4 of "Steps to reproduce") shows 54.8MB of Private_Dirty and Anonymous pages, not Shared with any other process, and not in Swap. That 54.8MB is actual physical RAM that no other process can use. (It might possibly be shared in the future if setroubleshootd created a child process, but there aren't any children at the moment.) Thus having the process exit() will return 54.8MB to the pool of Free pages; and that is 5% of 1GB RAM. setroubleshoot-3.2.6-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/setroubleshoot-3.2.6-1.fc19 Sadly same bug in F18. Package setroubleshoot-3.2.7-1.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing setroubleshoot-3.2.7-1.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-6063/setroubleshoot-3.2.7-1.fc19 then log in and leave karma (feedback). Package setroubleshoot-3.2.8-1.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing setroubleshoot-3.2.8-1.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-6063/setroubleshoot-3.2.8-1.fc19 then log in and leave karma (feedback). setroubleshoot-3.2.8-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |