Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by nagalenoj (Friar)
on May 22, 2010 at 05:49 UTC ( #841162=note: print w/replies, xml ) Need Help??


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

To my point of view, It is a matter of accessibility to processes.

Before selecting the pid files directory, take a note of following points:

* Number of users accessing the machine(either from local or from remote).
* Access permission for the directory and pid file for other users. Because, the file can be removed/renamed/modified if it is accessi ble to other users(knowingly or unknowingly). So, better to give permission which is enough.
* Different processes which could access the pid file (for inter-communication between processes (i.e). one process could read the pid file and send signal to your process).

Not noticing the above things, could create unnecessary problems sooner or later.

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://841162]
help
Chatterbox?
[Eily]: what? I thought PHP was known for its reliable and consistent behaviour and documentation!
[LanX]: ... and a lot of pseudo Perl experts
[Eily]: though honestly, I'm sure I have seen people use closure to mean anonysub for perl as well
[stonecolddevin]: good morning friends
[LanX]: yes, mainly pseudo Perl experts
[Eily]: good morning stonecolddevin
LanX has to go/
[Eily]: bye LanX

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (10)
As of 2018-02-23 17:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (305 votes). Check out past polls.

    Notices?