[
http://jira.jboss.com/jira/browse/JBREM-607?page=comments#action_12346248 ]
Tom Elrod commented on JBREM-607:
----------------------------------
From docs:
idleTimeout - indicates the
number of seconds a pooled server thread can be idle (meaning time since
last invocations request processed) before it should be cleaned up and
removed from the thread pool. The value for this property must be
greater than zero in order to enable idle timeouts on pooled server
threads (otherwise they will not be checked). Setting to value less than
zero will disable idle timeout checks on pooled server threads, in the
case was previously enabled. The default value for this property is
-1.
As of JBossRemoting 2.2.0 release, can also add configuration for cleaning up idle server
threads using the 'idleTimeout' configuration property. Setting this property to
a value of greater than zero will activate idle timeout checking, which is disabled by
default. When enabled, the idle timeout checker will periodically iterate through the
server threads that are active and inactive and if have not processed a request within the
designated idle timeout period, the server thread will be shutdown and removed from
corresponding pool. Active server threads are ones that have a socket connection
associated with it and are in a blocked read waiting for data from the client. Inactive
server threads are ones that have finished processing on a particular socket connection
and have been returned to the thread pool for later reuse.
Add idle timeout setting for invoker threads
--------------------------------------------
Key: JBREM-607
URL:
http://jira.jboss.com/jira/browse/JBREM-607
Project: JBoss Remoting
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Affects Versions: 2.0.0.GA (Boon)
Reporter: Galder Zamarreno
Assigned To: Tom Elrod
Fix For: 2.2.0.Alpha3 (Bluto), 3.0.0.Alpha1 (Otter)
An idle timeout minutes setting so that any unused threads are removed.
It needs to have the possibility of disabling it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira