[jira] [Created] (AMQ-4932) Large tx-*.tmp file in the kahadb directory

2013-12-12 Thread Sophia Wright (JIRA)
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)


[jira] [Commented] (AMQ-4867) Plugins do not get initialized in a failover broker until it takes over

2013-11-13 Thread Sophia Wright (JIRA)

[ 
https://issues.apache.org/jira/browse/AMQ-4867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13821061#comment-13821061
 ] 

Sophia Wright commented on AMQ-4867:


I am also using Master/Slave configuration for ActiveMQ broker and faced the 
similar issue. Is there a way to initialize the plugin for failover broker ? 

> Plugins do not get initialized in a failover broker until it takes over
> ---
>
> Key: AMQ-4867
> URL: https://issues.apache.org/jira/browse/AMQ-4867
> Project: ActiveMQ
>  Issue Type: Improvement
>  Components: Broker
>Affects Versions: 5.9.0
> Environment: linux
>Reporter: Bhanu
>
> Hi,
> We have a requirement where we want to initialize a plugin in the failover 
> broker. The problem is that the plugin is not initialized until the failover 
> broker takes over and becomes primary. Can some configuration be added to 
> make this work ?
> Thanks & Regards,
> Bhanu



--
This message was sent by Atlassian JIRA
(v6.1#6144)