The threadcreate is only reporting for 1 node. What are you asking specifically?
github.com/robaho/goanalyzer might help with the block analysis.
> On Nov 15, 2019, at 7:04 AM, bln prasad wrote:
>
>
> Thanks. Now i'm able to get things working. However i'm not getting proper
> "threadcreate
Thanks. Now i'm able to get things working. However i'm not getting proper
"threadcreate" dump and block dump. I'm taking it by using
"http://127.0.0.1:6060/debug/pprof/threadcreate"; --> which saying below. I
have totally 23 threads and wants to see the reason, why they have been
created.
Typ
I think an easier way is to enable the http based profiling, then just request
the profile using the web interface using N seconds - much easier. You can make
enabling the http profiling a compile time option.
> On Nov 14, 2019, at 10:41 PM, Michael Jones wrote:
>
> If your program is endless,
If your program is endless, then you'll need to have a timer that says
"it's been long enough, write the profile now"
On Thu, Nov 14, 2019 at 9:35 AM bln prasad wrote:
> My applications main starts few go routines and runs indefinitely. its
> like pprof.StopCPUProfile() may never get called.
>
>
My applications main starts few go routines and runs indefinitely. its like
pprof.StopCPUProfile() may never get called.
Thanks,
BLN
On Wednesday, 13 November 2019 23:30:47 UTC+5:30, Ian Lance Taylor wrote:
>
> On Wed, Nov 13, 2019 at 9:37 AM bln prasad > wrote:
> >
> > I'm running go applic
On Wed, Nov 13, 2019 at 9:37 AM bln prasad wrote:
>
> I'm running go application as systemd service. I've enabled cpu profile using
> pprof as specified in documents. When service ran, it's creating file but no
> samples are getting written to file.
> Does it required any special build arguments
I'm running go application as systemd service. I've enabled cpu profile
using pprof as specified in documents. When service ran, it's creating file
but no samples are getting written to file.
Does it required any special build arguments?
f, err := os.Create("/tmp/cpu.prof")
if err