Could you share the output of
replacing the
EDIT: The output from the following might also be interesting:
Run it with
replacing
Code:
grep '' /proc/$(cat /var/run/qemu-server/123.pid)/task/*/stack
123
with the frozen VM's ID, next time you experience a freeze?EDIT: The output from the following might also be interesting:
Code:
root@pve8a1 ~ # cat query-vcpu.pm
#!/bin/perl
use strict;
use warnings;
use JSON;
use PVE::QemuServer::Monitor qw(mon_cmd);
my $vmid = shift or die "need to specify vmid\n";
my $res = eval {
mon_cmd($vmid, "query-stats", target => "vcpu");
};
warn $@ if $@;
print to_json($res, { pretty => 1, canonical => 1 });
Code:
perl query-vcpu.pm 123 > /tmp/vcpu-stats-1.log && sleep 5 && perl query-vcpu.pm 123 > /tmp/vcpu-stats-2.log
123
both times with the actual VM ID. The stats will end up in /tmp/vcpu-stats-1.log
and /tmp/vcpu-stats-2.log
. Maybe those give us a hint why the vCPUs are spinning at 100%.
Last edited: