Increase time before SIGKILL to let apps shutdown gracefully
nsbradford
PROOP

2 years ago

We're using Railway with a Celery task queue, and are experiencing a problem that on new deploys the SIGKILL from Railway comes too quickly after the SIGTERM, so the Celery worker does not have time to complete its tasks before being killed. Is there any way to adjust the timeout to give processes more time to gracefully shut themselves down?

Archived

1 Replies

2 years ago

the graceful wait is 3 seconds, there is no way to extend this


Status changed to Solved Railway about 2 years ago


2 years ago

Feature request here: https://community.railway.app/discuss/thread/configurable-sigterm-sigkill-time-aka-d-bda06bb2

Archiving this to consolidate discussion in the thread above.

Status changed to Archived ray-chen about 2 years ago


Loading...