Skip to content

[service plugin] Correct way to handle process termination #1627

Answered by rustatian
asanikovich asked this question in Q&A
Discussion options

You must be logged in to vote
  1. As far as I remember, k8s sends a SIGTERM signal. When receiving this signal, RR will initiate a graceful stop, here is the RR timeout (not service): https://github.com/roadrunner-server/roadrunner/blob/master/.rr.yaml#L2169. And yeah, RR will then send SIGINT to the underlying services.
  2. Unfortunately no, this timeout is fairly new, so still experimental. You may create a feature request for you previous request with the service_name_in_logs via RPC and this one in one FR.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@asanikovich
Comment options

@rustatian
Comment options

@asanikovich
Comment options

@rustatian
Comment options

Answer selected by rustatian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
R-question Question
2 participants