[pkg-go] Bug#890501: prometheus startup fails due to racey PID file implementation in prometheus

Tim Small tim at seoss.co.uk
Thu Feb 15 11:09:56 UTC 2018

Package: prometheus
Version: 2.1.0+ds-1+b1
Severity: important
Tags: upstream

Due to https://github.com/prometheus/prometheus/issues/2689 Prometheus
may fail to start (most commonly after a reboot), since the lock file
checking implementation it uses is naive (just "is there a pid running
with the same pid number that I wrote to the pid file").

The recommended (by upstream) workaround is to disable the lock file
checking by using the --storage.tsdb.no-lockfile commandline argument
when starting prometheus from the systemd unit file etc.

More information about the Pkg-go-maintainers mailing list