[rabbitmq-discuss] RabbitMQ server losing connections

Tracey Eubanks traceye at pmamediagroup.com
Sat Oct 31 14:52:23 GMT 2009


Hey Niranjan,
Does the rabbitmq server log have any errors in it?



On Oct 29, 2009, at 11:10 PM, niranjan <niranjan.par at gmail.com> wrote:

> Hi All,
>
> I am using RabbitMQ 1.6 with ruby AMQP to subscribe to the queue over
> the network. Immediately after starting the listeners I see the queues
> registered with the server (rabbitmqctl list_queues) as well as
> connections (rabbitmqctl list_connections).
>
> ~$ sudo rabbitmqctl list_connections
> Listing connections ...
> guest    10.7.253.22    53703
> guest    10.7.253.12    55797
> ...done...done.
>
> ~$ sudo rabbitmqctl list_queues name durable messages messages_ready
> Listing queues ...
> foo_deletes    false    0    0
> foo_updates    false    0    0
> foo_creates    false    0    0
> duplicate_listener_on_localhost  false    0    0
> ...done.
>
> ~$ netstat -anlp | grep 5672
> tcp        0      0 0.0.0.0:5672            0.0.0.0:*
> LISTEN      -
> tcp        0      0 10.7.253.12:5672        10.7.253.12:55797
> ESTABLISHED -
> tcp        0      0 10.7.253.12:5672        10.7.253.22:53703
> ESTABLISHED -
>
> After an hour or so server loses the connection with with listeners.  
> The
> list_queues still shows all the queues but list_connections shows no
> active connections.
>
> ~$ sudo rabbitmqctl list_connections
> Listing connections ...
> ...done...done.
>
> ~$ sudo rabbitmqctl list_queues name durable messages messages_ready
> Listing queues ...
> foo_deletes    false    0    0
> foo_updates    false    0    0
> foo_creates    false    0    0
> duplicate_listener_on_localhost  false    0    0
> ...done.
>
> ~$ netstat -anlp | grep 5672
> tcp        0      0 0.0.0.0:5672            0.0.0.0:*
> LISTEN      -
>
> I am not too sure which side lies the problem as on listener side I
> don't see any logs indicating that the connection is lost, but server
> definitely has lost it. Server not only loses the connection over the
> network but connection from localhost as well.
>
> Has anyone faced similar problem or could you point out where I should
> start?
>
> Thanks and Regards,
> Niranjan
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss




More information about the rabbitmq-discuss mailing list