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

Second live load in a server can't expose pprof endpoint #3985

Closed
campoy opened this issue Sep 13, 2019 · 0 comments · Fixed by #3846
Closed

Second live load in a server can't expose pprof endpoint #3985

campoy opened this issue Sep 13, 2019 · 0 comments · Fixed by #3846
Labels
area/live-loader Issues related to live loading. exp/beginner Something most people could solve. kind/bug Something is broken. status/accepted We accept to investigate/work on it.

Comments

@campoy
Copy link
Contributor

campoy commented Sep 13, 2019

Live loader exposes on localhost:6060 the pprof endpoint, but this is not configurable.
If two live loaders were running on the same machine, you'd see the following error and you could only profile one of the live loaders:

E0821 13:57:45.822777    7462 run.go:291] Error while starting HTTP server in port 6060: listen tcp 127.0.0.1:6060: bind: address already in use
@campoy campoy added area/live-loader Issues related to live loading. exp/beginner Something most people could solve. kind/bug Something is broken. status/accepted We accept to investigate/work on it. labels Sep 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/live-loader Issues related to live loading. exp/beginner Something most people could solve. kind/bug Something is broken. status/accepted We accept to investigate/work on it.
Development

Successfully merging a pull request may close this issue.

1 participant