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

Nigel Jones nigel at nigelj.com
Mon May 24 23:46:44 UTC 2010


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.

Cheers,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9024-free-memory-for-invalid-devices.patch
Type: text/x-patch
Size: 566 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20100525/3c211aaa/attachment.bin>


More information about the Pkg-libvirt-maintainers mailing list