From mboxrd@z Thu Jan 1 00:00:00 1970 From: smiley@icebubble.org To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Date: Tue, 3 Jan 2012 17:21:31 +0000 Message-ID: <864nwchfc4.fsf@cmarib.ramside> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [9fans] Killing venti Topicbox-Message-UUID: 53824578-ead7-11e9-9d60-3106f5b1d025 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 PGP key ID: BC549F8B | |Fingerprint: 9329 DB4A 30F5 6EDA D2BA 3489 DAB7 555A BC54 9F8B| +---------------------------------------------------------------+