[rabbitmq-discuss] 回复: 回复: No timeout and sockets notclosed forStomp

zane 37714275 at qq.com
Mon Jun 30 07:27:31 BST 2014

I think we start heartbeat. this is rabbitmq.config‍
                {tcp_listeners, [61613]},

------------------ 原始邮件 ------------------
发件人: "Michael Klishin";<mklishin at gopivotal.com>;
发送时间: 2014年6月30日(星期一) 下午2:24
收件人: "zane"<37714275 at qq.com>; "Legacy list about RabbitMQ"<rabbitmq-discuss at lists.rabbitmq.com>; 

主题: Re: [rabbitmq-discuss]回复:  No timeout and sockets notclosed forStomp

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

Staff Software Engineer, Pivotal/RabbitMQ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140630/f6668858/attachment.html>

More information about the rabbitmq-discuss mailing list