Bug 616091
| Summary: | Memory leak in xenstore | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | RHEL Program Management <pm-rhel> | ||||||
| Component: | xen | Assignee: | Xen Maintainance List <xen-maint> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||
| Severity: | urgent | Docs Contact: | |||||||
| Priority: | urgent | ||||||||
| Version: | 5.4 | CC: | chris.lober, fnadge, hbrock, iaslanidis, james.brown, jdenemar, juzhang, jwest, llim, minovotn, mjenner, mrezanin, nachandr, pbonzini, plyons, pm-eus, samuel.kielek, tao, virt-maint, xen-maint, yuzhang | ||||||
| Target Milestone: | rc | Keywords: | ZStream | ||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | xen-3.0.3-105.el5_5.5 | Doc Type: | Bug Fix | ||||||
| Doc Text: |
xenstore slowly but consistently leaked memory. This caused problems on systems that ran for a long time. These packages remove this leak.
|
Story Points: | --- | ||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2010-07-29 11:47:01 UTC | Type: | --- | ||||||
| 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: | 606919 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
|
Description
RHEL Program Management
2010-07-19 16:06:59 UTC
QA verified this bug on xen-3.0.3-105.el5_5.5: 1. Start libvirtd valgrind with the following command: #valgrind -v --leak-check=full --show-reachable=yes --log-file=logfile /usr/sbin/libvirtd 2. Remote connect to libvirtd via virsh for 10 minutes with the following command: #count=0; while [ $count -lt 200 ]; do virsh -c xen+ssh://localhost list; sleep 3; let count=$count+1; done; For xen package(xen-3.0.3-113.el5) without the patch, we could find memory leak from the logfile: 8,000 bytes in 200 blocks are definitely lost in loss record 291 of 294 ==1063== at 0x4A05E1C: malloc (vg_replace_malloc.c:195) ==1063== by 0x4C289D9: read_message (xs.c:768) ==1063== by 0x4C28B4B: read_thread (xs.c:824) ==1063== by 0x3A61C0673C: start_thread (in /lib64/libpthread-2.5.so) ==1063== by 0x3A610D3D1C: clone (in /lib64/libc-2.5.so) ==1063== For xen-3.0.3-105.el5_5.5, no memory leak triggered by xenstore found. logfiles on both xen packages will be uploaded soon. Created attachment 434636 [details]
log file of valgrind without the patch
Created attachment 434637 [details]
log file of valgrind with the patch
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-2010-0572.html 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: xenstore slowly but consistently leaked memory. This caused problems on systems that ran for a long time. These packages remove this leak. |