Bug 762602 (GLUSTER-870) - potential memory leak when both client and server run in the same process.
Summary: potential memory leak when both client and server run in the same process.
Keywords:
Status: CLOSED NOTABUG
Alias: GLUSTER-870
Product: GlusterFS
Classification: Community
Component: core
Version: mainline
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Raghavendra G
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-29 05:16 UTC by Raghavendra G
Modified: 2010-04-29 06:47 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Raghavendra G 2010-04-29 03:47:53 UTC
bug is invalid, iobuf is unrefed in protocol.

Comment 1 Raghavendra G 2010-04-29 05:16:50 UTC
when a payload vector needs to be sent, transport_submit allocates a new iobuf and unloads the vector into it. This iobuf is handed over to server protocol, but is never unrefed. This is because, when an actual transport (sockets/ib-verbs) is present, the responsibility of allocating and unrefing the iobuf lies with the actual transport and generic transport code assumes the same even when actual transport is not present.

regards,
Raghavendra


Note You need to log in before you can comment on or make changes to this bug.