tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: CPU usage with APR and connectionTimeout impact
Date Thu, 02 Apr 2009 14:00:29 GMT
> From: Taylan Develioglu [mailto:tdevelioglu@ebuddy.com]
> Subject: Re: CPU usage with APR and connectionTimeout impact
> 
> I think a seperate overview of attributes per connector would be
> clearer.

Strongly agree with that.  Patches?

> The HTTP connectionTimeout description states:
> 
> - 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).
> 
> '0' is not explicitly defined as a special value.

For the Java connectors, the connectionTimeout value is used in Socket.setSoTimeout(), where
the API doc states "A timeout of zero is interpreted as an infinite timeout."  Looks like
the APR implementation may well interpret zero somewhat differently, resulting in a CPU overheating
test...

 - 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 unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message