activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: java.io.IOException: Too many open files (v5.4.2)
Date Mon, 21 May 2012 10:12:21 GMT
if you have badly behaved stomp clients that don't close their
connections, you will need to introduce tcp level keepalive
to have the connections timeout in a reasonable manner.
use:
<transportConnectors>
        <transportConnector name="stomp"
uri="stomp://0.0.0.0:61613?transport.keepAlive=true"/>
    </transportConnectors>

and configure tcp keepalive for your os. Some references at
http://www.gnugk.org/keepalive.html

On 18 May 2012 18:20, johneboyer <johnboyer99@gmail.com> wrote:
> Yes. After further research yesterday, we did
> http://posidev.com/blog/2009/06/04/set-ulimit-parameters-on-ubuntu/ increase
> the number of files parameter  to *10240*. We have  hundreds of open STOMP
> connections and expect this number to continue to grow in the coming months.
>
> /So, I guess the question we have now is how to optimize this setting in
> future/. I realize this question is out-of-scope for this forum, but it
> would be nice if the ActiveMQ team could provide some best practices in this
> area when a broker has hundreds or even thousands of open connections.
>
> Thanks,
> John Boyer
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/java-io-IOException-Too-many-open-files-v5-4-2-tp4643701p4644813.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.



-- 
http://fusesource.com
http://blog.garytully.com

Mime
View raw message