activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From artnaseef <...@artnaseef.com>
Subject Re: when should you set maxInactivityDuration=0?
Date Tue, 02 Dec 2014 19:49:56 GMT
Setting maxInactivityDuration to 0 disables the activity monitor.  The
advantages include reducing the overhead when there are large numbers of
idle connections, and eliminating forced disconnects on slow connections
that are otherwise active.

These seem like minor advantages.  The overhead is really low, and can be
reduced by increasing the inactivity duration.  And it is valuable to
disconnect connections that are really inactive.

Note that - just because there is a setting, doesn't mean there's really a
"good" reason to use it.  Often settings are added as a means to try
different approaches, or to allow for backward compatibility when new
features are added.  They may even be only useful when troubleshooting a
problem.

Hope this helps.



--
View this message in context: http://activemq.2283324.n4.nabble.com/when-should-you-set-maxInactivityDuration-0-tp4688281p4688289.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message