activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Vijlbrief <tom...@xs4all.nl>
Subject Re: [Spam: 5.0] Memory usage increase after client power failure
Date Sun, 25 Feb 2007 09:08:05 GMT
One last note on the subject of crashed clients, the current 4.2 SVN version 
works in my environment (Linux, JDK 1.5) just fine out of the box.

If a client is suspended on Linux with CTRL-Z 
then the broker closes the connection after 30 seconds.

I'm not sure why eccrowe has the long delay problem:

===quote:====
Using the jmx-console I see that clients are eventually removed
upon power outage; but, it is taking approximately 15 minutes for that to
occur.
===========

This 15 minutes looks like the Linux default soKeepAlive timeout:

==========
An idle 
connection is terminated after approximately an additional 11 minutes (9 
probes an interval of 75 seconds apart) when keep-alive is enabled.
===========

I don't understand why on 4.1 (with the patch of the InactivityMonitor) the 
broker does not close the connection
after 30 seconds, has this code changed in 4.2?

It is also not clear why the default delay of 7200 seconds before
the soKeeplive kicks in, is not
executed although soKeepAlive is not set on the socket by default.

I would have expected that eccrowe would have had to wait over 2 hours.

Tom



Mime
View raw message