pyroscope
pyroscope copied to clipboard
use ebpfagent to profile a service would hang up after few times
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:
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!"
The OS is Centos 7.4 and the kernel is linux 4.18.