pyroscope icon indicating copy to clipboard operation
pyroscope copied to clipboard

use ebpfagent to profile a service would hang up after few times

Open lingchengfenzi opened this issue 2 years ago • 0 comments

When I use ebpfagent to profile my service application, it would hang up after few upload times. My application has thousands threads. Because of bcc profile use 11 seconds would make too much overhead, I change the profile time to 1 second.

I add some print in pyroscope like this:

reset

My command is: sudo -E ./pyroscope connect --application-name my.test.program --server-address https://******.com/ --spy-name ebpfspy --pid <pid> --log-level debug

And it hang up after print "9999999999999!" hang

The OS is Centos 7.4 and the kernel is linux 4.18.

lingchengfenzi avatar Jun 22 '22 02:06 lingchengfenzi