Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Exclusive locking of a file on an NFS filesystem

by SarahM (Monk)
on Jun 14, 2002 at 12:07 UTC ( [id://174470]=note: print w/replies, xml ) Need Help??


in reply to Exclusive locking of a file on an NFS filesystem

I've tried File::NFSlock, but it didn't work that well for me...It was great during my testing. But when actual workload hit it, the locking didn't detect the file as locked too many times to be useful and I ended up having messed up files.

On Solaris, I've also turned on rpc.lockd and rpc.statd. This seemed to work, except when one of the boxes crashed. It took a couple of hours and several reboots of both boxes before my sys admin was able to clear the outstanding locks.

Locking over NFS seems to be problematic at best.

  • Comment on Re: Exclusive locking of a file on an NFS filesystem

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://174470]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-12-08 15:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which IDE have you been most impressed by?













    Results (51 votes). Check out past polls.