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 __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev