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

Jean-Baptiste Onofré updated AMQ-9594:
--------------------------------------
    Fix Version/s:     (was: 6.2.0)

> Limit storage for temporary transactions store files 
> -----------------------------------------------------
>
>                 Key: AMQ-9594
>                 URL: https://issues.apache.org/jira/browse/AMQ-9594
>             Project: ActiveMQ Classic
>          Issue Type: Improvement
>          Components: KahaDB
>    Affects Versions: 5.18.4
>            Reporter: Ken Liao
>            Assignee: Ken Liao
>            Priority: Minor
>
> Currently when a transaction is inflight, it will generate temporary files in 
> the data store. With name tx-*.tmp. However size of those files are not 
> accounted for in the TempStorage limit configurable on ActiveMQ. As a result, 
> in certain cases, there could be huge dangling tmp files due to unclean 
> shutdown (as indicated in https://issues.apache.org/jira/browse/AMQ-4267 and 
> https://users.activemq.apache.narkive.com/weIikSfX/size-limitation-for-tx-tmp-file.
>  In certain cases, up to 500GB.
> The proposal here is to count those tmp files in the TempStorage limit 
> already provided (used to store non-persistent transient messages) or in a 
> different limit. By doing that, it will cause producer flow control to 
> improve stability of the broker.
> That said, the scenario for triggering large dangling tmp files is still 
> unknown. Once the root cause is configured out, a separate ticket will be 
> filed to keep track of it.



--
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