Sophia Wright created AMQ-4932:
----------------------------------
Summary: Large tx-*.tmp file in the kahadb directory
Key: AMQ-4932
URL: https://issues.apache.org/jira/browse/AMQ-4932
Project: ActiveMQ
Issue Type: Bug
Affects Versions: 5.8.0
Reporter: Sophia Wright
Hi,
I suddenly saw broker creating a 7.5 GB tx-*-*.tmp file in the kahadb
directory.
Can you please tell us why that file was created ?
I have discussed this question on ActiveMQ user forums
(http://activemq.2283324.n4.nabble.com/jira-Created-AMQ-4267-Huge-tx-tmp-file-in-the-kahadb-directory-tt4662065.html#a4672825)
also but got no conclusion. Can Someone please help...
I checked the ActiveMQ source code and found this code:
protected File getTempFile() {
if (txFile == null) {
txFile = new File(getPageFile().getDirectory(),
IOHelper.toFileSystemSafeName("tx-" + Long.toString(getWriteTransactionId()) +
"-" + Long.toString(System.currentTimeMillis()) + ".tmp"));
}
return txFile;
}
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)