Increase time before SIGKILL to let apps shutdown gracefully

nsbradfordPRO

a year 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

a year ago

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


Status changed to Solved railway[bot] over 1 year 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 over 1 year ago


Increase time before SIGKILL to let apps shutdown gracefully - Railway Help Station