Skip to contentSkip to conversation

New: When destroying guests, hypervisor freezes for some seconds and get BUG: soft lockup - CPU* stuck for Xs

Bug 204293 [email protected] 2 participants 2 messages Jul 24, 2019 – Jan 27, 2023 KVM

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=204293

            Bug ID: 204293
           Summary: When destroying guests, hypervisor freezes for some
                    seconds and get BUG: soft lockup - CPU* stuck for Xs
           Product: Virtualization
           Version: unspecified
    Kernel Version: 5.2.0
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: kvm
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

When destroying guests, hypervisor freezes for some seconds and get BUG: soft lockup - CPU* stuck for Xs:

[root@zappa ~]# virsh list | grep runn | awk '{ print $1 }' | xargs -I% virsh destroy %

Message from syslogd@zappa at Jul 24 08:56:34 ...
kernel:[5519315.215069] watchdog: BUG: soft lockup - CPU#4 stuck for 22s!
[worker:2540]

Message from syslogd@zappa at Jul 24 08:56:34 ...
kernel:watchdog: BUG: soft lockup - CPU#4 stuck for 22s! [worker:2540]
error: Disconnected from qemu:///system due to keepalive timeout
error: Failed to destroy domain 43
error: internal error: connection closed due to keepalive timeout

Message from syslogd@zappa at Jul 24 08:57:10 ...
kernel:[5519351.240533] watchdog: BUG: soft lockup - CPU#12 stuck for 22s!
[worker:2540]

Message from syslogd@zappa at Jul 24 08:57:10 ...
kernel:watchdog: BUG: soft lockup - CPU#12 stuck for 22s! [worker:2540]
error: Failed to destroy domain 44
error: Failed to terminate process 19480 with SIGKILL: Device or resource busy

Domain 45 destroyed

Domain 46 destroyed

Domain 47 destroyed

Domain 48 destroyed

Message from syslogd@zappa at Jul 24 08:58:06 ...
kernel:[5519407.261656] watchdog: BUG: soft lockup - CPU#21 stuck for 22s!
[worker:8228]

Message from syslogd@zappa at Jul 24 08:58:06 ...
kernel:watchdog: BUG: soft lockup - CPU#21 stuck for 22s! [worker:8228]
error: Disconnected from qemu:///system due to keepalive timeout
error: Failed to destroy domain 49
error: internal error: connection closed due to keepalive timeout

Message from syslogd@zappa at Jul 24 08:59:02 ...
kernel:[5519463.135812] watchdog: BUG: soft lockup - CPU#0 stuck for 22s!
[worker:8190]

Message from syslogd@zappa at Jul 24 08:59:02 ...
kernel:watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [worker:8190]
error: Disconnected from qemu:///system due to keepalive timeout
error: Failed to destroy domain 50
error: internal error: connection closed due to keepalive timeout

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

[Bug 204293] When destroying guests, hypervisor freezes for some seconds and get BUG: soft lockup - CPU* stuck for Xs

https://bugzilla.kernel.org/show_bug.cgi?id=204293

Roland Kletzing ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Roland Kletzing ([email protected]) ---
this may be caused by intense IO on the host if your VM is not using virtio dataplance.

i have seen such when copying data or live migrating virtual machines

have a look at
https://bugzilla.kernel.org/show_bug.cgi?id=199727 and
https://gitlab.com/qemu-project/qemu/-/issues/819

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.