excessive memory use from libvirtd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netcf (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Precise |
Fix Released
|
High
|
Unassigned | ||
Quantal |
Fix Released
|
High
|
Unassigned | ||
Raring |
Fix Released
|
High
|
Unassigned |
Bug Description
==================
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
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
ProcVersionSign
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=
ProcVersionSign
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.
modified.
mtime.conffile.
mtime.conffile.
Changed in libvirt (Ubuntu): | |
importance: | Undecided → High |
Changed in netcf (Ubuntu): | |
importance: | Undecided → High |
status: | New → In Progress |
no longer affects: | libvirt (Ubuntu Precise) |
no longer affects: | libvirt (Ubuntu Quantal) |
no longer affects: | libvirt (Ubuntu) |
no longer affects: | libvirt (Ubuntu Raring) |
description: | updated |
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 |
Status changed to 'Confirmed' because the bug affects multiple users.