[rabbitmq-discuss] Unexpected server crash and .NET API: disconnect is not detected?

Matthias Radestock matthias at rabbitmq.com
Fri Apr 1 00:26:23 BST 2011


Alfonso,

Alfonso Pantoja wrote:
> If requiring heartbeats is not usual then something is wrong with our 
> development RabbitMQ server? As I said it seems not detect unexpected 
> client disconnections.
> Server and client machine (machine from the consumer is launched) are on 
> the same IP range.
> What may be the cause of not detecting clients unexpected disconnections?
> (by the way, the server in fact are 2 clustered servers running under 
> ubuntu 10 server and client machine is Windows Vista)

Actually, for what you did in the test - disabling the network 
connection - the behaviour you observed is probably expected, assuming 
tcp keepalive is turned off (which, on Windows, I believe it normally 
is). Google for "tcp keepalive" and try enabling it on your client machines.


Matthias.


More information about the rabbitmq-discuss mailing list