[rabbitmq-discuss] Channel.isopen returns false and {timeout, running} exception

Katrina adityagupta.iiitm at GMAIL.COM
Mon Oct 12 08:08:52 BST 2009

Hi Matthias, 

the problem is still occurring ... till now we had set heartbeat as "10" ..
so  wat if we set it to '0'. 

Actually.. wat we are doing is .. we create a rabbitMQ connection through
our ..java client .. thn all the channels created we save them in 
threadlocal .. so . while getting the channel .. we only check for (
channel.isopen()) ... and if connection got terminated or disconnected ..
then we .. call .. the shutdown listener .. 

so my .. question is .. if we set heartbeat as "0" .. then will 
shutdownlistner get called ??


Matthias Radestock-2 wrote:
> Katrina,
> Paul Jones wrote:
>> Would you have any kind of networking event that happens at this time? 
>> For example, would it be possible that your network link gets reset?
>> Maybe you could try leaving an SSH connection open to the server over 
>> that time period, and see if it too ends up broken?
> Actually, my guess would be that the error is caused by a busy machine, 
> perhaps due to backups or some other heavy duty cron jobs running.
> I have seen heartbeat timeouts (that's what the {timeout,running} error 
> is) getting triggered under those circumstance on a customer system.
> If so then the solution is to either increase the heartbeat interval or 
> turn off heartbeats altogether (by setting the interval to 0 in the
> client).
> Regards,
> Matthias.
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss

View this message in context: http://www.nabble.com/Channel.isopen-returns-false-and-%7Btimeout%2Crunning%7D-exception-tp25531373p25851350.html
Sent from the RabbitMQ mailing list archive at Nabble.com.

More information about the rabbitmq-discuss mailing list