So, today i was "lucky", too:
About a month ago, i cloned the problematic debian-vm and let it run without a network device so it couldnt interfere with the live-vm. And today, after this vm was up for 28 days, it finally hang, too.
Here are the requested informations:
About a month ago, i cloned the problematic debian-vm and let it run without a network device so it couldnt interfere with the live-vm. And today, after this vm was up for 28 days, it finally hang, too.
Here are the requested informations:
Code:
strace -c -p $(cat /var/run/qemu-server/191.pid)
strace: Process 50940 attached
^Cstrace: Process 50940 detached
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
99.71 19.739996 10527 1875 ppoll
0.17 0.034197 4 6938 write
0.07 0.013513 7 1698 recvmsg
0.05 0.009642 5 1876 40 read
0.00 0.000076 2 33 sendmsg
0.00 0.000036 4 8 accept4
0.00 0.000030 3 8 close
0.00 0.000013 0 16 fcntl
0.00 0.000009 1 8 getsockname
------ ----------- ----------- --------- --------- ----------------
100.00 19.797512 1588 12460 40 total
gdb --batch --ex 't a a bt' -p $(cat /var/run/qemu-server/191.pid)
[New LWP 50941]
[New LWP 50948]
[New LWP 50949]
[New LWP 51267]
[New LWP 51269]
[New LWP 51270]
[New LWP 51271]
[New LWP 51274]
[New LWP 51283]
[New LWP 2639435]
[New LWP 1133766]
[New LWP 1148438]
[New LWP 1153824]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007efd30182a66 in __ppoll (fds=0x565319eca320, nfds=145, timeout=<optimized out>, timeout@entry=0x7fff11a5e1e0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
44 ../sysdeps/unix/sysv/linux/ppoll.c: No such file or directory.
Thread 14 (Thread 0x7efd24d54700 (LWP 1153824) "iou-wrk-50948"):
#0 0x0000000000000000 in ?? ()
Backtrace stopped: Cannot access memory at address 0x0
Thread 13 (Thread 0x7efd1ffff700 (LWP 1148438) "iou-wrk-50949"):
#0 0x0000000000000000 in ?? ()
Backtrace stopped: Cannot access memory at address 0x0
Thread 12 (Thread 0x7efd1ffff700 (LWP 1133766) "iou-wrk-50949"):
#0 0x0000000000000000 in ?? ()
Backtrace stopped: Cannot access memory at address 0x0
Thread 11 (Thread 0x7efd24d54700 (LWP 2639435) "iou-wrk-50948"):
#0 0x0000000000000000 in ?? ()
Backtrace stopped: Cannot access memory at address 0x0
Thread 10 (Thread 0x7ef90afbf700 (LWP 51283) "vnc_worker"):
#0 futex_wait_cancelable (private=0, expected=0, futex_word=0x56531971294c) at ../sysdeps/nptl/futex-internal.h:186
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x565319712958, cond=0x565319712920) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=cond@entry=0x565319712920, mutex=mutex@entry=0x565319712958) at pthread_cond_wait.c:638
#3 0x00005653187a99cb in qemu_cond_wait_impl (cond=0x565319712920, mutex=0x565319712958, file=0x565318820434 "../ui/vnc-jobs.c", line=248) at ../util/qemu-thread-posix.c:220
#4 0x00005653182385c3 in vnc_worker_thread_loop (queue=0x565319712920) at ../ui/vnc-jobs.c:248
#5 0x0000565318239288 in vnc_worker_thread (arg=arg@entry=0x565319712920) at ../ui/vnc-jobs.c:361
#6 0x00005653187a8e89 in qemu_thread_start (args=0x7ef90afba3f0) at ../util/qemu-thread-posix.c:505
#7 0x00007efd3026eea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8 0x00007efd3018ea2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 9 (Thread 0x7efd1d1ff700 (LWP 51274) "SPICE Worker"):
#0 0x00007efd3018296f in __GI___poll (fds=0x7ef900001ff0, nfds=2, timeout=2147483647) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007efd315f80ae in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007efd315f840b in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007efd31ca1fe7 in ?? () from /lib/x86_64-linux-gnu/libspice-server.so.1
#4 0x00007efd3026eea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#5 0x00007efd3018ea2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 8 (Thread 0x7efd1dffb700 (LWP 51271) "CPU 3/KVM"):
#0 0x00007efd30184237 in ioctl () at ../sysdeps/unix/syscall-template.S:120
#1 0x0000565318621997 in kvm_vcpu_ioctl (cpu=cpu@entry=0x5653196eea10, type=type@entry=44672) at ../accel/kvm/kvm-all.c:3035
#2 0x0000565318621b01 in kvm_cpu_exec (cpu=cpu@entry=0x5653196eea10) at ../accel/kvm/kvm-all.c:2850
#3 0x000056531862317d in kvm_vcpu_thread_fn (arg=arg@entry=0x5653196eea10) at ../accel/kvm/kvm-accel-ops.c:51
#4 0x00005653187a8e89 in qemu_thread_start (args=0x7efd1dff63f0) at ../util/qemu-thread-posix.c:505
#5 0x00007efd3026eea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6 0x00007efd3018ea2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 7 (Thread 0x7efd1e7fc700 (LWP 51270) "CPU 2/KVM"):
#0 0x00007efd30184237 in ioctl () at ../sysdeps/unix/syscall-template.S:120
#1 0x0000565318621997 in kvm_vcpu_ioctl (cpu=cpu@entry=0x5653196e6d20, type=type@entry=44672) at ../accel/kvm/kvm-all.c:3035
#2 0x0000565318621b01 in kvm_cpu_exec (cpu=cpu@entry=0x5653196e6d20) at ../accel/kvm/kvm-all.c:2850
#3 0x000056531862317d in kvm_vcpu_thread_fn (arg=arg@entry=0x5653196e6d20) at ../accel/kvm/kvm-accel-ops.c:51
#4 0x00005653187a8e89 in qemu_thread_start (args=0x7efd1e7f73f0) at ../util/qemu-thread-posix.c:505
#5 0x00007efd3026eea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6 0x00007efd3018ea2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 6 (Thread 0x7efd1effd700 (LWP 51269) "CPU 1/KVM"):
#0 0x00007efd30184237 in ioctl () at ../sysdeps/unix/syscall-template.S:120
#1 0x0000565318621997 in kvm_vcpu_ioctl (cpu=cpu@entry=0x5653196deee0, type=type@entry=44672) at ../accel/kvm/kvm-all.c:3035
#2 0x0000565318621b01 in kvm_cpu_exec (cpu=cpu@entry=0x5653196deee0) at ../accel/kvm/kvm-all.c:2850
#3 0x000056531862317d in kvm_vcpu_thread_fn (arg=arg@entry=0x5653196deee0) at ../accel/kvm/kvm-accel-ops.c:51
#4 0x00005653187a8e89 in qemu_thread_start (args=0x7efd1eff83f0) at ../util/qemu-thread-posix.c:505
#5 0x00007efd3026eea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6 0x00007efd3018ea2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 5 (Thread 0x7efd1f7fe700 (LWP 51267) "CPU 0/KVM"):
#0 0x00007efd30184237 in ioctl () at ../sysdeps/unix/syscall-template.S:120
#1 0x0000565318621997 in kvm_vcpu_ioctl (cpu=cpu@entry=0x5653196af6c0, type=type@entry=44672) at ../accel/kvm/kvm-all.c:3035
#2 0x0000565318621b01 in kvm_cpu_exec (cpu=cpu@entry=0x5653196af6c0) at ../accel/kvm/kvm-all.c:2850
#3 0x000056531862317d in kvm_vcpu_thread_fn (arg=arg@entry=0x5653196af6c0) at ../accel/kvm/kvm-accel-ops.c:51
#4 0x00005653187a8e89 in qemu_thread_start (args=0x7efd1f7f93f0) at ../util/qemu-thread-posix.c:505
#5 0x00007efd3026eea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6 0x00007efd3018ea2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 4 (Thread 0x7efd1ffff700 (LWP 50949) "kvm"):
#0 0x00007efd30182a66 in __ppoll (fds=0x7efd1741a310, nfds=8, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1 0x00005653187bde6d in ppoll (__ss=0x0, __timeout=0x0, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2 0x00005653187a6999 in fdmon_poll_wait (ctx=0x5653194cd000, ready_list=0x7efd1fffa368, timeout=-1) at ../util/fdmon-poll.c:80
#3 0x00005653187a6076 in aio_poll (ctx=0x5653194cd000, blocking=blocking@entry=true) at ../util/aio-posix.c:660
#4 0x000056531865f946 in iothread_run (opaque=opaque@entry=0x5653194cb260) at ../iothread.c:67
#5 0x00005653187a8e89 in qemu_thread_start (args=0x7efd1fffa3f0) at ../util/qemu-thread-posix.c:505
#6 0x00007efd3026eea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7 0x00007efd3018ea2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 3 (Thread 0x7efd24d54700 (LWP 50948) "kvm"):
#0 0x00007efd30182a66 in __ppoll (fds=0x7efd18003000, nfds=8, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1 0x00005653187bde6d in ppoll (__ss=0x0, __timeout=0x0, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2 0x00005653187a6999 in fdmon_poll_wait (ctx=0x5653194ca670, ready_list=0x7efd24d4f368, timeout=-1) at ../util/fdmon-poll.c:80
#3 0x00005653187a6076 in aio_poll (ctx=0x5653194ca670, blocking=blocking@entry=true) at ../util/aio-posix.c:660
#4 0x000056531865f946 in iothread_run (opaque=opaque@entry=0x56531939fd00) at ../iothread.c:67
#5 0x00005653187a8e89 in qemu_thread_start (args=0x7efd24d4f3f0) at ../util/qemu-thread-posix.c:505
#6 0x00007efd3026eea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7 0x00007efd3018ea2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 2 (Thread 0x7efd25656700 (LWP 50941) "call_rcu"):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00005653187aa04a in qemu_futex_wait (val=<optimized out>, f=<optimized out>) at /build/pve-qemu/pve-qemu-kvm-7.2.0/include/qemu/futex.h:29
#2 qemu_event_wait (ev=ev@entry=0x56531900b328 <rcu_call_ready_event>) at ../util/qemu-thread-posix.c:430
#3 0x00005653187b294a in call_rcu_thread (opaque=opaque@entry=0x0) at ../util/rcu.c:261
#4 0x00005653187a8e89 in qemu_thread_start (args=0x7efd256513f0) at ../util/qemu-thread-posix.c:505
#5 0x00007efd3026eea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6 0x00007efd3018ea2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 1 (Thread 0x7efd257b91c0 (LWP 50940) "kvm"):
#0 0x00007efd30182a66 in __ppoll (fds=0x565319eca320, nfds=145, timeout=<optimized out>, timeout@entry=0x7fff11a5e1e0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1 0x00005653187bde11 in ppoll (__ss=0x0, __timeout=0x7fff11a5e1e0, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2 qemu_poll_ns (fds=<optimized out>, nfds=<optimized out>, timeout=timeout@entry=1552585705) at ../util/qemu-timer.c:351
#3 0x00005653187bb675 in os_host_main_loop_wait (timeout=1552585705) at ../util/main-loop.c:315
#4 main_loop_wait (nonblocking=nonblocking@entry=0) at ../util/main-loop.c:606
#5 0x00005653183d8191 in qemu_main_loop () at ../softmmu/runstate.c:739
#6 0x0000565318211aa7 in qemu_default_main () at ../softmmu/main.c:37
#7 0x00007efd300b6d0a in __libc_start_main (main=0x56531820cc60 <main>, argc=82, argv=0x7fff11a5e3a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff11a5e398) at ../csu/libc-start.c:308
#8 0x00005653182119da in _start ()
[Inferior 1 (process 50940) detached]
qm config 191
agent: 1
balloon: 1024
boot: cdn
bootdisk: scsi0
cores: 2
description: fileserver
ide2: none,media=cdrom
memory: 16384
name: solferino-test
net0: virtio=22:1A:64:5B:76:1E,bridge=vmbr0,link_down=1
numa: 0
onboot: 1
ostype: l26
scsi0: nvme01:vm-191-disk-0,discard=on,iothread=1,size=32G
scsi1: nvme01:vm-191-disk-1,discard=on,iothread=1,size=1T
scsihw: virtio-scsi-single
sockets: 2
startup: order=190
tablet: 0
vga: qxl
pveversion -v
proxmox-ve: 7.4-1 (running kernel: 5.19.17-2-pve)
pve-manager: 7.4-3 (running version: 7.4-3/9002ab8a)
pve-kernel-5.15: 7.4-3
pve-kernel-5.19: 7.2-15
pve-kernel-5.19.17-2-pve: 5.19.17-2
pve-kernel-5.19.17-1-pve: 5.19.17-1
pve-kernel-5.19.7-2-pve: 5.19.7-2
pve-kernel-5.15.107-2-pve: 5.15.107-2
pve-kernel-5.15.104-1-pve: 5.15.104-2
pve-kernel-5.15.85-1-pve: 5.15.85-1
pve-kernel-5.15.83-1-pve: 5.15.83-1
pve-kernel-5.15.74-1-pve: 5.15.74-1
pve-kernel-5.15.30-2-pve: 5.15.30-3
ceph-fuse: 15.2.16-pve1
corosync: 3.1.7-pve1
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown2: 3.1.0-1+pmx4
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.24-pve2
libproxmox-acme-perl: 1.4.4
libproxmox-backup-qemu0: 1.3.1-1
libproxmox-rs-perl: 0.2.1
libpve-access-control: 7.4-3
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.4-1
libpve-guest-common-perl: 4.2-4
libpve-http-server-perl: 4.2-3
libpve-rs-perl: 0.7.6
libpve-storage-perl: 7.4-2
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 5.0.2-2
lxcfs: 5.0.3-pve1
novnc-pve: 1.4.0-1
proxmox-backup-client: 2.4.2-1
proxmox-backup-file-restore: 2.4.2-1
proxmox-kernel-helper: 7.4-1
proxmox-mail-forward: 0.1.1-1
proxmox-mini-journalreader: 1.3-1
proxmox-offline-mirror-helper: 0.5.1-1
proxmox-widget-toolkit: 3.7.0
pve-cluster: 7.3-3
pve-container: 4.4-3
pve-docs: 7.4-2
pve-edk2-firmware: 3.20230228-2
pve-firewall: 4.3-2
pve-firmware: 3.6-5
pve-ha-manager: 3.6.1
pve-i18n: 2.12-1
pve-qemu-kvm: 7.2.0-8
pve-xtermjs: 4.16.0-1
qemu-server: 7.4-3
smartmontools: 7.2-pve3
spiceterm: 3.2-2
swtpm: 0.8.0~bpo11+3
vncterm: 1.7-1
zfsutils-linux: 2.1.11-pve1