Nothing works anymore "can't lock file '/run/lock/lxc/pve-config-xxx.lock"

Noobie

New Member
Aug 4, 2023
19
2
3
Hello everyone,

I have integrated an SMB share into an lxc. I then deleted this network folder using gui. However, this folder is still visible as unused disk 0 under the resources.

Deleting it does not work, then the error message appears:
Code:
can't lock file '/run/lock/lxc/pve-config-190.lock' - got timeout (500)

Then I shut down the container and wanted to delete this unused disk 0 again via GUI. Error message:
Code:
can't lock file '/run/lock/lxc/pve-config-190.lock' - got timeout (500)

Then I tried to restart the container and the error message appears:
Code:
TASK ERROR: can't lock file '/run/lock/lxc/pve-config-190.lock' - got timeout

Restoring a backup does not work either
Code:
unable to restore CT 190 - can't lock file '/run/lock/lxc/pve-config-190.lock' - got timeout (500)

Deleting the container does not work either
Code:
TASK ERROR: can't lock file '/run/lock/lxc/pve-config-190.lock' - got timeout

So now nothing works anymore... Do you have any ideas to solve this issue?
 
Last edited:
Hi,
i had a similar issue with smb in a debian lxc. After upgrading to the latest version, it just hang with 100% cpu usage after a while.
Only deleting the .lock file and rebooting the proxmox node helped.
I'm still a bit dissapointed in proxmox (8.2.4) here, that it cannot forcefully stop a container that does not play rules.

Will revert back to an older (05/2023) smb version which seemed to be running finer (only crashes after a few days which needed a restart of the lxc)
 
Last edited:

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!