activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Fernandez <joe.fernan...@ttmsolutions.com>
Subject Re: Slow sending of messages
Date Sun, 20 Dec 2009 16:43:50 GMT

Hi,

Can you post your broker's cfg file?

Also, what is the average size of the non-persistent messages that you're
pushing through the broker?

Joe
http://www.ttmsolutions.com


Adrian A wrote:
> 
> Hello All
> 
> On 5.3.0.4 and 5.3.0.5
> 
> Seeing some odd behaviour with a messageproducer.send
> Sometimes it takes a very long time. ranging from < 10 milliseconds to >
> 60 seconds!
> 
> I have all persistence turned off, flow control off and can't see any
> reason for it. 
> 
> Running a standalone broker with a separate machine sending via it. In the
> debug logs on the broker I see these messages:
> 
> 2009-12-18 21:21:22,672 DEBUG [QueueThread:queue://q1] Queue - q1
> toPageIn: 200, Inflight: 0, pagedInMessages.size 0
> 2009-12-18 21:21:22,710 DEBUG [QueueThread:queue://q1] Queue - q1
> toPageIn: 200, Inflight: 0, pagedInMessages.size 0
> 2009-12-18 21:21:22,869 DEBUG [TempQueue: 
> ID:bob-54042-1261096435751-0:0:5] Queue - ID:bob-54042-1261096435751-0:0:5
> toPageIn: 200, Inflight: 822, pagedInMessages.size 822
> 2009-12-18 21:21:23,029 DEBUG [TempQueue: 
> ID:bob-54042-1261096435751-0:0:5] Queue - ID:bob-54042-1261096435751-0:0:5
> toPageIn: 200, Inflight: 823, pagedInMessages.size 823
> 2009-12-18 21:21:24,200 DEBUG [TempQueue: 
> ID:bob-54042-1261096435751-0:0:5] Queue - ID:bob-54042-1261096435751-0:0:5
> toPageIn: 200, Inflight: 824, pagedInMessages.size 824
> 2009-12-18 21:21:24,359 DEBUG [TempQueue: 
> ID:bob-54042-1261096435751-0:0:5] Queue - ID:bob-54042-1261096435751-0:0:5
> toPageIn: 200, Inflight: 825, pagedInMessages.size 825
> 2009-12-18 21:21:24,519 DEBUG [TempQueue: 
> ID:bob-54042-1261096435751-0:0:5] Queue - ID:bob-54042-1261096435751-0:0:5
> toPageIn: 200, Inflight: 826, pagedInMessages.size 826
> 2009-12-18 21:21:24,549 DEBUG [InactivityMonitor ReadCheck]
> InactivityMonitor$1 - 29991 ms elapsed since last read check.
> 2009-12-18 21:21:24,549 DEBUG [InactivityMonitor ReadCheck]
> InactivityMonitor$1 - 29991 ms elapsed since last read check.
> 2009-12-18 21:21:24,819 DEBUG [InactivityMonitor WriteCheck]
> InactivityMonitor$2 - 10000 ms elapsed since last write check.
> 2009-12-18 21:21:25,689 DEBUG [TempQueue: 
> ID:bob-54042-1261096435751-0:0:5] Queue - ID:bob-54042-1261096435751-0:0:5
> toPageIn: 200, Inflight: 827, pagedInMessages.size 827
> 2009-12-18 21:21:25,850 DEBUG [TempQueue: 
> ID:bob-54042-1261096435751-0:0:5] Queue - ID:bob-54042-1261096435751-0:0:5
> toPageIn: 200, Inflight: 828, pagedInMessages.size 828
> 2009-12-18 21:21:27,020 DEBUG [TempQueue: 
> ID:bob-54042-1261096435751-0:0:5] Queue - ID:bob-54042-1261096435751-0:0:5
> toPageIn: 200, Inflight: 829, pagedInMessages.size 829
> 2009-12-18 21:21:27,180 DEBUG [TempQueue: 
> ID:bob-54042-1261096435751-0:0:5] Queue - ID:bob-54042-1261096435751-0:0:5
> toPageIn: 200, Inflight: 830, pagedInMessages.size 830
> 2009-12-18 21:21:28,350 DEBUG [TempQueue: 
> ID:bob-54042-1261096435751-0:0:5] Queue - ID:bob-54042-1261096435751-0:0:5
> toPageIn: 200, Inflight: 831, pagedInMessages.size 831
> 2009-12-18 21:21:28,510 DEBUG [TempQueue: 
> ID:bob-54042-1261096435751-0:0:5] Queue - ID:bob-54042-1261096435751-0:0:5
> toPageIn: 200, Inflight: 832, pagedInMessages.size 832
> 2009-12-18 21:21:34,550 DEBUG [InactivityMonitor WriteCheck]
> InactivityMonitor$2 - 10000 ms elapsed since last write check.
> 
> 
> 2009-12-18 21:22:54,839 DEBUG [InactivityMonitor WriteCheck]
> InactivityMonitor$2 - 10016 ms elapsed since last write check.
> 2009-12-18 21:22:58,588 DEBUG [QueueThread:queue://q2] Queue - q2
> toPageIn: 200, Inflight: 884, pagedInMessages.size 884
> 
> 
> What is the pagedInMessages referring to and could I be hitting 
> http://issues.apache.org/activemq/browse/AMQ-2413
> issues?
> 
> Any other ideas? I have fast consumers and producers but I just can't find
> any reference to what the pagedinmessages are referring to.
> 
> Any help would be really appreciated as this is totally confusing me :-(
> 
> many thanks
> 
> Adrian
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Slow-sending-of-messages-tp26849964p26865030.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message