Skip to content

Conversation

@Unix4ever
Copy link
Member

It now starts on 0.0.0.0:2135.

It now starts on `0.0.0.0:2135`.

Signed-off-by: Artem Chernyshev <[email protected]>
@talos-bot talos-bot moved this to In Review in Planning Dec 5, 2025
func cratePprofMux() http.Handler {
mux := &http.ServeMux{}

mux.HandleFunc("/debug/pprof/", pprof.Index)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh I see

Copy link
Member Author

@Unix4ever Unix4ever Dec 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But that enables it only for debug builds.
Or running it without debug doesn't make much sense?

I wanted to see what's taking 64GB of ram when Talemu runs with 1000 machines. Not sure if running load tests in debug mode is a good idea

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know, but I think with go-debug it's a single liner, but yes, requires debug mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

3 participants