Increase the Tomcat shutdown time from 20 sec to higher number.

XMLWordPrintable

    • 4

      IHAC where who experience errors while stopping the Jira.

      • Since we have 20 sec has limited out of the box in the stop-jira.sh for the shutdown.sh
      • Due to the number of plugins it dealy the proceed and as per hard limit we force kill it.
      • It creates the thread dump and prints the error.
        Server startup logs are located in /opt/ta2jira/jira-uat/current/tomcat/logs/catalina.out
        Using CATALINA_BASE: /opt/ta2jira/jira-uat/current/tomcat
        Using CATALINA_HOME: /opt/ta2jira/jira-uat/current/tomcat
        Using CATALINA_TMPDIR: /opt/ta2jira/jira-uat/current/tomcat/temp
        Using JRE_HOME: /opt/ta2jira/java/openjdk-8u212-b04
        Using CLASSPATH: /opt/ta2jira/jira-uat/current/tomcat/bin/bootstrap.jar:/opt/ta2jira/jira-uat/current/tomcat/bin/tomcat-juli.jar
        Using CATALINA_PID: /opt/ta2jira/jira-uat/current/tomcat/work/catalina.pid
        *Tomcat did not stop in time.
        To aid diagnostics a thread dump has been written to standard out.
        Killing Tomcat with the PID: 14906
        The Tomcat process has been killed.*
        
      • We have changed it to 60 sec and that much time allows it to shutdown gracefully.

        1. Screenshot 2020-03-16 21.07.55.png
          20 kB
          kgupta
        2. Script Timetweak-Demo.mov
          6.36 MB
          kgupta
        3. timetweak.sh
          0.2 kB
          kgupta

            Assignee:
            Tripta Kaur
            Reporter:
            kgupta (Inactive)
            Votes:
            6 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: