[SOLVED] Proxmox cluster slow to shutdown.

I have the same problem, 6.3-6

And even the strange think is even when i whant to start/stop a VM, in takes 1-3min and sometimes fails, this is strange, never before i update it to 6.3-6

trying to acquire lock...
TASK ERROR: can't lock file '/var/lock/qemu-server/lock-321.conf' - got timeout
 
Hi.

Well, for me it started to happen after upgrading to v7.x.
This is already a thread with a lot of different stuff in, same symptoms but often not the same cause.
Is there a way to check what is causing the slow shutdown/restarts?
Can you please check the end of the journal of the last boot? journalctl -b-1 and then hitting shift + g to go all the way down and then scroll up from there. Would be interesting to see what units need that long to shut down, or if there's any dependency issue in systemd's unit configuration on your setup.
 
Hi.


This is already a thread with a lot of different stuff in, same symptoms but often not the same cause.

Can you please check the end of the journal of the last boot? journalctl -b-1 and then hitting shift + g to go all the way down and then scroll up from there. Would be interesting to see what units need that long to shut down, or if there's any dependency issue in systemd's unit configuration on your setup.

See the logs here. I notice this:

Code:
Dec 02 08:40:07 pve systemd[1]: pvedaemon.service: Consumed 3min 31.155s CPU time.
Dec 02 08:41:18 pve pvescheduler[901]: server stopped

Now this isn't VERY long, I have to admit :). But it feels like this took longer than before. So basically the question is: is this normal?
 
The consumed time systemd reports is itself not an actual issue, as that's rather the CPU time that the service used during its lifetime.

But there was actually a small regression in the stop behavior of the relatively new pvescheduler, it may wait a 75 seconds extra on its workers to finish even if they did already do so, that's fixed in pve-manager version 7.1-7 which should move to the enterprise repository today.
 
The consumed time systemd reports is itself not an actual issue, as that's rather the CPU time that the service used during its lifetime.

But there was actually a small regression in the stop behavior of the relatively new pvescheduler, it may wait a 75 seconds extra on its workers to finish even if they did already do so, that's fixed in pve-manager version 7.1-7 which should move to the enterprise repository today.
Dude! Thanks man!! Proxmox rocks!
So happy with my subscription here... everybody should do that if running Proxmox on their home server.
 
  • Like
Reactions: t.lamprecht

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!