Activity log for bug #588293

Date Who What changed Old value New value Message
2010-06-01 13:25:26 Dick Tump bug added bug
2010-06-02 23:51:31 Mathias Gug qemu-kvm (Ubuntu): importance Undecided Medium
2010-06-02 23:51:33 Mathias Gug qemu-kvm (Ubuntu): status New Incomplete
2010-06-15 02:37:10 Dustin Kirkland  qemu-kvm (Ubuntu): status Incomplete Triaged
2010-06-15 02:37:18 Dustin Kirkland  qemu-kvm (Ubuntu): assignee Serge Hallyn (serge-hallyn)
2010-06-15 08:58:40 Chris Jones bug added subscriber Chris Jones
2010-06-15 16:19:16 Serge Hallyn description Binary package hint: qemu-kvm Ubuntu release: 10.04 LTS Package version: 0.12.3+noroms-0ubuntu9 There seems to be a huge memory leak in qemu/kvm 0.12.3. After a while, a virtual machine is using much more memory on the host system, than actually is in use on the guest system. A guest system with only 512 MB assigned, can even use multiple GB's of memory. This bug is also discussed here: http://sourceforge.net/tracker/?func=detail&atid=893831&aid=2989366&group_id=180599 Would it be possible to fix this bug in Ubuntu? It makes KVM a bit useless currently, because running 2 GB of VM's can even cost 16 GB of memory. Binary package hint: qemu-kvm Ubuntu release: 10.04 LTS Package version: 0.12.3+noroms-0ubuntu9 There seems to be a huge memory leak in qemu/kvm 0.12.3. After a while, a virtual machine is using much more memory on the host system, than actually is in use on the guest system. A guest system with only 512 MB assigned, can even use multiple GB's of memory. This bug is also discussed here: http://sourceforge.net/tracker/?func=detail&atid=893831&aid=2989366&group_id=180599 Would it be possible to fix this bug in Ubuntu? It makes KVM a bit useless currently, because running 2 GB of VM's can even cost 16 GB of memory. ============ Impact: A memory leak causes long-running (measured in only a few days) kvm sessions to invoke the OOM killer. This makes many kvm or cloud applications impossible. The issue is addressed with upstream patch with commit-id 7eb58a6c556c3880e6712cbf6d24d681261c5095. A back-port of the patch is attached, and can be seen in https://code.edge.launchpad.net/~serge-hallyn/ubuntu/lucid/qemu-kvm/memleak-fix2/ To reproduce: simply start a kvm instance, ensure that aio is being used, and let it run. Regression potential: the patch simply ensured that already-allocated memory is freed in an error path which otherwise lets that memory leak. ============
2010-06-15 16:21:39 Serge Hallyn nominated for series Ubuntu Lucid
2010-06-15 16:21:39 Serge Hallyn nominated for series Ubuntu Maverick
2010-06-15 20:31:37 Dustin Kirkland  bug task added qemu-kvm (Ubuntu Lucid)
2010-06-15 20:31:49 Dustin Kirkland  bug task added qemu-kvm (Ubuntu Maverick)
2010-06-15 20:32:13 Dustin Kirkland  qemu-kvm (Ubuntu Lucid): status New Triaged
2010-06-15 20:32:18 Dustin Kirkland  qemu-kvm (Ubuntu Lucid): importance Undecided Medium
2010-06-15 20:32:21 Dustin Kirkland  qemu-kvm (Ubuntu Lucid): assignee Serge Hallyn (serge-hallyn)
2010-06-15 20:32:28 Dustin Kirkland  qemu-kvm (Ubuntu Lucid): milestone lucid-updates
2010-06-15 20:35:23 Dustin Kirkland  qemu-kvm (Ubuntu Maverick): status Triaged Fix Released
2010-06-15 20:44:46 Dustin Kirkland  qemu-kvm (Ubuntu Lucid): status Triaged Fix Committed
2010-06-17 16:20:58 Scott Kitterman bug added subscriber SRU Verification
2010-06-17 16:21:04 Scott Kitterman tags verification-needed
2010-06-17 17:15:28 Launchpad Janitor branch linked lp:ubuntu/lucid-proposed/qemu-kvm
2010-06-21 09:28:20 David Weber attachment added Patched kvm http://launchpadlibrarian.net/50674173/kvm_84%2Bdfsg-0ubuntu16%2B0.12.3%2Bnoroms%2B0ubuntu9.1_amd64.deb
2010-06-21 09:31:32 David Weber attachment added Patched qemu-kvm http://launchpadlibrarian.net/50674252/qemu-kvm_0.12.3%2Bnoroms-0ubuntu9.1_amd64.deb
2010-06-22 20:28:40 Serge Hallyn branch linked lp:~serge-hallyn/ubuntu/lucid/qemu-kvm/memleak-fix
2010-06-30 13:41:56 Serge Hallyn summary Memory leak Memory leak in qemu
2010-06-30 13:44:22 Serge Hallyn summary Memory leak in qemu iovec array memory leak
2010-07-05 16:54:04 Martin Pitt tags verification-needed verification-done
2010-07-07 15:22:34 Launchpad Janitor qemu-kvm (Ubuntu Lucid): status Fix Committed Fix Released