[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
lucid has seen the end of its life and is no longer receiving any updates. Marking the lucid task for this ticket as "Won't Fix". ** Changed in: multipath-tools (Ubuntu Lucid) Status: Incomplete => Won't Fix -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to multipath-tools in Ubuntu. https://bugs.launchpad.net/bugs/571093 Title: [SRU] multipath + libvirtd eats away more memory over time To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/571093/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
** Tags added: testcase -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to multipath-tools in Ubuntu. https://bugs.launchpad.net/bugs/571093 Title: [SRU] multipath + libvirtd eats away more memory over time To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/571093/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
@All, The stream of udev change events you've observed has been fixed in multipath itself by this update. https://launchpad.net/~peter-petrakis/+archive/storage It's been proposed for SRU on behalf of (LP: #644489) Please test and verify that the change events cease. So we can reconcile the multipath-tools status of this bug, Thanks! ** Changed in: multipath-tools (Ubuntu) Status: Triaged => Incomplete ** Changed in: multipath-tools (Ubuntu Lucid) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to multipath-tools in Ubuntu. https://bugs.launchpad.net/bugs/571093 Title: [SRU] multipath + libvirtd eats away more memory over time To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/571093/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
** Branch linked: lp:ubuntu/lucid-updates/libvirt -- [SRU] multipath + libvirtd eats away more memory over time https://bugs.launchpad.net/bugs/571093 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
** Branch linked: lp:ubuntu/lucid-security/libvirt -- [SRU] multipath + libvirtd eats away more memory over time https://bugs.launchpad.net/bugs/571093 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
This bug was fixed in the package libvirt - 0.7.5-5ubuntu27.3 --- libvirt (0.7.5-5ubuntu27.3) lucid-proposed; urgency=low * debian/patches/9024-free-memory-for-invalid-devices.patch: updated to match upstream patch which includes a fix for an entry path not found originally, LP: #571093 * debian/patches/9025-avoid-NULL-dereference-upon-disk-op-fail.patch: backport upstream patch to avoid failures when attempting to attach a disk or image twice. LP: #455832 -- Nigel JonesFri, 27 Aug 2010 02:40:34 +1200 ** Changed in: libvirt (Ubuntu Lucid) Status: Fix Committed => Fix Released -- [SRU] multipath + libvirtd eats away more memory over time https://bugs.launchpad.net/bugs/571093 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
** Tags added: verification-done ** Tags removed: verification-needed -- [SRU] multipath + libvirtd eats away more memory over time https://bugs.launchpad.net/bugs/571093 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
I've tested this bug again w/ the new patch, it is working fine as expected for me, w/ no increase of RES memory while running the multipath commands to add/remove devices in udev. Looks ready to me (and w/ my testing of bug #455832), it should be ready for pushing. -- [SRU] multipath + libvirtd eats away more memory over time https://bugs.launchpad.net/bugs/571093 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
Accepted libvirt into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Changed in: libvirt (Ubuntu Lucid) Status: In Progress => Fix Committed -- [SRU] multipath + libvirtd eats away more memory over time https://bugs.launchpad.net/bugs/571093 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
Ah, I see. Okay, uploading a package to lucid-proposed fixing this, and Bug #455832. ** Changed in: libvirt (Ubuntu Lucid) Status: Triaged => In Progress ** Changed in: libvirt (Ubuntu Lucid) Assignee: (unassigned) => Dustin Kirkland (kirkland) -- [SRU] multipath + libvirtd eats away more memory over time https://bugs.launchpad.net/bugs/571093 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
Nigel, hmm, I'm confused. The patch you just attached is completely different from the patch of the same name in libvirt-0.7.5/debian/patches/9024-free-memory-for-invalid-devices.patch, which is lucid-proposed now. Can you please clarify? What exactly is still required to close this bug? -- [SRU] multipath + libvirtd eats away more memory over time https://bugs.launchpad.net/bugs/571093 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
I've included the attached patch in an SRU candidate for Bug #455832, you can view the proposed debdiff there. ** Patch added: "9024-free-memory-for-invalid-devices.patch" https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/571093/+attachment/1520540/+files/9024-free-memory-for-invalid-devices.patch -- [SRU] multipath + libvirtd eats away more memory over time https://bugs.launchpad.net/bugs/571093 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
** Changed in: libvirt (Ubuntu Lucid) Assignee: Dustin Kirkland (kirkland) => (unassigned) ** Changed in: libvirt (Ubuntu) Assignee: Dustin Kirkland (kirkland) => (unassigned) -- [SRU] multipath + libvirtd eats away more memory over time https://bugs.launchpad.net/bugs/571093 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
@Dustin: What's the status on that one ? Feel free to reassign to Serge if you can't work on it. -- [SRU] multipath + libvirtd eats away more memory over time https://bugs.launchpad.net/bugs/571093 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
** Changed in: libvirt (Ubuntu Lucid) Status: Fix Released => Triaged -- [SRU] multipath + libvirtd eats away more memory over time https://bugs.launchpad.net/bugs/571093 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
Discussed further with Nigel on IRC; he confirmed that this appears to be a partial fix which is regression-free. So we can promote this to lucid-updates for 10.04.1, then reopen this for tracking the remaining memory leaks. -- [SRU] multipath + libvirtd eats away more memory over time https://bugs.launchpad.net/bugs/571093 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
This bug was fixed in the package libvirt - 0.7.5-5ubuntu27.2 --- libvirt (0.7.5-5ubuntu27.2) lucid-proposed; urgency=low [ Nigel Jones ] * debian/patches/9024-free-memory-for-invalid-devices.patch: clean up a memory leak affecting multipath+libvirt, LP: #571093 -- Dustin KirklandWed, 07 Jul 2010 10:18:48 -0400 ** Changed in: libvirt (Ubuntu Lucid) Status: Fix Committed => Fix Released -- [SRU] multipath + libvirtd eats away more memory over time https://bugs.launchpad.net/bugs/571093 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
Steve, Looks like the latest version of the patch was not applied (libvirt maintainers applied a modified patch to upstream that fixed a couple more memory leaks. This version does work, but I know others still had some lingering problems that I couldn't reproduce. The patch they are now using is: http://libvirt.org/git/?p=libvirt.git;a=commit;h=e7f3bad46edf352abd9f700af9ec59882762c4ca But it does currently WFM. -- [SRU] multipath + libvirtd eats away more memory over time https://bugs.launchpad.net/bugs/571093 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
This package is present on the ubuntu-server CDs, so we need to get the SRU verified /immediately/ in order to not hold up the 10.04.1 point release. Can someone please test this package today and verify that the fix is correct? -- [SRU] multipath + libvirtd eats away more memory over time https://bugs.launchpad.net/bugs/571093 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
@brainsik: can you enable lucid-propsed and please test? thanks chuck -- [SRU] multipath + libvirtd eats away more memory over time https://bugs.launchpad.net/bugs/571093 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
** Branch linked: lp:ubuntu/lucid-proposed/libvirt -- [SRU] multipath + libvirtd eats away more memory over time https://bugs.launchpad.net/bugs/571093 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
Accepted libvirt into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Changed in: libvirt (Ubuntu Lucid) Status: In Progress => Fix Committed ** Tags added: verification-needed -- [SRU] multipath + libvirtd eats away more memory over time https://bugs.launchpad.net/bugs/571093 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
What's the status of this getting into lucid-updates? -- [SRU] multipath + libvirtd eats away more memory over time https://bugs.launchpad.net/bugs/571093 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
** Changed in: libvirt (Debian) Status: New => Fix Released -- [SRU] multipath + libvirtd eats away more memory over time https://bugs.launchpad.net/bugs/571093 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
FAILED: libvirt (The source libvirt - 0.7.5-5ubuntu27.1 is already accepted in ubuntu/maverick and you cannot upload the same version within the same distribution. You have to modify the source version and re-upload.) Sorry, you have to re-do the upload. It seems that the -27.1 upload should have never be targetted at maverick in the first place? Use -27.0.1 then? ** Changed in: libvirt (Ubuntu Lucid) Status: Fix Committed => In Progress -- [SRU] multipath + libvirtd eats away more memory over time https://bugs.launchpad.net/bugs/571093 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
Accepted libvirt into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Tags added: verification-needed ** Tags removed: verification-needed -- [SRU] multipath + libvirtd eats away more memory over time https://bugs.launchpad.net/bugs/571093 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
** Changed in: libvirt (Debian) Status: Unknown => New -- [SRU] multipath + libvirtd eats away more memory over time https://bugs.launchpad.net/bugs/571093 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
Ariel, What was the previous rate of increase? I don't personally have the hardware to reproduce the issue (looks like ocfs2 + EMC SAN based on your udev output), so could you maybe provide the following: * valgrind -v --leak-check=full --show-reachable=yes /usr/sbin/libvirtd -v (Once it's settled and you've observed that the RES memory has increased Ctrl+C valgrind and attach the output) * LIBVIRT_DEBUG=1 libvirtd -v (Again, try to collect the debug messages while the change events are occurring) I'll see if I can work it out more with that info. -- [SRU] multipath + libvirtd eats away more memory over time https://bugs.launchpad.net/bugs/571093 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
Hi Nigel, Dustin, great, thanks!! i installed the two libvirt{0,-bin} packages from Maverick and testing right now. Sadly the memory leak is still there for me... If i leave the unmodified /lib/udev/rules.d/95-multipath.rules in operation the memory usage of libvirtd grows around 15M in 1 minute!! Removing the 'change' action in 95-multipath.rules of course helps a lot to reduce the leak (in that case kernel/udev trigger "only" two events every 15 seconds with our hardware...). # dpkg -l | grep libvirt ii libvirt-bin 0.7.5-5ubuntu27.1 the programs ii libvirt00.7.5-5ubuntu27.1 library for inte # ps axf -eo pid,%mem,rsz,vsz,sz,state,stime,command | grep libvirtd | grep -v grep; \ sleep 60 ; \ ps axf -eo pid,%mem,rsz,vsz,sz,state,stime,command | grep libvirtd | grep -v grep 25520 0.5 90668 302488 75622 S 14:56 /usr/sbin/libvirtd -d 25520 0.6 106788 303920 75980 S 14:56 /usr/sbin/libvirtd -d # # cd /lib/udev/rules.d # cat 95-multipath.rules | grep -v ^# RUN+="socket:/org/kernel/dm/multipath_event" ACTION=="add|change", SUBSYSTEM=="block", RUN+="/sbin/multipath -v0 /dev/%k" -- [SRU] multipath + libvirtd eats away more memory over time https://bugs.launchpad.net/bugs/571093 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
I have forwarded the bug/patch to Debian BTS as http://bugs.debian.org /cgi-bin/bugreport.cgi?bug=582965 so they can incorporate the fix there. ** Bug watch added: Debian Bug tracker #582965 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=582965 ** Also affects: libvirt (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=582965 Importance: Unknown Status: Unknown -- [SRU] multipath + libvirtd eats away more memory over time https://bugs.launchpad.net/bugs/571093 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
** Branch linked: lp:ubuntu/libvirt -- [SRU] multipath + libvirtd eats away more memory over time https://bugs.launchpad.net/bugs/571093 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
** Description changed: libvirtd fills the memory, until the libvirtd process gets killed. This happens over a long time. - This server (info by ubuntu-bug) has 4GB of memory and an uptime of 27 days. Some KVM machines have been active during that period. The last 4 days before the crash, no virtual machine was running on the server, but libvirtd slowly filled memory. - Another server has 32 GB of memory and active virtual machines. It took a few weeks more until memory was completely filled. Steps to reproduce: - Start libvirtd - Wait a long time ProblemType: Bug Architecture: amd64 Date: Wed Apr 28 08:43:52 2010 DistroRelease: Ubuntu 9.10 Package: libvirt-bin 0.7.0-1ubuntu13.1 ProcEnviron: - LANG=C - SHELL=/bin/bash + LANG=C + SHELL=/bin/bash ProcVersionSignature: Ubuntu 2.6.31-20.58-server SourcePackage: libvirt Uname: Linux 2.6.31-20-server x86_64 + + == + SRU: + * IMPACT: If affected, libvirtd will eventually leak all memory, and OOM the system. + * ADDRESSED: Applied patch solves two memory leaks by freeing memory on function exit conditions. + * PATCH: As attached from Nigel Jones below. He has also submitted this upstream as well. + * TEST CASE: In some cases, you can reproduce this issue by running "top -p $(pidof libvirtd)" in one window, watching RES memory usage increase, while running "while true; do sudo multipath -F; sudo multipath -v4; done" in another window. Due to a race condition (see Bug: #585027), this will sometimes not reproduce the issue by itself. In these cases, you can "simulate" the race condition by "sudo dmsetup remove ", and then running the commands above. + * REGRESSION POTENTIAL: Patch is pretty simple, clean. Regression potential should be minimal. + == ** Changed in: libvirt (Ubuntu) Status: In Progress => Fix Committed ** Changed in: libvirt (Ubuntu Lucid) Status: In Progress => Fix Committed -- [SRU] multipath + libvirtd eats away more memory over time https://bugs.launchpad.net/bugs/571093 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
This bug was fixed in the package libvirt - 0.7.5-5ubuntu27.1 --- libvirt (0.7.5-5ubuntu27.1) maverick; urgency=low [ Nigel Jones ] * debian/patches/9024-free-memory-for-invalid-devices.patch: clean up a memory leak affecting multipath+libvirt, LP: #571093 -- Dustin KirklandMon, 24 May 2010 10:00:07 -0500 ** Changed in: libvirt (Ubuntu) Status: Fix Committed => Fix Released -- [SRU] multipath + libvirtd eats away more memory over time https://bugs.launchpad.net/bugs/571093 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 571093] Re: [SRU] multipath + libvirtd eats away more memory over time
** Tags added: patch -- [SRU] multipath + libvirtd eats away more memory over time https://bugs.launchpad.net/bugs/571093 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs