[cups.development] pid file

Michael Sweet mike at easysw.com
Thu Nov 4 16:15:34 PST 2004


stan at saticed.me.uk wrote:
> ...
> As adding pid file writing capabilities doesn't seem that difficult (I
> guess just below "if (parent_signal == SIGUSR1)" in scheduler/main.c) I
> wondered if this had been omitted on purpose?

It has been omitted on purpose.

The problem with PID files is that you can't depend on them being
up-to-date.  If a server dies without removing its old PID file,
then you run the risk of killing the wrong process or thinking that
the server is still running...

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet `Printing and Publishing Software       http://www.easysw.com




More information about the cups mailing list