juanluisbaptiste / docker-otrs

The unofficial Znuny/OTRS Ticketing System docker image
https://www.juanbaptiste.tech/category/otrs
GNU Lesser General Public License v3.0
173 stars 101 forks source link

SIGTERM not forwarded to all processes #19

Closed Rillke closed 6 years ago

Rillke commented 6 years ago

When attempting to shutdown the OTRS container, it takes the timeout time until the container stops because the SIGTERM signal is not processed by all processes in the container. This causes the docker daemon to perform a forced shutdown after timeout passed, potentially causing a loss of data and other issues.

Expected: Graceful shoutdown.

How to reproduce: docker-compose stop

Further reading: https://medium.com/@gchudnov/trapping-signals-in-docker-containers-7a57fdda7d86