Bug 1403156
| Summary: | Memory leak on graph switch | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | rjoseph |
| Component: | libgfapi | Assignee: | bugs <bugs> |
| Status: | CLOSED DEFERRED | QA Contact: | Sudhir D <sdharane> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | mainline | CC: | amarts, amukherj, atumball, bugs, ndevos, pgurusid, rhs-bugs, sabose, storage-qa-internal |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1394229 | Environment: | |
| Last Closed: | 2019-04-22 06:18: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: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1394229 | ||
I believe we've done some good work overall on memory leaks, with Coverity and ASAN, clang-scan and reduction of GCC warnings. While I don't know if we fixed this specific issue, we need more focused bug. Agreed? Closing this. Will open specific bugs as encountered with latest version |
--- Additional comment from Poornima G on 2016-11-17 07:29:20 EST --- The culprits: - Inode table of old graph needs cleanup. Fix inode leaks Fix forget of each xl to free inode ctx properly - The xl objects itself (xlator_t) - The mem_accnt structure in every xl object. Fix all the leaks so that the ref count of mem_accnt structure is 0 - Implement fini() in every xlator