Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign updev-2.0 stuck trying to exit #2630
Comments
This comment has been minimized.
This comment has been minimized.
|
Could grab the output of: http://localhost:9090/debug/pprof/goroutine?debug=2 Gisted here: https://gist.github.com/Gouthamve/ba1c52b09034a96d3b73fc85c8939011#file-goroutine-debug-2 |
This comment has been minimized.
This comment has been minimized.
|
Looking at the goroutine dump, I see that this could have been caused by #2629 This is because there are 2 goroutines stuck trying to acquire The panic caused by the parser might not have let |
fabxc
added
the
dev-2.0
label
Apr 18, 2017
grobie
added
the
kind/bug
label
Apr 22, 2017
This comment has been minimized.
This comment has been minimized.
|
This is due to a panic. What potentially happened was we panicked due to a bug and that go-routine had acquired a lock. And we cannot gracefully exit until that lock is released. But as this is caused due to a panic, something which should never happen, can we close this? |
This comment has been minimized.
This comment has been minimized.
|
I think so yes. We definitely fixed a bunch of cases where we put lock releases into |
fabxc
closed this
Jun 7, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
gouthamve commentedApr 17, 2017
Prometheus dev-2.0 branch did not exit after SIGTERM.
Relevant logs: https://gist.github.com/Gouthamve/ba1c52b09034a96d3b73fc85c8939011
I see
fdatasync(17)in the middle which makes me think that Prometheus is stuck trying to flush.cc @fabxc