[rabbitmq-discuss] RabbitMQ server connections close issue
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
$ cat /proc/sys/net/ipv4/tcp_keepalive_intvl
$ cat /proc/sys/net/ipv4/tcp_keepalive_probes
and everything is fine with connection counts.
On 2 April 2013 13:56, Emile Joubert <emile at rabbitmq.com> wrote:
> 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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss