tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Checkoway <dchecko...@gmail.com>
Subject Re: Executor thread lifecycle
Date Tue, 20 Sep 2011 20:47:21 GMT
Thanks Chris.  Those threads are *never* idle in this app.  :-)  They're
still getting recycled periodically, it looks like, despite lack of idle
time.  Does that make sense or am I on crack?

On Tue, Sep 20, 2011 at 4:38 PM, Christopher Schultz <
chris@christopherschultz.net> wrote:

> -----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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message