|
|
Log in / Subscribe / Register

Changing Fedora's shutdown timeouts

Changing Fedora's shutdown timeouts

Posted Jan 24, 2023 19:26 UTC (Tue) by andresfreund (subscriber, #69562)
In reply to: Changing Fedora's shutdown timeouts by madscientist
Parent article: Changing Fedora's shutdown timeouts

I am not saying that it's unacceptable to reduce shutdown times. In fact, I agree that the default should be decreased. We might differ on what a good value for services that need a longer shutdown is, but that's details.

My point was just that I don't think it's as binary as >>Any "database" which is corrupted by a hard stop cannot be called a "database"<< because people intentionally use settings like fsync=off, to reduce overhead on systems when durability is not paramount, and still would like data to not be corrupted outside of genuine crashes.


to post comments

Changing Fedora's shutdown timeouts

Posted Jan 24, 2023 21:25 UTC (Tue) by Wol (subscriber, #4433) [Link]

> My point was just that I don't think it's as binary as >>Any "database" which is corrupted by a hard stop cannot be called a "database"<< because people intentionally use settings like fsync=off, to reduce overhead on systems when durability is not paramount, and still would like data to not be corrupted outside of genuine crashes.

c/database/filesystem/

You have the ext4 debacle where the DEFAULT would lose data in the event of a system crash, resulting in a corrupt filesystem and necessitating a "restore from backup". And it was all totally unnecessary.

The point is not to avoid all corruption (that's not possible), but don't ask for trouble. The best user-space in the world won't save you if the infrastructure underneath drops you in it without due cause ...

Cheers,
Wol

Changing Fedora's shutdown timeouts

Posted Jan 25, 2023 1:18 UTC (Wed) by madscientist (subscriber, #16861) [Link]

What I'm trying to say is that the definition of "genuine crashes" is so wide and variable that expanding it to include "can't shut down in 30s" (or whatever amount of time) is not worth worrying about.

If people disable safety features then they are at the mercy of any sort of problem that happens. If they don't care enough about their data to preserve it in the face of any other problem they might face then I don't see why "slow shutdown" being added to that list should impact the rest of us.

Of course others may have other opinions, but I'll simply have to agree to disagree with those people: I don't see any grey area between "your data is reliably durable" and "your data is not reliably durable" that's worth arguing about.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds