You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by GitBox <gi...@apache.org> on 2020/01/22 01:04:01 UTC

[GitHub] [activemq-artemis] gaohoward commented on a change in pull request #2938: ARTEMIS-2596 (kill -9) AMQ causes tmp web dir space usage to increase

gaohoward commented on a change in pull request #2938: ARTEMIS-2596 (kill -9) AMQ causes tmp web dir space usage to increase
URL: https://github.com/apache/activemq-artemis/pull/2938#discussion_r369324880
 
 

 ##########
 File path: artemis-web/src/main/java/org/apache/activemq/artemis/component/WebServerComponent.java
 ##########
 @@ -226,6 +227,7 @@ public void start() throws Exception {
       if (isStarted()) {
          return;
       }
+      cleanupTemporaryFilesIfAnyBeforeStart();
 
 Review comment:
   It eventually calls WebTmpCleaner but before that we need to figure out where the tmp dir is. (because before the web server start there is no tmpdir in each web context. The tmpdir only
   exists in the web context after the webapp (war) is deployed). 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services