Comment 54 for bug 1446583

Revision history for this message
Elena Ezhova (eezhova) wrote :

As I found out, all services are stopped using pkill -g <service_pid> [1] which means that SIGTERM is sent to all processes in a given process group simultaneously. That doesn't seem like a 100% correct way because a parent process is supposed to terminate its children itself [2]. So from my POW it would be more reasonable to stop services using kill <service_pid>.

[1] https://github.com/openstack-dev/devstack/blob/master/functions-common#L1478
[2] https://github.com/openstack/oslo.service/blob/master/oslo_service/service.py#L536-L551