On Thu, Aug 10, 2017 at 08:44:33AM -0500, David Wright wrote:
> On Thu 10 Aug 2017 at 07:04:09 (-0400), Dan Ritter wrote:
> > On Wed, Aug 09, 2017 at 09:46:09PM -0400, David Niklas wrote:
> > > On Sat, 29 Jul 2017 04:59:40 +0000
> > > Andy Smith <a...@strugglers.net> wrote:
> > > 
> > > Also, my use case is at home where the power can and *does* fail. I also
> > > find myself using the latest kernel and oftentimes an experimental driver
> > > for my AMD graphics card, hence my need for a *very* stable fs over
> > > sudden unmount.
> > 
> > Buy a cheap UPS with a USB or serial connection to your
> > computer. Even if it only supplies power for 2 minutes, that's
> > enough time for the computer to receive the power outage signal
> > and do an orderly shutdown.
> 
> Two minutes barely covers the timeouts that can often occur when
> shutting down systemd; the commonest timeout period here seems
> to be 90 seconds. I wouldn't mind reducing them if that's possible.
> Processes got just a few seconds with sysvinit before they were
> killed.

I wouldn't know; I only run systemd on throwaway test systems.

I assure you that my Debian, stretch, sysvinit firewall can shutdown
and reboot to full networking in less than 30 seconds. There's nothing
exciting going on in the hardware -- AMD Kabini (low cost, low energy,
low performance) CPU and a small cheap SSD.

30 seconds is an important target, because it's a default
timeout for lots of protocols. 

-dsr-

Reply via email to