doc: suggest using timeoutstopsec in systemd file during IBD #15268
pull d3spwn wants to merge 3 commits into bitcoin:master from d3spwn:systemd-tweaks changing 2 files +4 −0-
d3spwn commented at 11:06 am on January 26, 2019: noneA naive user may run into trouble when using the provided systemd service file. By default, systemd will kill a process if it hasn’t stopped after 90 seconds, which may be to short during Initial Block Download. This PR adds a suggestion to increase the timeout during IBD.
-
Add TimeoutStopSec for IBD 4c1eebcb67
-
Add note about TimeoutStopSec during IBD e62454165b
-
fanquake added the label Docs on Jan 26, 2019
-
promag commented at 12:28 pm on January 27, 2019: memberYou mean that during IBD it doesn’t quit with SIGINT within 90sec?
-
d3spwn commented at 2:09 pm on January 27, 2019: none
You mean that during IBD it doesn’t quit with SIGINT within 90sec?
Yes, it may not. Especially with slow hardware and/or large dbcache (which is often recommended for IBD).
-
Fix typo 596e449cd9
-
in doc/init.md:89 in e62454165b outdated
85@@ -86,6 +86,8 @@ To test, run `systemctl start bitcoind` and to enable for system startup run 86 87 NOTE: When installing for systemd in Debian/Ubuntu the .service file needs to be copied to the /lib/systemd/system directory instead. 88 89+NOTE: Systemd can be very agressive in killing processes that don't stop in a reasonable amount of time. This can be a problem during Initial Block Download where it can take several minutes to flush cached data to disk. Therefore consider adding `TimeoutStopSec=infinity` to the file during IBD.
practicalswift commented at 10:06 pm on January 27, 2019:I don’t mean to be aggressive but you’re missing a “g” in “aggressive"111
d3spwn commented at 1:12 pm on January 31, 2019:Sorry. Fixed.practicalswift commented at 8:12 pm on February 1, 2019: contributorPerhaps the default value should be changed?
What would be a reasonable default for
TimeoutStopSec
that can be expected to work also during IBD in the general case?DrahtBot commented at 1:57 pm on August 8, 2019: memberThe following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Conflicts
Reviewers, this pull request conflicts with the following ones:
- #16569 (Increase init file stop timeout by setpill)
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
DrahtBot commented at 10:56 am on October 8, 2019: memberDrahtBot added the label Needs rebase on Oct 8, 2019GChuf commented at 11:27 am on October 23, 2019: contributorMaybe the default timestopsec value should be changed in another PR? This could get merged for now.fanquake added the label Up for grabs on Apr 12, 2020fanquake closed this on Apr 12, 2020
DrahtBot locked this on Feb 15, 2022
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-21 15:12 UTC
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-21 15:12 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me