Skip to content

chore: add http/pprof server over unix socket for debug #295

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
merged 2 commits into from
Oct 14, 2024

Conversation

spikecurtis
Copy link
Contributor

re: coder/coder#14726

Adds a pprof goroutine dump listening on a unix domain socket at a well known path beneath the terraform work directory. E.g. /home/coder/.cache/coder/provisioner-0/work/.coder/pprof with our default cache directory on coderd.

This should allow us to further diagnose the text file busy error, by seeing where things are hung in the goroutine dump.

@spikecurtis spikecurtis requested review from sreya and johnstcn October 4, 2024 09:44
@spikecurtis spikecurtis merged commit 2863913 into main Oct 14, 2024
8 checks passed
@spikecurtis spikecurtis deleted the spike/coder14726-serve-pprof branch October 14, 2024 07:20
@github-actions github-actions bot locked and limited conversation to collaborators Oct 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants