You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Harish Siddaiah <ha...@yahoo.co.uk> on 2004/11/17 11:20:57 UTC

TCP NO DELAY

Hello all,
 
I'm using Tomcat 4.1.30 for testing the gateway application. For this testing I need server socket to be opened in TCP_NO_DELAY mode. I have set that in server.xml eventhough configuration states that by default it is set to true. The connector I'm using looks like below in server.xml:
 
    <!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -->
 <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
               port="8091" minProcessors="50" maxProcessors="600"
               enableLookups="true" redirectPort="8443"
               acceptCount="500" debug="0" connectionTimeout="3600000"
               useURIValidationHack="false" disableUploadTimeout="true" tcpNoDelay="true"/>
 
Please note I'm using different port here for various reasons. But I do not get server socket opened with TCP_NO_DELAY. The server socket seems to be:
 
java       2284   harish    5u  IPv4 0x7ae5a284        0t0       TCP *:8091 (SO=KEEPALIVE=7200000,QLEN=0,QLIM=76,REUSEADDR TF=MSS=536)
 
It has keep alive option, Qlen, Qlim etc ..... But not NODELAY.
 
Does anybody have seen this problem before? Am I doing something wrong here?
 
Thanks for the replies.
 
Harish
 

		
---------------------------------
 ALL-NEW Yahoo! Messenger - all new features - even more fun!