10 Replies Latest reply on Oct 11, 2009 6:42 AM by Tim Fox

    How fast are stale connections closed?

    Andrew Perepelytsya Newbie

      I'm observing a problem with a remote hornetq broker (linux + libaio, but journal change didn't affect anything).

      Basically, a single consumer is using the queue, but if this consumer (it's a message listener, not poller) is killed, then Server->JMS->listRemoteAdresses() lists 16 connections (I ensured it was 1 connection from my app only).

      Next, the problem is consumer won't be able to get any new messages until after these stale connection refs are removed (I guess that's a connection limit on the connection factory, but it is set to 8 by defaul>t).

      The consumer is non-TX, non-XA.

      Any hints on how to diagnose this leak?