Re: CPU usage with APR and connectionTimeout impact

2009-04-02 Thread yann grostete
Thanks all for your help and explanations. So we will try to find the best value >0 for connectionTimeout in our application. Best regards, Yann Rémy Maucherat a écrit : On Tue, Mar 31, 2009 at 2:40 PM, yann grostete wrote: -with connectionTimeout="0", the process tomca

Re: CPU usage with APR and connectionTimeout impact

2009-04-02 Thread yann grostete
Hello, The parameters connectionTimeout and keepAliveTimeout are not on the APR side. They are attributes of AJP and HTTP connectors. Setting the value to 0 means no timeout (according to some mail exchange I found in tomcat mailing list). No timeout is default value of this attribute. My que

CPU usage with APR and connectionTimeout impact

2009-03-31 Thread yann grostete
Hello, In my project, we are using Tomcat 6.0.18, with APR 1.2.12 and tc native 1.1.14 on an Redhat OS (Linux kernel 2.6.18). There is a behavior that I can't explain: -with connectionTimeout="0", the process tomcat uses a huge percentage of CPU, even if there is no traffic. but we doesn't obs