-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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
Need more tsdb log #3185
Comments
Hi, on startup we read the write ahead log (WAL) and that could several be Gigs in size which could take several mins. But that is essentially the only thing that happens on startup so I am not sure if we should print anything else. |
@tinytub this should've been a deadlock in TSDB (fixed in prometheus-junkyard/tsdb#146). More logging would generally not help as @gouthamve pointed out but #3186 should improve debugging capabilities if such things come up in the future. |
@fabxc thx a lot, hope for next prerelease |
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. |
What did you do?
stop graceful prometheus or killed hard prometheus
What did you expect to see?
Want to see more tsdb starting logs
Whatever stop graceful or killed hard, tsdb start will spend long time (1 minute - 10 minute) or hang at starting tsdb log. and I cannot figure out what cause the long time start.
What did you see instead? Under which circumstances?
Environment
Linux 2.6.32-696.3.2.el6.v6.2.x86_64 x86_64
prometheus, version 2.0.0-beta.4 (branch: HEAD, revision: 1b80f63)
build user: root@c5b3f10ffc51
build date: 20170914-11:22:50
go version: go1.8.3
The text was updated successfully, but these errors were encountered: