[pkg-go] Bug#824842: prometheus: let systemd wait longer for graceful stop

Filippo Giunchedi filippo at debian.org
Fri May 20 10:47:48 UTC 2016


Package: prometheus
Version: 0.18.0+ds-2
Severity: normal

hi,
I noticed on bigger prometheus instances it might take quite some time after
'stop' is requested before the storage is completely flushed to disk, I'm
proposing to add TimeoutStopSec= to the service file to have systemd wait
before SIGTERM, not sure about the default value, 5m perhaps? Alternatively
mentioning it README.Debian would do too.

thanks,
filippo

-- System Information:
Debian Release: 8.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.5.0-0.bpo.1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages prometheus depends on:
ii  daemon                0.6.4-1
ii  libc6                 2.19-18+deb8u4
ii  libjs-bootstrap       3.2.0+dfsg-1
ii  libjs-handlebars      1.3.0-1
ii  libjs-jquery-hotkeys  0~20130707+git2d51e3a9+dfsg-2
ii  libjs-rickshaw        1.5.0.dfsg-1

Versions of packages prometheus recommends:
pn  prometheus-cli            <none>
ii  prometheus-node-exporter  0.11.0+ds-1~bpo8+2

prometheus suggests no packages.



More information about the Pkg-go-maintainers mailing list