Hi,
we have been using proxmox for many years.
We have servers running different versions of PVE5.3, PVE6.2 and PVE7.0.
We virtualize routers. This means that the VMs can have 10 to 20 nics.
In this context we have noticed a problem
after running the qm shutdown command the QEMU process receives a SIGKILL signal from qmeventd while it has not finished its nics shutdown sequence
This behavior exists in PVE7.0 but not in PVE6.2 and PVE5.3
Reading the source code we can see that a timeout of 5 seconds has been introduced in a hardcoded way in qmeventd somewhere between the version PVE6.2 and PVE7.0.
line 481 -> alarm(5);
https://github.com/proxmox/qemu-server/blob/master/qmeventd/qmeventd.c
the 5sec timeout is not described in the changelog
https://github.com/proxmox/qemu-server/blob/master/debian/changelog
In our case the 5 sec timeout is really too short, is it not a problem for specific cases, especially in situations where some network stuff need to be cleaned like SDN
In addition the fact that it is hardcoded doesn't allow any way to adjust it according to the number of nic that a VM has.
help is appreciate
regards,
maxime
thx
we have been using proxmox for many years.
We have servers running different versions of PVE5.3, PVE6.2 and PVE7.0.
We virtualize routers. This means that the VMs can have 10 to 20 nics.
In this context we have noticed a problem
after running the qm shutdown command the QEMU process receives a SIGKILL signal from qmeventd while it has not finished its nics shutdown sequence
This behavior exists in PVE7.0 but not in PVE6.2 and PVE5.3
Reading the source code we can see that a timeout of 5 seconds has been introduced in a hardcoded way in qmeventd somewhere between the version PVE6.2 and PVE7.0.
line 481 -> alarm(5);
https://github.com/proxmox/qemu-server/blob/master/qmeventd/qmeventd.c
the 5sec timeout is not described in the changelog
https://github.com/proxmox/qemu-server/blob/master/debian/changelog
In our case the 5 sec timeout is really too short, is it not a problem for specific cases, especially in situations where some network stuff need to be cleaned like SDN
In addition the fact that it is hardcoded doesn't allow any way to adjust it according to the number of nic that a VM has.
help is appreciate
regards,
maxime
thx
Last edited: