You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Stephanie Wullbieter <sw...@gmx.de> on 2008/07/24 14:20:14 UTC
TCP/AJP KeepAlive on Tomcat side?
Hello,
on mod_jk side one can define keepalive=true for OS TCP KeepAlice Activation for the (AJP) Connections to the tomcats.
Is there a possibility to activate tcp or ajp keepalive on the tomcat side?
Thank You!
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: TCP/AJP KeepAlive on Tomcat side?
Posted by Rainer Jung <ra...@kippdata.de>.
Stephanie Wullbieter wrote:
> Hello,
>
> on mod_jk side one can define keepalive=true for OS TCP KeepAlice Activation for the (AJP) Connections to the tomcats.
>
> Is there a possibility to activate tcp or ajp keepalive on the tomcat side?
The term Keepalive has various meanings, depending on the protocol to
which it gets applied. For upper level protocols it usually means, that
some sort of established connection gets reused during multiple
requests. For AJP13 this is automatically the case, no need to configure.
For TCP it does mean "send an empty packet automatically when the
connection is idle for a long time in order to prevent intermediate
network components to drop the connection information from their state
table". Usually this is done with respect to firewalls sitting between
the two communicating endpoints. In this scenario it is enough, if one
of the two endpoints activate SO_KEEPALIVE on the socket and thus sends
the packets. In the mod_jk/Tomcat case, this is done via mod_jk.
Some information is also contained in
http://tomcat.apache.org/connectors-doc/generic_howto/timeouts.html
Regards,
Rainer
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: TCP/AJP KeepAlive on Tomcat side?
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Stephanie Wullbieter [mailto:swullb@gmx.de]
> Subject: TCP/AJP KeepAlive on Tomcat side?
>
> Is there a possibility to activate tcp or ajp keepalive on
> the tomcat side?
Already is by default. Read the doc:
http://tomcat.apache.org/tomcat-6.0-doc/config/http.html
http://tomcat.apache.org/tomcat-6.0-doc/config/ajp.html
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org