[Bug 1201938] Re: excessive memory use from libvirtd
Serge Hallyn
1201938 at bugs.launchpad.net
Wed Aug 14 02:51:54 UTC 2013
** No longer affects: libvirt (Ubuntu Precise)
** No longer affects: libvirt (Ubuntu Quantal)
** No longer affects: libvirt (Ubuntu)
** No longer affects: libvirt (Ubuntu Raring)
** Description changed:
+ ==================
+ SRU Justification
+ 1. Impact: libvirt over time consumes excessive memory due to a call to libnetcf
+ 2. Development fix: a patch to free a path which was being leaked
+ 3. Stable fix: same as development fix
+ 4. Test case: start libvirtd, and connect to it with virt-manager. Leave that running. Run top in a terminal, hit 'M' to sort by memory, and watch for RSS for libvirtd to grow. Give it an hour or two to grow by a few M.
+ 5. Regression potential: there should be none as this only causes a path to be freed (after an earlier check for failure which should ensure the path is in fact allocated).
+ ==================
libvirtd is using excessive amounts of memory after a week or so of uptime:
uptime
- 07:47:15 up 9 days, 21:49, 16 users, load average: 1.06, 2.20, 1.70
+ 07:47:15 up 9 days, 21:49, 16 users, load average: 1.06, 2.20, 1.70
from top (sorry for the truncated line, window got resized before I copied it out.
18978 root 20 0 7334m 6.6g 672 S 1.0 42.3 504
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: libvirt-bin 1.0.2-0ubuntu11.13.04.2
ProcVersionSignature: Ubuntu 3.8.0-23.34-generic 3.8.11
Uname: Linux 3.8.0-23-generic x86_64
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Wed Jul 17 07:44:41 2013
InstallationDate: Installed on 2013-01-13 (184 days ago)
InstallationMedia: Ubuntu-Server 12.10 "Quantal Quetzal" - Release amd64 (20121017.2)
MarkForUpload: True
SourcePackage: libvirt
UpgradeStatus: Upgraded to raring on 2013-04-22 (85 days ago)
- ---
+ ---
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
DistroRelease: Ubuntu 13.04
InstallationDate: Installed on 2013-01-13 (184 days ago)
InstallationMedia: Ubuntu-Server 12.10 "Quantal Quetzal" - Release amd64 (20121017.2)
KernLog:
-
+
MarkForUpload: True
Package: libvirt (not installed)
ProcCmdline: BOOT_IMAGE=/vmlinuz-3.8.0-23-generic root=/dev/mapper/hostname-root ro rootflags=subvol=@
ProcVersionSignature: Ubuntu 3.8.0-23.34-generic 3.8.11
Tags: raring
Uname: Linux 3.8.0-23-generic x86_64
UpgradeStatus: Upgraded to raring on 2013-04-22 (85 days ago)
UserGroups: adm cdrom dip libvirtd lpadmin plugdev sambashare sudo
modified.conffile..etc.apparmor.d.usr.lib.libvirt.virt.aa.helper: [modified]
modified.conffile..etc.apparmor.d.usr.sbin.libvirtd: [modified]
mtime.conffile..etc.apparmor.d.usr.lib.libvirt.virt.aa.helper: 2013-06-26T00:59:03.272193
mtime.conffile..etc.apparmor.d.usr.sbin.libvirtd: 2013-06-26T00:58:56.616193
** Changed in: netcf (Ubuntu Precise)
Status: New => Triaged
** Changed in: netcf (Ubuntu Quantal)
Status: New => Triaged
** Changed in: netcf (Ubuntu Raring)
Status: New => Triaged
** Changed in: netcf (Ubuntu Precise)
Importance: Undecided => High
** Changed in: netcf (Ubuntu Quantal)
Importance: Undecided => High
** Changed in: netcf (Ubuntu Raring)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to netcf in Ubuntu.
https://bugs.launchpad.net/bugs/1201938
Title:
excessive memory use from libvirtd
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netcf/+bug/1201938/+subscriptions
More information about the Ubuntu-server-bugs
mailing list