[rabbitmq-discuss] =?utf-8?Q?=E5=9B=9E=E5=A4=8D=EF=BC=9A__?=No timeout and sockets not closed forStomp

Michael Klishin mklishin at gopivotal.com
Mon Jun 30 07:24:57 BST 2014


On 30 June 2014 at 10:20:27, zane (37714275 at qq.com) wrote:
> > our connections are increasing, but we know that connections  
> should not be so high in morning. and we found no timeout
> for connections. 

Are you sure your apps properly close the connections they no longer need?
Have you tried enabling STOMP heartbeats? [1] 

> so can you tell me how the timeout be configured  
> OS-wide?

[2], [3]

1. http://stomp.github.io/stomp-specification-1.2.html#Heart-beating
2. http://en.wikipedia.org/wiki/Keepalive#TCP_keepalive
3. http://www.cyberciti.biz/tips/linux-increasing-or-decreasing-tcp-sockets-timeouts.html
--  
MK  

Staff Software Engineer, Pivotal/RabbitMQ


More information about the rabbitmq-discuss mailing list