Difference between stop container and kill process
search cancel

Difference between stop container and kill process


Article ID: 189153


Updated On:


CA API Gateway CA Microgateway


Two microgateway containers are processing requests from an API Gateway.
When one of the microgateways was stopped by the stop command, the API Gateway received 404 response and couldn't detect the termination of the microgateway for several seconds.
On the other hand, the API Gateway detected the failure of another microgateway immediately when the microgateway container process was killed.

Are they expected behaviors?


Release : 1.0

Component : Microgateway


Yes, they are expected container behaviors.

When the microgateway is stopped by the stop command for the container, it takes some time for terminating the process gracefully. The 404 HTTP response can be returned at the time. Contrarily, the microgateway is terminated immediately when the process is killed forcibly.