activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daryl Richter <ng...@comcast.net>
Subject Re: ActiveMQ 4.1.1 server freezes
Date Wed, 07 May 2008 21:20:06 GMT
jgunz wrote:
> I have been using ActiveMQ 4.1.1 for awhile in a production product and
> recently we have been seeing occasional lock-ups/freezes that go away when
> we restart ActiveMQ. From our clients or from the ActiveMQ log we cannot see
> that there is a problem, we just stop seeing message throughput .
> 
> I'm at a loss in regards to how I can debug this problem. Is there some way
> I can see what the ActiveMQ server is doing and why it is hanging?
> 
> Incase it helps, here is our connect string:
> failover:(tcp://localhost:61606)?initialReconnectDelay=1000&useExponentialBackOff=false
> 
> We register a transport listener and log interruptions but during these
> freezes we do not get any log messages.

Do you open and close multiple sessions within the same consumer thread?

We have seen that this can very reliably cause the broker to lock up.

It is best to open a single session per thread and close all the way out 
when done consuming.

--
Daryl


Mime
View raw message