[rabbitmq-discuss] RabbitMQ server connections close issue
Dmitry Saprykin
saprykin.dmitry at gmail.com
Tue Apr 2 13:23:23 BST 2013
Thank you for reply,
Unfortunately our client library does not support heartbeats so it is being
disabled on connect.
But problem disappeared after we upgraded RabbitMQ to 3.0.4 AND changed
system tcp_keepalive_time to reasonable small value.
Now we have
$ cat /proc/sys/net/ipv4/tcp_keepalive_time
14
$ cat /proc/sys/net/ipv4/tcp_keepalive_intvl
14
$ cat /proc/sys/net/ipv4/tcp_keepalive_probes
4
and everything is fine with connection counts.
Thank you
On 2 April 2013 13:56, Emile Joubert <emile at rabbitmq.com> wrote:
>
> Hi,
>
> On 29/03/13 08:45, Dmitry Saprykin wrote:
> > When everything goes bad (rabbitmqctl list_connections | wc -l) twice
> > as much connections than (netstat -nt | wc -l)
>
> Does the logfile contain anything beyond the handshake time-out message?
> Are there any entries from the time when the counts start to diverge?
>
> What state are the connections in when the failure occurs? Can you show
> some representative output from "rabbitmqctl list_connections" during
> the error?
>
> Have you tried using AMQP heartbeats instead of TCP keepalives?
>
>
>
>
> -Emile
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130402/53a8bb98/attachment.htm>
More information about the rabbitmq-discuss
mailing list