Bug 761991 (GLUSTER-259)

Summary: Memory leak on server side when there are large number of disconnections from clients
Product: [Community] GlusterFS Reporter: Raghavendra G <raghavendra>
Component: ib-verbsAssignee: Raghavendra G <raghavendra>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 2.0.4CC: aavati, gluster-bugs, prithu, rabhat
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: RTNR Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Anand Avati 2009-09-15 03:33:07 UTC
PATCH: http://patches.gluster.com/patch/1351 in master (transport/ib-verbs: initialize fini member of new-transports created during accepting client connections.)

Comment 1 Anand Avati 2009-09-15 03:33:14 UTC
PATCH: http://patches.gluster.com/patch/1350 in release-2.0 (transport/ib-verbs: initialize fini member of new-transports created during accepting client connections.)

Comment 2 Raghavendra G 2009-09-15 05:51:37 UTC
On looking into the logfiles provided by the customer, there are large number of client disconnections (running into almost 2-3 lakh disconnections). The leak is that the fini member of new transports created for each client connection is not initialized, thereby causing a leak equal to 2 * sizeof (ib_verbs_private_t) for each client connection.