tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rémy Maucherat <remy.mauche...@gmail.com>
Subject Re: CPU usage with APR and connectionTimeout impact
Date Thu, 02 Apr 2009 14:49:40 GMT
On Tue, Mar 31, 2009 at 2:40 PM, yann grostete
<yann.grostete@alcatel-lucent.fr> wrote:
> -with connectionTimeout="0", the process tomcat uses a huge percentage
> of CPU, even if there is no traffic.
> but we doesn't observe any problem and the response time is good.

Please use a timeout value > 0. Allowing 0 is a (minor) bug, as it
enables non blocking mode on the socket. Also, no timeout (< 0) is
asking for trouble.

Rémy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message