Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #186262

Re: Btrs vs ext4. Which one is more reliable?

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: Btrs vs ext4. Which one is more reliable?
Date 2017-09-01 03:50 +0200
Message-ID <ukJfR-5hS-31@gated-at.bofh.it> (permalink)
References (3 earlier) <ucW0y-6lE-11@gated-at.bofh.it> <ucWjU-6I0-19@gated-at.bofh.it> <udkvU-5mU-9@gated-at.bofh.it> <udkYV-5NJ-5@gated-at.bofh.it> <udlLj-6j5-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri 11 Aug 2017 at 19:13:47 (+0200), Christian Seiler wrote:
> Hi there,
> 
> On 08/11/2017 06:29 PM, Dejan Jocic wrote:
> > On 11-08-17, Christian Seiler wrote:
> >> You can also set DefaultTimeoutStopSec= in /etc/systemd/system.conf
> >> to alter the default for all units (though individual settings for
> >> units will still override that).

That works great. I've set   DefaultTimeoutStopSec=27s

> > Thank you for suggestion. I did find that solution, some time ago, can't
> > remember exactly where. But it was followed by warning that it is bad
> > idea, can't remember exactly why. Do you have any hint of why it could
> > be bad idea to limit timeout, or I've just misunderstood whatever I've
> > read about it?
> 
> Well, there's a reason the default is 90s. And for some services even
> that might be too short. Take for example a database server where the
> regular stop script might take 10 minutes to shut down properly (when
> no error occurs).

The problem only embarrasses me on laptops, eg leaving the house,
boarding an aircraft, etc. Nothing important is running (I've already
killed X and touched the power button) and the only alternative is
forcing it off with the prolonged power button.

It's worked well for a fortnight now.

> The right timeout is always a balancing act - and systemd's default
> is a compromise to provide something that won't break most use cases
> but still cause the system to shut down after a finite time.

There are some timeouts that are set to "no limit" but I haven't hit
one of those for nearly a year. It's incomprehensible to me why
"RPC portmapper replacement" needs to be shut down cleanly however
long it takes. Likewise the "Color Profiles" manager which, while
having a 90 second timeout to start with, would increment the timeout
by another 90 seconds each time it expired, so it was effectively
infinite.

Cheers,
David.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Btrs vs ext4. Which one is more reliable? David Niklas <doark@mail.com> - 2017-08-10 06:10 +0200
  Re: Btrs vs ext4. Which one is more reliable? Dan Ritter <dsr@randomstring.org> - 2017-08-10 13:10 +0200
    Re: Btrs vs ext4. Which one is more reliable? David Wright <deblis@lionunicorn.co.uk> - 2017-08-10 15:50 +0200
      Re: Btrs vs ext4. Which one is more reliable? Dan Ritter <dsr@randomstring.org> - 2017-08-10 16:10 +0200
      Re: Btrs vs ext4. Which one is more reliable? Dejan Jocic <jodejka@gmail.com> - 2017-08-10 16:10 +0200
        Re: Btrs vs ext4. Which one is more reliable? Christian Seiler <christian@iwakd.de> - 2017-08-11 18:00 +0200
          Re: Btrs vs ext4. Which one is more reliable? Dejan Jocic <jodejka@gmail.com> - 2017-08-11 18:30 +0200
            Re: Btrs vs ext4. Which one is more reliable? Christian Seiler <christian@iwakd.de> - 2017-08-11 19:20 +0200
              Re: Btrs vs ext4. Which one is more reliable? David Wright <deblis@lionunicorn.co.uk> - 2017-09-01 03:50 +0200
                Re: Btrs vs ext4. Which one is more reliable? Henrique de Moraes Holschuh <hmh@debian.org> - 2017-09-01 13:40 +0200
                Re: Btrs vs ext4. Which one is more reliable? David Wright <deblis@lionunicorn.co.uk> - 2017-09-01 18:00 +0200
      Re: Btrs vs ext4. Which one is more reliable? Gary Dale <garydale@torfree.net> - 2017-08-11 17:00 +0200
    Re: Btrs vs ext4. Which one is more reliable? Andy Smith <andy@strugglers.net> - 2017-08-12 05:10 +0200
      Re: Btrs vs ext4. Which one is more reliable? Zenaan Harkness <zenaan@freedbms.net> - 2017-08-12 09:00 +0200
      Re: Btrs vs ext4. Which one is more reliable? rhkramer@gmail.com - 2017-08-12 15:20 +0200

csiph-web