Changing Fedora's shutdown timeouts
Changing Fedora's shutdown timeouts
Posted Jan 19, 2023 14:58 UTC (Thu) by madscientist (subscriber, #16861)In reply to: Changing Fedora's shutdown timeouts by dskoll
Parent article: Changing Fedora's shutdown timeouts
Yes. It's a matter of whether you want to spend time at shutdown, or time at startup. On the product I worked on we used to drain our journal at shutdown but customers hated that. They wanted the thing to go down when they told it to: draining the journal can take many minutes, sometimes, depending on the situation.
Since we have to support ACID / poweroff / kill -9 / etc. anyway, we changed our shutdown to basically call _exit() and now it's very fast :). But it does mean that when they next start the service it may take longer to start up because all that work of reconciling the journal has to be done then.
For people who are concerned about it there is a standalone tool that can be used to reconcile the journal in the background while the service is offline, rather than doing it at startup.
