Re: [documancer] Failed to lock the lock file
Status: Beta
Brought to you by:
vaclavslavik
From: Vaclav S. <vac...@ma...> - 2004-02-06 20:27:58
|
Hi, Arnd Baecker wrote: > if I am able to resolve > this locally (which I have some doubts right now), > the problem may in general occur for other users as well. Yes, probably. I already modified Documancer to work even if locking=20 fails and I could move the lock file to $TMPDIR (which is almost=20 certainly not on NFS volume) after we fix wxSingleInstanceChecker to=20 not be vulterable to a DoS attack by another user if he can access=20 the lock file. > BTW: wouldn't a normal file just serve the same purpose > of saying "There is already a documancer instance running" ? > (But presumably I am missing something ...) There would be race condition related to writing and reading process=20 PID to/from the lock file. Regards, Vaclav =2D-=20 PGP key: 0x465264C9, available from http://pgp.mit.edu/ |