[rabbitmq-discuss] Orphaned RabbitMQ Connections Problem Causing Client to Not Communicate With Server

Matthias Radestock matthias at rabbitmq.com
Thu May 17 16:34:06 BST 2012


Demetree,

On 16/05/12 16:13, Demetree wrote:
> I'm having an issue with our rabbit servers where one of our sites
> cannot consistenly hold connections ( or so it seems ).  The symptom
> is that the Rabbit MQ server shows multiple connections on multiple
> ports, but they don't correspond to connections on the clients.
> Netstats show a single connection on the client side.
>
> When this situation arises, the clients no longer pull data down from
> the queue.
>
> We're not able to resolve this, and the logs show SSL errors, but this
> also occurs on non-SSL connections.
>
> Has anybody experienced this before, and have any suggestions?
>
>
> We are connecting to the server with a  Java client.

Try enabling heartbeats: 
http://www.rabbitmq.com/releases/rabbitmq-java-client/v2.8.2/rabbitmq-java-client-javadoc-2.8.2/com/rabbitmq/client/ConnectionFactory.html#setRequestedHeartbeat(int)

Matthias.


More information about the rabbitmq-discuss mailing list