Dom,
this is unusual, some thoughts:
can you enable trace level logging  for activemq on your clients to
see if there is anything suspicious in there.
If the dispatch thread is dying we should be able to see why.
As a catch all, can you specify a
java.lang.Thread#setDefaultUncaughtExceptionHandler in your client
code, in case some catch is missing.

The other thing we could do it check that the dispatch thread is alive
on each message receive from the transport, but really we should be
getting some indication as to why it dies.

On 14 September 2011 15:45, Dom <thephe...@gmail.com> wrote:
> Our subscribers are not durable, however I have noticed that it does appear
> to occur around our peaks (sometimes before, sometimes afterwards). Although
> I have had it occur once at night, when our traffic was very load (1% of
> peak).
>
> I'm using the OpenWire protocol, not stomp. So I'm guessing that our two
> problems may be different. As I said before, I've noticed that the thread
> which deals with handing messages from the transport code to
> my listeners seems to die, and even killing and restart the consumer doesn't
> work (although it does free up the topic for the other consumers). I have to
> actively kill the client's JVM and restart it.
>
> Dom
>
> On Wed, Sep 14, 2011 at 1:14 PM, Aleksandar Ivanisevic-3 [via ActiveMQ] <
> ml-node+s2283324n3812638...@n4.nabble.com> wrote:
>
>> Dom <[hidden email] <http://user/SendEmail.jtp?type=node&node=3812638&i=0>>
>> writes:
>>
>> > Hi,
>> >
>> > I've starting having unusual problems with my ActiveMQ consumers, we send
>>
>> > object messages via JMS 24 hours a day, peaking at around 10k per second
>> to
>> > various different consumers. All these consumers are consuming from the
>> same
>> > topic, however from different physical servers. The consumers are all
>> based
>> > on the same abstract class (from a shared JAR).
>> >
>> > On our servers running Java 6 build 20 we haven't seen an issue. We have
>> > some newer servers running in Java 6 build 26, and these servers some
>> times
>> > have the issue.
>> >
>> > The problem is; Some of the consumers will randomly simply stop consuming
>> -
>> > still be sent messages from ActiveMQ, just stop passing them into our
>> code
>> > base. After a while this causes all consumers on that topic to stop
>> > receiving messages (once our buffer on ActiveMQ fills up).
>>
>> Are you using durable subscribers? Have you seen redeliveries around
>> the time it stops? I'm having a similar issue where a consumer just
>> stops receiving messages from a durable topic, usually after a period
>> of peak traffic and after a redelivery. After a while this causes the
>> complete topic to "block". Consumers are subscribed to multiple topics
>> and only one topic is dead, the rest continue to work normally until a
>> consumer is restarted.
>>
>> Out of desperation I've upgraded the broker to a 5.6 snapshot, and now
>> I see this issue a lot less, but still see it once a week on
>> average. Haven't been able to tie it to java version, was happening
>> with build 20 and now with 23. Consumers are not java at all, they are
>> in perl and use STOMP to communicate.
>>
>>
>> [...]
>>
>>
>> --
>> Ti si arogantan, prepotentan i peglaš vlastitu frustraciju. -- Ivan
>> Tišljar, hr.comp.os.linux
>>
>>
>>
>> ------------------------------
>>  If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://activemq.2283324.n4.nabble.com/ActiveMQ-Session-Task-threads-disappearing-tp3810649p3812638.html
>>  To unsubscribe from ActiveMQ Session Task threads disappearing, click
>> here<http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3810649&code=dGhlcGhlbml4QGdtYWlsLmNvbXwzODEwNjQ5fC00OTkwNjE4Nzg=>.
>>
>>
>
>
> --
> View this message in context: 
> http://activemq.2283324.n4.nabble.com/ActiveMQ-Session-Task-threads-disappearing-tp3810649p3813089.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.



-- 
http://fusesource.com
http://blog.garytully.com

Reply via email to