Re: keepAliveTimeout/connectionTimeout not working with configured values - Embedded Tomcat 9.0.35

2020-05-29 Thread Mark Thomas
On 29/05/2020 05:49, Arshiya Shariff wrote: > Hi Mark , > >   > > *We have upgraded the Embedded tomcat version from 9.0.22 to 9.0.35 *and > tried setting the *keepAliveTimeout/connectionTimeout* to *4ms / -1 > *, via the IntrospectionUtils by extendin

keepAliveTimeout/connectionTimeout not working with configured values - Embedded Tomcat 9.0.35

2020-05-28 Thread Arshiya Shariff
Hi Mark , We have upgraded the Embedded tomcat version from 9.0.22 to 9.0.35 and tried setting the keepAliveTimeout/connectionTimeout to 4ms / -1 , via the IntrospectionUtils by extending the Connector class: IntrospectionUtils.setProperty( this, "keepAliveTimeout", Stri

RE: AJP connector connectionTimeOut

2010-11-15 Thread Luke Meyer
> The BIO connector doesn't complain due to how properties are handled > internally. The NIO and APR/native connector will log warnings. OK, good to know. I noticed the default HTTP connector also doesn't warn about bogus properties. Hadn't checked the rest. > AJP connections are intended to pe

Re: AJP connector connectionTimeOut

2010-11-15 Thread Mark Thomas
On 15/11/2010 20:30, Luke Meyer wrote: > Tomcat 6.0.29, HotSpot 1.6.0_21 on CentOS 5. > > I had a problem recently where someone configured a standard AJP connector > like this: > maxThreads="250" protocol="AJP/1.3" /> > > See the typo? &quo

AJP connector connectionTimeOut

2010-11-15 Thread Luke Meyer
Tomcat 6.0.29, HotSpot 1.6.0_21 on CentOS 5. I had a problem recently where someone configured a standard AJP connector like this: See the typo? "connectionTimeOut" should be "connectionTimeout". Normally Tomcat complains when you have bogus proper

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

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 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 Gregor -- just beca

Re: CPU usage with APR and connectionTimeout impact

2009-04-02 Thread Taylan Develioglu
You're right. I missed it. APR has the same attributes as the HTTP connector. I think a seperate overview of attributes per connector would be clearer. The HTTP connectionTimeout description states: - The number of milliseconds this *Connector* will wait, after accepting a connection, fo

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

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)

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.

Re: [newbie] connectionTimeout value for AJP Connector

2008-09-10 Thread Rainer Jung
Bill Barker schrieb: > "Stacey Jones" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> Hi, I am a new member on tomcat mailing list. >> >> For tomcat 5.5 - Is there a recommended value for connectionTimeout >> attribute? How to decide

Re: [newbie] connectionTimeout value for AJP Connector

2008-09-09 Thread Bill Barker
"Stacey Jones" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, I am a new member on tomcat mailing list. > > For tomcat 5.5 - Is there a recommended value for connectionTimeout > attribute? How to decide this value? > > The documentation says

[newbie] connectionTimeout value for AJP Connector

2008-09-09 Thread Stacey Jones
Hi, I am a new member on tomcat mailing list. For tomcat 5.5 - Is there a recommended value for connectionTimeout attribute? How to decide this value? The documentation says : The number of milliseconds this Connector will wait, after accepting a connection, for the request URI line to be

Re: need help with "connectionTimeout" and "connection_pool_timeout"

2008-04-25 Thread Rainer Jung
think its "connectionTimeout" and "connection_pool_timeout". I know where to set "connectionTimeout" it's my server.xml, but not sure about not sure about "connection_pool_timeout". What's the difference between these 2 parameters? connection

need help with "connectionTimeout" and "connection_pool_timeout"

2008-04-24 Thread Pavel Pragin
like tomcat is not closing idle connections. I read there are 2 parameters that I can tweak idle connection time out with. I think its "connectionTimeout" and "connection_pool_timeout". I know where to set "connectionTimeout" it's my server.xml

Re: mod_jk - connectionTimeout en connection_pool_timeout

2007-09-10 Thread Henk Fictorie
27;no retries'. I have now commented out > that line, so it will get the default value of 2. > It will let you know if it helped. > > regards Henk > -- View this message in context: http://www.nabble.com/mod_jk---connectionTimeout-en-connection_pool_timeout-tf4390617.html#a125

Re: mod_jk - connectionTimeout en connection_pool_timeout

2007-09-06 Thread Henk Fictorie
w Tomcat version. We now have a split application which is using both >> Tomcat 5.0 and the other part is using Tomcat 5.5. For tomcat 5.5 we set >> the >> connectionTimeout to 10 minutes, for 5.0 it is set to 0 (infinite) >> >> For the Tomcat 5.0 connections we do not se

Re: mod_jk - connectionTimeout en connection_pool_timeout

2007-09-06 Thread Rainer Jung
part is using Tomcat 5.5. For tomcat 5.5 we set the connectionTimeout to 10 minutes, for 5.0 it is set to 0 (infinite) For Tomcat 5.0 we see lots more ESTABLISHED connections than for Tomcat 5.5. While I expected it to be the same. Hmmm. Maybe I'm missing the point, but I would not share

mod_jk - connectionTimeout en connection_pool_timeout

2007-09-06 Thread Henk Fictorie
tomcat 5.5 we set the connectionTimeout to 10 minutes, for 5.0 it is set to 0 (infinite) For Tomcat 5.0 we see lots more ESTABLISHED connections than for Tomcat 5.5. While I expected it to be the same. For the Tomcat 5.0 connections we do not see any errors (except for client errors). For the Tomcat 5.5

Re: connectionTimeout for AJP 1.3 in server.xml

2007-01-18 Thread Rainer Jung
Last time I checked explicitely was for 5.0.28. That (old) version had a default of 60 seconds in the code, but it was not functional. You had to explicitely set a value to enable the timeout. And yes, having a good fit between connectionTimeout and connection_pool_timeout should be best in

connectionTimeout for AJP 1.3 in server.xml

2007-01-17 Thread Mohan2005
reply is much appreciated Mohan -- View this message in context: http://www.nabble.com/connectionTimeout-for-AJP-1.3-in-server.xml-tf3028693.html#a8414904 Sent from the Tomcat - User mailing list archive at Nabble.com.

connectionTimeout

2006-09-13 Thread William Campillo
I focused on two attributes of the Connector configuration in server.xml: connectionTimeout and disableUploadTimeout. The former was set to 2 and the latter to "true". Changing connectionTimeout to 0, or even to 6 solved the problem. Reference http://tomcat.apache.org/tom

Re: connectionTimeout and reusing Tomcat threads

2006-07-30 Thread Ramdas . Hegde
Available cc 07/28/2006 01:41 Subject PMRe: connectionTim

Re: connectionTimeout and reusing Tomcat threads

2006-07-28 Thread Rainer Jung
ither on the Apache side or Tomcat side of > the connector. > The JBoss/Tomcat 5.0 document states that the default connectionTimeout > within the AJP 1.3 connector on the Tomcat side is 60 seconds but it does > not seem to be the case. > > I am trying to force this connectionTim

connectionTimeout and reusing Tomcat threads

2006-07-28 Thread Ramdas . Hegde
resulting in a large number of Tomcat threads which are in KeepAlive state as reported by the Tomcat console. I do not have any timeouts set either on the Apache side or Tomcat side of the connector. The JBoss/Tomcat 5.0 document states that the default connectionTimeout within the AJP 1.3 connector on

RE: Re: Does connectionTimeout > 0 cause failed requests with mod_jk?

2006-05-29 Thread henk.fictorie
message above and is probably not logged if the above error message if the error message is not logged. greetings Henk -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED] Sent: donderdag 25 mei 2006 5:10 To: users@tomcat.apache.org Subject: Re: Does connectionTimeout > 0 ca

Re: Does connectionTimeout > 0 cause failed requests with mod_jk?

2006-05-24 Thread Bill Barker
Yes, it does cause the error in the logs, for the simple reason that Tomcat closed it's side of the Socket once the connectionTimeout was reached. This causes mod_jk to error when it tries to reuse the half-closed socket. Normally, the error is harmless, since mod_jk just reopens a new S

Does connectionTimeout > 0 cause failed requests with mod_jk?

2006-05-24 Thread henk.fictorie
Hi, We are experimenting with the connectTimeout setting on the tomcat side in server.xml. We used to have this set to 0 (inifinite), but we were seeing lot of unused threads and connections on the tomcat side. Thus we set the connectionTimeout to 20 (200 sec.). After enabling this I