Skip to content

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

Merged
spikecurtis merged 2 commits into
mainfrom
spike/coder14726-serve-pprof
Oct 14, 2024
Merged

spikecurtis merged 2 commits into
mainfrom
spike/coder14726-serve-pprof

Conversation

@spikecurtis

Copy link
Copy Markdown
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 johnstcn and sreya October 4, 2024 09:44
Comment thread pprof_unix.go Resolved
@spikecurtis
spikecurtis merged commit 2863913 into main Oct 14, 2024
@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