Re: Btrs vs ext4. Which one is more reliable?
- To: debian-user@lists.debian.org
- Subject: Re: Btrs vs ext4. Which one is more reliable?
- From: David Wright <deblis@lionunicorn.co.uk>
- Date: Thu, 31 Aug 2017 20:46:51 -0500
- Message-id: <[🔎] 20170901014651.GB19563@alum>
- Reply-to: debian-user@lists.debian.org
- In-reply-to: <988e4627-cb0a-bd21-0810-398c0b932921@iwakd.de>
- References: <20170729090334.2A243C28@bendel.debian.org> <20170809214609.5439c9b2@ulgy_thing> <20170810110409.GF12801@newtao.randomstring.org> <20170810134433.GA27383@alum> <20170810140211.rtohqu4nlanbtieh@ddeb.ddeb.net> <4625b6339949159ca5cfe6034b696f17@iwakd.de> <20170811162920.knpimzlzekkt23c6@ddeb.ddeb.net> <988e4627-cb0a-bd21-0810-398c0b932921@iwakd.de>
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.
Reply to: