Summary: | sssd_nss grows memory footprint when netgroups are requested | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Rui Gouveia <rgouveia> | ||||
Component: | sssd | Assignee: | Jakub Hrozek <jhrozek> | ||||
Status: | CLOSED ERRATA | QA Contact: | Kaushik Banerjee <kbanerje> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 6.4 | CC: | dpal, ekeck, grajaiya, jgalipea, jhrozek, jkurik, lslebodn, mkosek, nkarandi, nobody, pbrezina, preichl, rgouveia, sreber | ||||
Target Milestone: | rc | Keywords: | Reopened, ZStream | ||||
Target Release: | 6.5 | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | sssd-1.9.2-132.el6 | Doc Type: | Bug Fix | ||||
Doc Text: |
Cause: Memory was not freed corectly
Consequence: Memory growth if the application requesting netgroups was a long-running one
Fix: Memory is freed corectly
Result: Memory is no longer leaking even in long-running applications
|
Story Points: | --- | ||||
Clone Of: | 1023409 | ||||||
: | 1040969 (view as bug list) | Environment: | |||||
Last Closed: | 2014-10-14 04:47:23 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: | |||||
Bug Depends On: | 1023409 | ||||||
Bug Blocks: | 1040969, 1044905 | ||||||
Attachments: |
|
Comment 1
Jakub Hrozek
2013-12-04 14:21:22 UTC
Upstream ticket: https://fedorahosted.org/sssd/ticket/2170 Created attachment 832692 [details]
source code of reproducer
Bug can be reproduced with attached example program.
gcc -Wall netgroup.c -o netgroup
./netgroup netgroup_name
Memory leak is reproducible also with non-existing netgroup.
RSS of sssd_nss process was increased about 200 MB in 3 minutes.
Fixed upstream: * master: 65f4003b93157b32eb0dcd6955d37dd009dc960e * sssd-1-11: 8696135e659685394937f81136521c676f0a0678 * sssd-1-9: 34728310b600c700188b2679118a1af85bcdaaaf The bug has been fixed upstream in all supported branches. Tested with sssd-1.11.6-12.el6.x86_64 Verified via beaker run. https://beaker.engineering.redhat.com/jobs/707409 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-1375.html |