OQ Engine should trap the SIGTERM
Bug #1282561 reported by
Daniele Viganò
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake Engine |
Fix Released
|
Medium
|
Michele Simionato |
Bug Description
The OQ Engine should trap the SIGTERM and map it to the SIGINT.
This will:
- Mark the computation as failed instead of keeping it as "pending" or "running"
- Send the revoke command to Celery (and the SIGTERM if it's enabled in the settings)
helping the users managing killed process without restarting Celery.
The possibility to forcibly kill the process will remain through the SIGKILL command.
Changed in oq-engine: | |
status: | In Progress → Fix Committed |
Changed in oq-engine: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
https:/ /github. com/gem/ oq-engine/ pull/1391