tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "GOMEZ Henri" <hgo...@slib.fr>
Subject RE: [PATCH] WAS mod_jk2 keepalive sockets
Date Thu, 27 Jun 2002 13:49:31 GMT
+1 for me :)

-
Henri Gomez                 ___[_]____
EMAIL : hgomez@slib.fr        (. .)                     
PGP KEY : 697ECEDD    ...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 



>-----Original Message-----
>From: Mladen Turk [mailto:mturk@mappingsoft.com]
>Sent: Thursday, June 27, 2002 3:34 PM
>To: 'Tomcat Developers List'
>Subject: [PATCH] WAS mod_jk2 keepalive sockets
>
>
>> -----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. 
>

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message