[pve-devel] does /etc/pve support flock?

Dietmar Maurer dietmar at proxmox.com
Mon May 12 07:37:10 CEST 2014


> > PVE::Cluster::cfs_lock() enforces that timeout using an alarm timer.
> 
> Not familiar with the cfs locking. What happens if the process dies which has
> set the lock?

timeout (automatic unlock after 120 seconds).
 
> I need something between 6-10min.

Again, you can't do that, so you need to find some workaround. 

Usually it is not necessary to lock things for such a long time.




More information about the pve-devel mailing list