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

Noobie

Member
Aug 4, 2023
32
2
13
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: