Re: CPU usage with APR and connectionTimeout impact

2009-04-02 Thread Taylan Develioglu
Funny, according to the documentation there exists no connectionTimeout attribute for the apr connector. Setting the value to '0' could mean all sorts of behavior, no way to know for sure short of checking the code. (it could mean the connector will not wait for the uri line at all) I can't

RE: CPU usage with APR and connectionTimeout impact

2009-04-02 Thread Caldarale, Charles R
From: Taylan Develioglu [mailto:tdevelio...@ebuddy.com] Subject: Re: CPU usage with APR and connectionTimeout impact according to the documentation there exists no connectionTimeout attribute for the apr connector. Which documentation is that? Note that the HTTP connector attributes apply

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

Re: CPU usage with APR and connectionTimeout impact

2009-04-02 Thread Taylan Develioglu
, Charles R wrote: From: Taylan Develioglu [mailto:tdevelio...@ebuddy.com] Subject: Re: CPU usage with APR and connectionTimeout impact according to the documentation there exists no connectionTimeout attribute for the apr connector. Which documentation is that? Note that the HTTP connector

Re: CPU usage with APR and connectionTimeout impact

2009-04-02 Thread Gregor Schneider
On Thu, Apr 2, 2009 at 3:37 PM, Taylan Develioglu tdevelio...@ebuddy.com wrote: I think a seperate overview of attributes per connector would be clearer. +1 Somebody got some time to change it in the TC trunk and cis able to reate a bugzilla-RFE with a patch? Any volunteers welcome ;) Rgds

RE: CPU usage with APR and connectionTimeout impact

2009-04-02 Thread Caldarale, Charles R
From: Taylan Develioglu [mailto:tdevelio...@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

Re: CPU usage with APR and connectionTimeout impact

2009-04-02 Thread Rémy Maucherat
On Tue, Mar 31, 2009 at 2:40 PM, yann grostete yann.grost...@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.

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 yann.grost...@alcatel-lucent.fr wrote: -with connectionTimeout=0, the

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