tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Executor thread lifecycle
Date Tue, 20 Sep 2011 20:38:14 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dan,

On 9/20/2011 2:29 PM, Dan Checkoway wrote:
> I'm curious how long Executor threads live prior to being 
> recycled/replaced/what have you.  Is there a way to control this
> lifecycle?

You can set maxIdleTime to something other than the default (which is
1 minute). I think that would do it. But you have to weigh the
memory/performance benefit of idle threads versus your thread-based
caching system.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk54+bYACgkQ9CaO5/Lv0PC+SACbB96YLw4douQmXPGw4Js0+2qN
OVkAn21tNDayxCm/1335VZvpxlwjbrBS
=I50V
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message