Giter Club home page Giter Club logo

Comments (3)

ismarslomic avatar ismarslomic commented on September 24, 2024

@cptactionhank would you be able to support me on how we could achieve this?

from docker-atlassian-jira-software.

cptactionhank avatar cptactionhank commented on September 24, 2024

Please not that it is not me that have developed the Atlassian products so I cannot do anything magical about this.

When the container is shutdown i.e. docker stop the main process which is the a tomcat instance running in foreground, it receives the default SIGTERM (15) and begins to gracefully shutdown however the Tomcat and Atlassian application has implemented on how to. (Exit code is usually 143 because of the JVM)

If you are experiencing that the container is shutdown is with exit code SIGKILL (9 or 137) then you process has been to slow and Docker is killing it in a harsher way on your behalf. Please see the section "docker stop" in your provided link.

When shutting down my own containers with appropiate timeouts I get the Apache Tomcat Native statistics output in the end which to me indicated that the application has shut down gracefully. A hard shutdown like SIGKILL (9) I believe would not yield the APR statistics in the end.

from docker-atlassian-jira-software.

cptactionhank avatar cptactionhank commented on September 24, 2024

Closed since we're already utilizing Tomcat's normal shutdown procedure

from docker-atlassian-jira-software.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.