Bug 681027

Summary: Memory leak in XML parser when reload config operation done
Product: Red Hat Enterprise Linux 6 Reporter: Benjamin Kahn <bkahn>
Component: clusterAssignee: Fabio Massimo Di Nitto <fdinitto>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.1CC: agk, ccaulfie, cluster-maint, djansa, fdinitto, jfriesse, jkortus, lhh, mbroz, pm-eus, rpeterso, sdake, teigland
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: cluster-3.0.12-23.el6_0.7 Doc Type: Bug Fix
Doc Text:
Due to an incorrect call of a function from the libxml2 library, each update of cluster configuration caused the configuration library to leak a small amount of memory. This update applies a patch that removes this incorrect function call, and updating cluster configuration no longer leads to memory leaks.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-18 08:38:06 UTC Type: ---
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: 680155    
Bug Blocks:    

Description Benjamin Kahn 2011-02-28 21:04:54 UTC
This bug has been copied from bug #680155 and has been proposed
to be backported to 6.0 z-stream (EUS).

Comment 4 Jaromir Hradilek 2011-05-09 09:31:06 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Due to an incorrect call of a function from the libxml2 library, each update of cluster configuration caused the configuration library to leak a small amount of memory. This update applies a patch that removes this incorrect function call, and updating cluster configuration no longer leads to memory leaks.

Comment 5 Jaroslav Kortus 2011-05-16 16:22:08 UTC
Verified with
cman-3.0.12-23.el6_0.7.x86_64

2 node cluster, start up cluster (no ricci), increase version on one node and
restart it, 2nd one begins the loop. Without the patch the memory footprint
(RSS) increases by about 1M per minute. With the patch there was no increase
for about 20 minutes of looping.


ref to bug 681258

Comment 6 errata-xmlrpc 2011-08-18 08:38:06 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-1178.html