Public bug reported: qemu-kvm machines die randomly when under heavy load. (see also possibly similar RHEL bug: https://bugzilla.redhat.com/show_bug.cgi?id=812705) Note that we have a qcow2 cluster size of 64k.
Here is the head of the apport crash dump: ProblemType: Crash Package: qemu-kvm 1.0+noroms-0ubuntu14.11 Architecture: amd64 Date: Thu Sep 5 14:11:25 2013 DistroRelease: Ubuntu 12.04 ExecutablePath: /usr/bin/qemu-system-x86_64 ExecutableTimestamp: 1376604277 ProcCmdline: /usr/bin/kvm -name instance-00003544 -S -M pc-1.0 -cpu core2duo,+lahf_lm,+rdtscp,+pdpe1gb,+aes,+popcnt,+sse4.2,+sse4.1,+dca,+pdcm,+xtpr,+cx16,+tm2,+est,+smx,+vmx,+ds_cpl,+dtes64,+pclmuldq,+pbe,+tm,+ht,+ss,+acpi,+ds -enable-kvm -m 2048 -smp 1,sockets=1,cores=1,threads=1 -uuid 34d732f4-4d7f-446b-912d-b4bdfc395942 -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/instance-00003544.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -no-kvm-pit-reinjection -no-shutdown -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/var/lib/nova/instances/instance-00003544/disk,if=none,id=drive-virtio-disk0,format=qcow2,cache=none -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -drive file=/var/lib/nova/instances/instance-00003544/disk.local,if=none,id=drive-virtio-disk1,format=qcow2,cache=none -device virtio-blk-pci,scsi=off,bus=pci.0,addr =0x5,drive=drive-virtio-disk1,id=virtio-disk1 -netdev tap,ifname=tap2ad62d47-fb,script=,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=fa:16:3e:a0:c6:f4,bus=pci.0,addr=0x3 -chardev file,id=charserial0,path=/var/lib/nova/instances/instance-00003544/console.log -device isa-serial,chardev=charserial0,id=serial0 -chardev pty,id=charserial1 -device isa-serial,chardev=charserial1,id=serial1 -device usb-tablet,id=input0 -vnc 10.248.33.25:3 -k de -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 ProcCwd: / ProcEnviron: PATH=(custom, no user) ------------------------------------------------------------------------------------------------------------------------------------------------ And here is the backtrace: warning: Can't read pathname for load map: Input/output error. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/usr/bin/kvm -name instance-00003544 -S -M pc-1.0 -cpu core2duo,+lahf_lm,+rdtsc'. Program terminated with signal 6, Aborted. #0 0x00007f359b5e4425 in raise () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) bt #0 0x00007f359b5e4425 in raise () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007f359b5e7b8b in abort () from /lib/x86_64-linux-gnu/libc.so.6 #2 0x00007f359f81d3db in qcow2_cache_find_entry_to_replace (c=<optimized out>) at block/qcow2-cache.c:209 #3 qcow2_cache_do_get (bs=0x7f35a1183cd0, c=0x7f35a11859c0, offset=84475904, table=0x7f35a8b10a18, read_from_disk=<optimized out>) at block/qcow2-cache.c:229 #4 0x00007f359f81de6c in l2_load (l2_table=0x7f35a8b10a18, l2_offset=<optimized out>, bs=0x7f35a1183cd0) at block/qcow2-cluster.c:121 #5 qcow2_get_cluster_offset (bs=0x7f35a1183cd0, offset=9153032192, num=0x7f35a8b10aec, cluster_offset=0x7f35a8b10ae0) at block/qcow2-cluster.c:442 #6 0x00007f359f81e706 in qcow2_read (nb_sectors=104, buf=0x7f35931f7200 "", sector_num=17877016, bs=0x7f35a1183cd0) at block/qcow2-cluster.c:305 #7 copy_sectors (bs=0x7f35a1183cd0, start_sect=<optimized out>, cluster_offset=964231168, n_start=24, n_end=<optimized out>) at block/qcow2-cluster.c:360 #8 0x00007f359f81eae3 in qcow2_alloc_cluster_link_l2 (bs=0x7f35a1183cd0, m=0x7f35a8b10be0) at block/qcow2-cluster.c:631 #9 0x00007f359f8222ad in qcow2_co_writev (bs=0x7f35a1183cd0, sector_num=17876992, remaining_sectors=24, qiov=0x7f35a8e34e60) at block/qcow2.c:596 #10 0x00007f359f81495a in bdrv_co_do_writev (bs=<optimized out>, sector_num=17876992, nb_sectors=24, qiov=0x7f35a8e34e60) at block.c:1311 #11 0x00007f359f8149ee in bdrv_co_do_rw (opaque=0x7f35a1cf77d0) at block.c:2617 #12 0x00007f359f844eab in coroutine_trampoline (i0=<optimized out>, i1=<optimized out>) at coroutine-ucontext.c:125 #13 0x00007f359b5f6650 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #14 0x00007fffeb9b3ae0 in ?? () #15 0x0000000000000000 in ?? () ** Affects: qemu-kvm (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1223907 Title: qemu-kvm crashes in qcow2 code To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1223907/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs