tomcat-users mailing list archives

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

"Antonio Fiol Bonnín" <> wrote in message
> 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:
For additional commands, e-mail:

View raw message