Thanks to visit codestin.com
Credit goes to github.com

Skip to content

In multiprocess mode, ensure that metrics initialise to the correct file #328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

bloodearnest
Copy link
Contributor

Without this, when forking, children can initialise metrics to the
cached master pid file. This is racy, and can corrupt the master's
mmaped file, breaking all subsequent collections.

file.

Without this, when forking, children can initialise metrics to the
cached master pid file. This is racy, and can corrupt the master's
mmaped file, breaking all subsequent collections.

Signed-off-by: Simon Davy <[email protected]>
@bloodearnest bloodearnest force-pushed the multivalue-init-pid-check branch from 3056453 to 8b916b6 Compare October 17, 2018 14:00
@brian-brazil brian-brazil merged commit 3088bc1 into prometheus:master Oct 17, 2018
@brian-brazil
Copy link
Contributor

Thanks!

@romuald
Copy link
Contributor

romuald commented Nov 29, 2018

Been trying to debug this on on a much older version of the lib for hours … thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants