Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Synchronizing multiple processes retrieving files out of shared directory

by thezip (Vicar)
on Mar 19, 2014 at 21:50 UTC ( #1079001=note: print w/replies, xml ) Need Help??


in reply to Synchronizing multiple processes retrieving files out of shared directory

Perhaps you could create a temporary lockfile for a file that's currently in use. Other processes would check for (and ignore) any file that has a lockfile present.

Simplistic, but it might work...


*My* tenacity goes to eleven...
  • Comment on Re: Synchronizing multiple processes retrieving files out of shared directory

Replies are listed 'Best First'.
Re^2: Synchronizing multiple processes retrieving files out of shared directory
by MitchInOmaha (Initiate) on Mar 20, 2014 at 12:52 UTC
    The shared disk is Hitachi SAN connected to our Linux boxues with NFS.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2018-11-19 17:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My code is most likely broken because:
















    Results (216 votes). Check out past polls.

    Notices?