[openstack-dev] profiling - eg neutron-vpn-agent
Rick Jones
rick.jones2 at hpe.com
Mon May 23 21:07:21 UTC 2016
On 05/23/2016 01:33 PM, Kevin Benton wrote:
> I've found that the issue is that if you interrupt with ctrl-C it won't
> write the profile. However, sending it a SIGTERM with the 'kill' command
> did the trick when I was using cprofile. I think oslo service calls
> os.exit right on SIGINT so the profiler doesn't get a chance to write out.
SIGTERM does seem to result in a file being written-out. Thanks. That
gets me one step closer.
happy benchmarking,
rick jones
More information about the OpenStack-dev
mailing list