| Summary: | [glusterfs-3.1.7qa4]: memory leak in nfs server | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Raghavendra Bhat <rabhat> |
| Component: | nfs | Assignee: | Krishna Srinivas <krishna> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | pre-release | CC: | gluster-bugs, vijay |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Raghavendra Bhat
2011-09-13 09:55:49 UTC
Investigating memleaks for: 3,028 (400 direct, 2,628 indirect) bytes in 2 blocks are definitely lost in loss record 176 of 221 ==6776== at 0x4A05140: calloc (vg_replace_malloc.c:418) ==6776== by 0x4C52012: __gf_calloc (mem-pool.c:142) ==6776== by 0x4C4E6FC: fd_create (fd.c:519) ==6776== by 0x7BE5020: nfs_inode_open (nfs-inodes.c:228) ==6776== by 0x7BE6912: nfs_open (nfs-generics.c:177) ==6776== by 0x7C01C76: __nfs3_file_open_and_resume (nfs3-helpers.c:2218) ==6776== by 0x7C01E9E: nfs3_file_open_and_resume (nfs3-helpers.c:2267) ==6776== by 0x7BF116F: nfs3_write_open_resume (nfs3.c:2079) ==6776== by 0x7C02FD4: nfs3_fh_resolve_inode_done (nfs3-helpers.c:2547) ==6776== by 0x7C04C95: nfs3_fh_resolve_inode (nfs3-helpers.c:3116) ==6776== by 0x7C04D32: nfs3_fh_resolve_resume (nfs3-helpers.c:3148) ==6776== by 0x7C04F2C: nfs3_fh_resolve_root (nfs3-helpers.c:3202) 1,632 (1,536 direct, 96 indirect) bytes in 6 blocks are definitely lost in loss record 161 of 221 ==6776== at 0x4A05140: calloc (vg_replace_malloc.c:418) ==6776== by 0x4C52012: __gf_calloc (mem-pool.c:142) ==6776== by 0x4C3BB18: __inode_create (inode.c:513) ==6776== by 0x4C3BC1F: inode_new (inode.c:544) ==6776== by 0x7BDC8E3: nfs_entry_loc_fill (nfs-common.c:366) ==6776== by 0x7C04A25: nfs3_fh_resolve_entry_hard (nfs3-helpers.c:3075) ==6776== by 0x7C04CDE: nfs3_fh_resolve_entry (nfs3-helpers.c:3132) ==6776== by 0x7C04D40: nfs3_fh_resolve_resume (nfs3-helpers.c:3150) ==6776== by 0x7C04F2C: nfs3_fh_resolve_root (nfs3-helpers.c:3202) ==6776== by 0x7C050D7: nfs3_fh_resolve_and_resume (nfs3-helpers.c:3244) ==6776== by 0x7BF2B32: nfs3_create (nfs3.c:2536) ==6776== by 0x7BF2CEA: nfs3svc_create (nfs3.c:2573) Leaks for other backtraces are obvious. The following leaks were not found in valgrind tests for dbench run. (In reply to comment #1) > Investigating memleaks for: > > 3,028 (400 direct, 2,628 indirect) bytes in 2 blocks are definitely lost in > loss record 176 of 221 > ==6776== at 0x4A05140: calloc (vg_replace_malloc.c:418) > ==6776== by 0x4C52012: __gf_calloc (mem-pool.c:142) > ==6776== by 0x4C4E6FC: fd_create (fd.c:519) > ==6776== by 0x7BE5020: nfs_inode_open (nfs-inodes.c:228) > ==6776== by 0x7BE6912: nfs_open (nfs-generics.c:177) > ==6776== by 0x7C01C76: __nfs3_file_open_and_resume (nfs3-helpers.c:2218) > ==6776== by 0x7C01E9E: nfs3_file_open_and_resume (nfs3-helpers.c:2267) > ==6776== by 0x7BF116F: nfs3_write_open_resume (nfs3.c:2079) > ==6776== by 0x7C02FD4: nfs3_fh_resolve_inode_done (nfs3-helpers.c:2547) > ==6776== by 0x7C04C95: nfs3_fh_resolve_inode (nfs3-helpers.c:3116) > ==6776== by 0x7C04D32: nfs3_fh_resolve_resume (nfs3-helpers.c:3148) > ==6776== by 0x7C04F2C: nfs3_fh_resolve_root (nfs3-helpers.c:3202) > > 1,632 (1,536 direct, 96 indirect) bytes in 6 blocks are definitely lost in loss > record 161 of 221 > ==6776== at 0x4A05140: calloc (vg_replace_malloc.c:418) > ==6776== by 0x4C52012: __gf_calloc (mem-pool.c:142) > ==6776== by 0x4C3BB18: __inode_create (inode.c:513) > ==6776== by 0x4C3BC1F: inode_new (inode.c:544) > ==6776== by 0x7BDC8E3: nfs_entry_loc_fill (nfs-common.c:366) > ==6776== by 0x7C04A25: nfs3_fh_resolve_entry_hard (nfs3-helpers.c:3075) > ==6776== by 0x7C04CDE: nfs3_fh_resolve_entry (nfs3-helpers.c:3132) > ==6776== by 0x7C04D40: nfs3_fh_resolve_resume (nfs3-helpers.c:3150) > ==6776== by 0x7C04F2C: nfs3_fh_resolve_root (nfs3-helpers.c:3202) > ==6776== by 0x7C050D7: nfs3_fh_resolve_and_resume (nfs3-helpers.c:3244) > ==6776== by 0x7BF2B32: nfs3_create (nfs3.c:2536) > ==6776== by 0x7BF2CEA: nfs3svc_create (nfs3.c:2573) > > > Leaks for other backtraces are obvious. CHANGE: http://review.gluster.com/533 (Change-Id: I522d4bad71d1e914fa88367f70f5e8c28d64fbbe) merged in master by Vijay Bellur (vijay) |