Replies: 1 comment 2 replies
-
Hey @l-x 👋🏻 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We recently came across the problem that
systemd stop roadrunner.service
with the unit file shown at https://docs.roadrunner.dev/docs/app-server/systemd sends both the Roadrunner process and the PHP worker processes SIGTERM at the same time. In our situation, this led to Roadrunner immediately restarting all workers and then waiting for them to finish - which of course never happened. After 30 seconds, Roadrunner then forcefully terminated these new workers.We were able to solve this by setting the value for
KillMode
tomixed
in the unit file. In our case, we also had to adjust the value forTimeoutStopSec
to the Roadrunner configuration forjobs.pool.destroy_timeout
.Perhaps it makes sense to include these findings in the example unit file.
Beta Was this translation helpful? Give feedback.
All reactions