You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (Jira)" <ji...@apache.org> on 2024/08/30 13:12:00 UTC

[jira] [Updated] (ARTEMIS-5023) Web temp directory cleaner is moot now

     [ 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: issues-unsubscribe@activemq.apache.org
For additional commands, e-mail: issues-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact