9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Killing venti
@ 2012-01-03 17:21 smiley
  2012-01-03 17:30 ` Russ Cox
  0 siblings, 1 reply; 6+ messages in thread
From: smiley @ 2012-01-03 17:21 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Yeah, I know, pull out a sharp knife, and jab real hard...

No, really.  What's the prescribed way to kill a venti server, safely,
without losing data?  The approach I've been using on p9p has been:

  (1) Wait for venti to stop writing to disk.
  (2) Send venti SIGTERM.

The venti process dies, sure enough, but I later get errors that some
blocks haven't been stored.  (Whether they weren't stored, or were
stored and just failed to get indexed or Bloomed, I don't know.)

So, what's the proper way to do this?  Is there something like "echo
pleasedieimaskingnicely > /tmp/ns.smiley:1/venti.ctl" I can use?

--
+---------------------------------------------------------------+
|Smiley       <smiley@icebubble.org>    PGP key ID:    BC549F8B |
|Fingerprint: 9329 DB4A 30F5 6EDA D2BA  3489 DAB7 555A BC54 9F8B|
+---------------------------------------------------------------+



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-01-06 17:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-03 17:21 [9fans] Killing venti smiley
2012-01-03 17:30 ` Russ Cox
2012-01-05 17:35   ` smiley
2012-01-05 18:21     ` David du Colombier
2012-01-06 17:20       ` smiley
2012-01-05 19:12     ` Russ Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).