Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: reliable lockfiles?

by tweetiepooh (Friar)
on Jun 20, 2012 at 15:04 UTC ( #977376=note: print w/ replies, xml ) Need Help??


in reply to reliable lockfiles?

If you are going to check the process tree why not simply check if multiple copies of the process are running and die if so. If the lock file is used else where then if this is the only copy running then drop and recreate the lock file.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2016-07-25 01:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (221 votes). Check out past polls.