tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gary.l.johnst...@cummins.com
Subject RE: Possible causes of connection timeouts?
Date Thu, 23 Oct 2008 14:08:13 GMT
It looks like this is an issue with the tomcat native connector. If I
remove it I have no connection issues at all.

Any ideas why the native connector could be causing issues?

I built the connector using

   TC native      -> 1.1.14
   apr            -> 1.2.12
   OpenSSL  -> 0.9.8h 28 May 2008
   Java     -> 1.6.0_07-b06

   ./configure --with-apr=/CTT/apr-1.2.12 --with-ssl=/usr/local/ssl
   --prefix=/CTT/tomcat6 --with-java-home=/usr/java

I see there is a new version of the TC native so I will experiment with
that and different versions of APR.

___________________________

Gary Johnstone
PLM System Administrator
Cummins Turbo Technologies Ltd





                                                                           
             gary.l.johnstone@                                             
             cummins.com                                                   
                                                                        To 
             22/10/2008 08:12          Tomcat Users List                   
                                       <users@tomcat.apache.org>           
                                                                        cc 
             Please respond to                                             
             Tomcat Users List                                     Subject 
             <users@tomcat.apa         RE: Possible causes of connection   
                 che.org>              timeouts?                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




    <Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443"
               acceptCount="100"
               address="160.95.14.76"/>


One thing I have found is that when I set

keepAliveTimeout="30000"

i.e different to the connectionTimeout

The delay then becomes 30 seconds and not 20s as it would default to with
just connectionTimeout set to 20000.
I think this means I am seeing issues with new requests for pages/items on
a page rather than issues mid serving of a page.

___________________________

Gary Johnstone
PLM System Administrator
Cummins Turbo Technologies Ltd







             Martin Gainty
             <mgainty@hotmail.
             com>                                                       To
                                       Tomcat Users List
             21/10/2008 19:40          <users@tomcat.apache.org>
                                                                        cc

             Please respond to                                     Subject
             Tomcat Users List         RE: Possible causes of connection
             <users@tomcat.apa         timeouts?
                 che.org>










what are the values of your server.xml connection timeout parameters?
connectionTimeout
The number of milliseconds this Connector will wait, after accepting a
connection, for the request URI line to be presented. The default value is
60000 (i.e. 60 seconds).
connectionTimeout="60000"
connectionLinger: The number of ms during which the sockets used by this
connector will linger when they are closed..-1 keeps the connection open
until socket read/write operation is complete
connectionLinger="-1"
disableUploadTimeout
Allowed the servlet container to use a different longer connection timeout
while a servlet is being executed. Allows the servlet a longer amount of
time to complete execution or longer time during data upload
disableUploadTimeout="true"
socketBuffer
size of the socket buffer to be used for socket output buffering. -1
disables default is 9000 bytes
socketBuffer="9000"

Regards
Martin
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official
business of Sender. This transmission is of a confidential nature and
Sender does not endorse distribution to any party other than intended
recipient. Sender does not necessarily endorse content contained within
this transmission.


> Date: Tue, 21 Oct 2008 16:59:30 +0100
> From: gary.l.johnstone@cummins.com
> Subject: Possible causes of connection timeouts?
> To: users@tomcat.apache.org
>
>
> Hi,
>
> I am having intermitent but far too frequent issues with connection
> timeouts on a local tomcat server.
>
> The server is on the local network and 9 times out of 10 the pages are
> served up with no issues but now and then the connection is dropped and a
> delay of connectionTimeout occurs until the server/client resume
> communication. I do not want to drop the value of connectionTimeout too
low
> as this server will be accessed from around the globe.
>
> What could be causing these timeouts?
> Is there a way I can look into what is causing them?
>
> Are there any specific settings I need on Solaris to run Tomcat
correctly?
>
> After plenty of googling and searching these lists on MARC I have not
found
> anything.
>
> The server is running tomcat 6, java 1.6 on solaris 10.
>
> Thanks
>
> ___________________________
>
> Gary Johnstone
> PLM System Administrator
> Cummins Turbo Technologies Ltd
>
>
> ---------------------------------------------------------------------
> 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
>

_________________________________________________________________
You live life beyond your PC. So now Windows goes beyond your PC.
http://clk.atdmt.com/MRT/go/115298556/direct/01/

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________


---------------------------------------------------------------------
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


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________



---------------------------------------------------------------------
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


Mime
View raw message