Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Proc::PID::File problem generating pid files, or: does it matter where a pid file lives?

by tospo (Hermit)
on May 21, 2010 at 16:24 UTC ( #841112=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    use Proc::PID::File;
    die "Already running!" if Proc::PID::File->running();
    
  2. or download this
    pid "/var/run/proc_pid.pl.pid" already locked: Bad file descriptor
    
  3. or download this
    #!/usr/bin/env perl
    use Proc::PID::File;
    die "Already running!" if Proc::PID::File->running(dir=>"/my/home/dir"
    +);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (14)
As of 2014-09-23 12:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (219 votes), past polls