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/26 22:05:42 UTC
mod_jk2 keepalive sockets
Hi,
Can we implement those keepalive sockets on jk2, like on mod_jk?
The implementation IMO would be much easier then on jk.
MT.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [PATCH] WAS mod_jk2 keepalive sockets
Posted by co...@covalent.net.
On Thu, 27 Jun 2002, Mladen Turk wrote:
> > Can we implement those keepalive sockets on jk2, like on
> > mod_jk? The implementation IMO would be much easier then on jk.
> >
>
> Well, there was no comments on my previous mail, so I've build a patch
> and I'm sending it for review.
I didn't know what to comment :-)
The golden rule is 'lazy consensus', we trust you ( but we'll review
the cvs commit anyway ), and if something is wrong we'll either
fix it or -1.
Costin
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
[PATCH] WAS mod_jk2 keepalive sockets
Posted by Mladen Turk <mt...@mappingsoft.com>.
> -----Original Message-----
> From: Mladen Turk [mailto:mturk@mappingsoft.com]
> Sent: 26. lipanj 2002 22:06
>
> Can we implement those keepalive sockets on jk2, like on
> mod_jk? The implementation IMO would be much easier then on jk.
>
Well, there was no comments on my previous mail, so I've build a patch
and I'm sending it for review.
1. channel_socket implements two new options:
a) keepalive=On or Off -- sets the socket SO_KEEPALIVE option
(default Off -> disabled)
b) timeout=nn (seconds) -- send/recv timeout (default 0 ->
unlimited)
2. channel_apr_socket implements two new options:
a) keepalive=On or Off -- sets the socket SO_KEEPALIVE option
(default Off -> disabled)
b) timeout=nn (seconds) -- send/recv timeout (default 2 seconds,
IMO should be 0*)
* The apr_socket timeout is now set to 2 seconds (copy from
apr/test/client.c ?) should be set to 0 (unlimited), cause sometimes the
2 second timeout is too small for busy servers.
Example config:
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
debug=0
tomcatId=localhost:8009
disabled=1
keepalive=On
timeout=10
[channel.apr:localhost:8009]
info=Ajp13 forwarding over socket
debug=0
tomcatId=localhost:8009
disabled=0
keepalive=On
timeout=20
MT.