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:
[email protected]


With regards,
Apache Git Services

Reply via email to