You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Mladen Turk <mt...@mappingsoft.com> on 2002/06/24 14:05:15 UTC

FW: mod_jk cache and socket timeout

Henri thinks we should discuss that here, so I'm forwarding the original
mail.

Basically I don't like the time. The alternative is to use something
like GetTickCount().
The patch uses the semi-dynamic endpoint cache. One should set the high
enough worker.cachesize, and the number of opened channels will drop
after worker.cache_timeout.

Since IMO there was the general +1 for Jan's patch, here is the original
with added endpoint timeout.

> -----Original Message-----
> From: Mladen Turk [mailto:mturk@mappingsoft.com] 
> Sent: 22. lipanj 2002 18:06
> To: GOMEZ Henri
> Subject: mod_jk cache and socket timeout
> 
> 
> Hi Henri,
>  
> Here is the Jan Singer's socket timeout patch with added 
> cache timeout (since its not in the tree already). Still 
> don't like the time() difftime, but it'll do.
> 
> Added workers.cache_timeout (defaults to 15 secs).
> 
> With high cachesize, Apache 2.0.40-dev/TC 4.1.5 XP/WIN2K 
> behaves perfectly. Done the test on 4x1.6GHz PIII Xeon and it flies...
> 
> 
> Greetings,
> MT.
>