[rrd-developers] rrdcached shutdown

Florian Forster rrdtool at nospam.verplant.org
Thu Sep 25 23:36:36 CEST 2008


Hi Kevin,

On Thu, Sep 25, 2008 at 12:11:41PM -0500, kevin brintnall wrote:
> We could catch SIGTERM for expedited shutdown and SIGINT for full-flush
> shutdown?  Then, each operator can decide which makes the most sense.

I see your point, I'm in the same situation myself. However, I feel
somehow uncomfortable about making this ``fast exit'' feature the
default behavior. Can't tell you precisely why, it just doesn't feel
``right'' ;)

In any case, the user should have a choice. Using a different signal for
this is a good idea, though I'd use SIGUSR1 or SIGUSR2 for this. SIGTERM
and SIGINT aren't really different enough for this to make much sense
(imho).

Another, possibly additional, idea would be to add `SHUTDOWN' and
`BUGGEROFF'[*] commands.

Regards,
-octo

[*] A homage to Terry Pratchett, yet In desperate need of a better
    name.. ;)
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20080925/b0f6fcc5/attachment.bin 


More information about the rrd-developers mailing list