Re: Activemq 5.4.2 hangs when the temp disk usage is used

2012-12-18 Thread Tom Martinec
gtully wrote > Currently non persistent messages don't have a cursor temp usage check > before a send, adding that would avoid lots of pain I think. > In any event, please open a jira issue to track your problem and fix and > we > will work to get this resolved asap. I created issues: AMQ-4230, AM

Re: Activemq 5.4.2 hangs when the temp disk usage is used

2012-12-17 Thread Tom Martinec
ceposta wrote > There's been a lot of re-work on the FilePendingMessageCursor (and other > areas that you touched here) since release 5.4.2 (which is about 2 yrs > old). Do you have the possibility to check with a later version of the > code > to see if that's been fixed for you? I have checked ac

Re: Activemq 5.4.2 hangs when the temp disk usage is used

2012-12-17 Thread Tom Martinec
Hello, I fixed the issue on my own. Here is the list of things I have done: 1 - On the line 219 of http://svn.apache.org/viewvc/activemq/tags/activemq-5.4.2/activemq-core/src/main/java/org/apache/activemq/broker/region/cursors/FilePendingMessageCursor.java?view=markup I unlocked the messagesLock

Re: Activemq 5.4.2 hangs when the temp disk usage is used

2012-12-05 Thread Tom Martinec
Hello, I am sorry for my double post. I will answer to all the reactions here: ceposta wrote > Interesting. Your scenario sounds like PFC is blocking the connection. Not > sure yet why that would happen. Your config looks okay. Do you still have > the thread dumps? No, but so far it has not bee

Activemq 5.4.2 hangs when the temp disk usage is used

2012-12-05 Thread Tom Martinec
Hello, I am trying to setup activemq 5.4.2 and I experience hangs when the broker fills its heap and starts using storage. In my scenario I have one full speed message producer and one message consumer connected. The producer is blocked and the consumer does not receive any messages. I have been a

Re: Lost non-persistent messages

2012-08-02 Thread Tom Martinec
Thanks for replies... Any message actually never got lost. What I saw was just a few confusing observations:) -- View this message in context: http://activemq.2283324.n4.nabble.com/Lost-non-persistent-messages-tp4654526p4654718.html Sent from the ActiveMQ - User mailing list archive at Nabbl

Re: Lost non-persistent messages

2012-07-30 Thread Tom Martinec
gtully wrote > > iirc that is better in 5.6 > well, have not tried 5.6, but the same problem is likely to be there too, because the code in tryAddMessageLast looks the same: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/cursors/FilePe

Lost non-persistent messages

2012-07-30 Thread Tom Martinec
Hello, I observed a different behavior of activemq 5.4.2 when sending non-persistent messages to different cursors. The message producer is blocked when the cursor is set to VMCursor and the destination queue is full. On the other hand the producer's messages are lost when I use FileBasedCursor in