You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by Steven Turner <st...@gmail.com> on 2013/12/11 09:27:40 UTC
Re: [jira] [Created] (AMQ-4267) Huge tx-*.tmp file in the kahadb
directory
Hey little bit confused about this file...
So according to my understanding, "if we are using transacted session at
producer side, than messages are sent to the broker only after producer
commit the transactions."
So if a producer is sending the messages and does not commit at all, No
messages will be received by broker"
Now I am confused that How this tx-*.tmp file is getting created. If I am
using transactions of more than 'maxTransactionSize' than this tmp file is
created before commit. But As I was saying previously that messages are not
even received by broker before commit happens..
Please tell me exactly when this file is created ??
--
View this message in context: http://activemq.2283324.n4.nabble.com/jira-Created-AMQ-4267-Huge-tx-tmp-file-in-the-kahadb-directory-tp4662065p4675350.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
Re: [jira] [Created] (AMQ-4267) Huge tx-*.tmp file in the kahadb
directory
Posted by Sophia Wright <so...@gmail.com>.
So basically this file is getting created, because Producer is using
transactions and has sent messages more than maxTransactionSize before
commit occurs.
and this file will only be created when I am using transactions ?
Please correct me if I am wrong.
Thanks
--
View this message in context: http://activemq.2283324.n4.nabble.com/jira-Created-AMQ-4267-Huge-tx-tmp-file-in-the-kahadb-directory-tp4662065p4675449.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
Re: [jira] [Created] (AMQ-4267) Huge tx-*.tmp file in the kahadb
directory
Posted by Timothy Bish <ta...@gmail.com>.
On 12/12/2013 05:32 AM, Sophia Wright wrote:
> Steven has a point...
>
> A message is not send to the broker untill commit occurs, SO how does this
> tx-..tmp file gets created before commit ?
>
> Please explain this issue.. What is the root cause for this file creation...
>
> Thanks,
> Sophia
>
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/jira-Created-AMQ-4267-Huge-tx-tmp-file-in-the-kahadb-directory-tp4662065p4675444.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>
The messages are sent to the broker, just not dispatched until the
commit occurs, we don't cache them on the client since you have no why
of knowing how many would be sent so memory issues could occur, just to
name one reason.
--
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.bish@redhat.com | www.fusesource.com | www.redhat.com
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/
Re: [jira] [Created] (AMQ-4267) Huge tx-*.tmp file in the kahadb
directory
Posted by Sophia Wright <so...@gmail.com>.
Steven has a point...
A message is not send to the broker untill commit occurs, SO how does this
tx-..tmp file gets created before commit ?
Please explain this issue.. What is the root cause for this file creation...
Thanks,
Sophia
--
View this message in context: http://activemq.2283324.n4.nabble.com/jira-Created-AMQ-4267-Huge-tx-tmp-file-in-the-kahadb-directory-tp4662065p4675444.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.