[Pkg-libvirt-maintainers] Bug#582965: Bug#582965: libvirtd does not release consumed memory after processing add/remove udev changes

Guido Günther agx at sigxcpu.org
Mon Jun 7 16:25:55 UTC 2010


Hi Nigel,
On Tue, May 25, 2010 at 11:46:44AM +1200, Nigel Jones wrote:
> Package: libvirt-bin
> Version: 0.8.0-2
> Severity: important
> Tags: patch
> 
> A bug was reported to Ubuntu in which the libvirtd service (provided
> by libvirt-bin) would consume resident memory while processing udev
> add/change/remove events) without properly releasing it, thus creating
> a memory leak that on some affected systems was causing an OOM issue.
> 
> The attached patch is what Ubuntu is proposing to fix the issue under
> libvirt 0.7.x, the same patch (with modified line numbers) has been
> submitted to upstream libvirt development.
> 
> This bug is an attempt to ensure that Debian packages benefit from
> Ubuntu patches.
> 
> Other references:
> https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/571093 - Ubuntu
> Bug for this issue
>  - Comments 19 & 20 contain my analysis of the cause of the issue.
> https://www.redhat.com/archives/libvir-list/2010-May/msg00920.html -
> Post on upstream mailing list for this patch.
I pulled the patch from upstream. Thanks for forwarding this! It be
great if you could forward patches using "-p" in the future since it
makes it much easier to spot the affected function.
Cheers,
 -- Guido





More information about the Pkg-libvirt-maintainers mailing list