tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: Proposal: New parameter for JK2 connector
Date Sun, 22 Feb 2004 21:00:39 GMT

"Antonio Fiol Bonnín" <fiol.bonnin@terra.es> wrote in message
news:403633FD.7020009@terra.es...
> Hello,
>
> Seen that mod_jk has a "socket_keepalive" option for the Apache side, my
> proposal consists in adding a similar setting in the Tomcat side.
>
> Advantages:
> If you pull the power cord of your Apache server (or something else bad
> happens to it), Tomcat will notice shortly after, and will close the
> associated connections, thus freeing threads, which are limited by
> maxThreads.
>
> I know it is an unlikely situation, but I still think it is a good idea.
>
> Suggestions welcome!
>

It shouldn't be necessary, since the Tomcat side spends most of it's time
attempting a 'read' on the Socket.  It should throw an IOException as soon
as Apache drops its end of the Socket (via tripping over the power cord or
otherwise :).

>
> Yours,
>
>
> Antonio Fiol
>
>
>




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


Mime
View raw message