tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pidfile_lock(3)



On Thursday 24 March 2016 10:25:20 Brett Lymn wrote:
> On Tue, Mar 22, 2016 at 02:13:01PM +0100, Martin Husemann wrote:
> > None of my (plenty) diskless machines does that - /var/run is not
> > performance critical, so why bother?
> 
> Because it automagically gets cleared out when the machine reboots so
> you don't have to worry about stale pid files?

We mainly worry about stale pidfiles due to the application crashing rather 
than rebooting.

See here:
http://mail-index.netbsd.org/tech-userlevel/2016/03/21/msg009799.html

Roy


Home | Main Index | Thread Index | Old Index