Re: [go-nuts] Unable to use net/http/pprof to profile live webserver

2016-12-22 Thread Shawn Milochik
Have you tried just running a separate `ListenAndServe` on another port on localhost, such as "localhost:6060"? That is what's done in the documentation and I've copied that with success many times. // should do the trick go http.ListenAndServe("localhost:6060", nil) Then (from within th

[go-nuts] Unable to use net/http/pprof to profile live webserver

2016-12-22 Thread 569234
Hello, I have a webserver application written in Golang that runs on a dedicated server. It serves a popular website and uses almost 100% CPU and 100GB of memory. It's in production but I'd like to profile it as it is: live. It's on a remote webserver, which I have access too via HTTP and SSH (