[ 
https://issues.apache.org/jira/browse/ARTEMIS-5023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Bertram updated ARTEMIS-5023:
------------------------------------
    Description: 
Before the changes from ARTEMIS-4525 temporary web resources could proliferate 
and consume inordinate amounts of disk space because their directory names were 
generated uniquely every time Jetty was started. However, now that they are 
deterministic no proliferation is possible. Jetty will create the directories 
when it starts, remove them when it stops, and if it fails to clean-up on 
shutdown (e.g. crash from OOME) it will clean-up and recreate when it starts. 

Therefore, our own house-keeping of those directories is no longer needed and, 
in fact, causes problems. For example, when executing the 
{{restartEmbeddedWebServer}} management operation the temp web resources will 
actually be removed inadvertently causing the web console to fail.

> Web temp directory cleaner is moot now
> --------------------------------------
>
>                 Key: ARTEMIS-5023
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5023
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>
> Before the changes from ARTEMIS-4525 temporary web resources could 
> proliferate and consume inordinate amounts of disk space because their 
> directory names were generated uniquely every time Jetty was started. 
> However, now that they are deterministic no proliferation is possible. Jetty 
> will create the directories when it starts, remove them when it stops, and if 
> it fails to clean-up on shutdown (e.g. crash from OOME) it will clean-up and 
> recreate when it starts. 
> Therefore, our own house-keeping of those directories is no longer needed 
> and, in fact, causes problems. For example, when executing the 
> {{restartEmbeddedWebServer}} management operation the temp web resources will 
> actually be removed inadvertently causing the web console to fail.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to