Skip to content
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

allow dumping goroutine stacks even without the pprof listener #1975

Closed
slingamn opened this issue Jun 16, 2022 · 1 comment
Closed

allow dumping goroutine stacks even without the pprof listener #1975

slingamn opened this issue Jun 16, 2022 · 1 comment
Milestone

Comments

@slingamn
Copy link
Member

We want the default handler where it prints a full goroutine stack dump.

@slingamn slingamn added this to the v2.11 milestone Jun 16, 2022
@slingamn
Copy link
Member Author

The default handler has the disadvantage of not closing buntdb (or running other shutdown tasks).

What if we printed a full stack dump on SIGUSR1 without quitting?

slingamn added a commit to slingamn/ergo that referenced this issue Dec 11, 2022
Provide a nondestructive stack trace dump option even when the http pprof
listener is disabled
@slingamn slingamn changed the title stop handling SIGQUIT allow dumping goroutine stacks even without the pprof listener Dec 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant