[
https://issues.apache.org/jira/browse/ARTEMIS-2596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17110594#comment-17110594
]
ASF subversion and git services commented on ARTEMIS-2596:
----------------------------------------------------------
Commit d0a2186e9c66be1799a60b6dfc33fc3b1bff591d in activemq-artemis's branch
refs/heads/master from Howard Gao
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=d0a2186 ]
ARTEMIS-2596 (kill -9) AMQ causes tmp web dir space usage to increase
If you kill the server without invoking a normal shutdown, tmp
web files are not cleaned out. This leaves old webapp folders
lingering until a normal shutdown.
In a failover test environment that repeatedly kills the server,
this causes disk space usage issues.
The fix is to add a cleanup method before the web server starts.
It searches the tmp web dir if there is any leftover files/dirs
and delete them if any.
> (kill -9) AMQ causes tmp web dir space usage to increase
> --------------------------------------------------------
>
> Key: ARTEMIS-2596
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2596
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Web Console
> Affects Versions: 2.10.1
> Reporter: Howard Gao
> Assignee: Howard Gao
> Priority: Major
> Fix For: 2.14.0
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> If you kill the server without invoking a normal shutdown, tmp files are not
> cleaned out. This leaves old webapp folders lingering until a normal
> shutdown.
> {code}
> ./tmp/jetty-0.0.0.0-8443-redhat-branding.war-_redhat-branding-any-3285121346946007361.dir
> ./tmp/jetty-0.0.0.0-8443-console.war-_console-any-4977922188149081743.dir/
> ./tmp/jetty-0.0.0.0-8443-artemis-plugin.war-_artemis-plugin-any-4959919418401315172.dir
> {code}
> In a failover test environment that repeatedly kills the server, this causes
> disk space usage issues.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)