Re: Fw: Can not understand how maxThreads of Connectors works

2013-01-25 Thread Mark Thomas
On 25/01/2013 19:58, Hermes Flying wrote: > Hi, I actually deploy in 2 servers one in 6 and one in 5. I noticed > the same behavior described (that was not believed). I did not aim > in taking anyone's time. All I wanted to do is verify the > functionality using really small values. In a previous m

Re: Fw: Can not understand how maxThreads of Connectors works

2013-01-25 Thread Hermes Flying
ested this in 6 and he said the browser stuck. I did not notice that. From: Christopher Schultz To: Tomcat Users List Sent: Friday, January 25, 2013 9:34 PM Subject: Re: Fw: Can not understand how maxThreads of Connectors works -BEGIN PGP SIGNED ME

Re: Fw: Can not understand how maxThreads of Connectors works

2013-01-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hermes, On 1/25/13 4:16 AM, Hermes Flying wrote: > I am using the correct server.xml. In the version 5.5.36 the > maxThreads of 0 has no effect due to this code in > org.apache.tomcat.util.net.PoolTcpEndpoint You said you were using Tomcat 6. Now

Re: Fw: Can not understand how maxThreads of Connectors works

2013-01-25 Thread Mark Thomas
> On Jan 16, you wrote this : > > Hermes Flying wrote: >> Hi, >> I am using Tomcat 6 (I think it is version 33 but will double check) >> And JVM is Java 6 from IBM >> Do you need exact versions? >> > > And you haven't provided any other version number since then. > > So why are you quoting Tomca

Re: Fw: Can not understand how maxThreads of Connectors works

2013-01-25 Thread André Warnier
Hermes Flying wrote: I am using the correct server.xml. In the version 5.5.36 the maxThreads of 0 has no effect due to this code in org.apache.tomcat.util.net.PoolTcpEndpoint public void setMaxThreads(int maxThreads) { if( maxThreads > 0) tp.setMaxThreads(maxThreads); } So wh

Re: Fw: Can not understand how maxThreads of Connectors works

2013-01-25 Thread Hermes Flying
not understand how maxThreads of Connectors works -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 1/24/13 12:14 PM, André Warnier wrote: > Now, considering this, there are a number of possibilities : - the > documentation is totally wrong - there is a bug in Tomcat - your > Tomcat s

Re: Can not understand how maxThreads of Connectors works

2013-01-24 Thread Ben Stringer
On 25/01/2013, at 6:09 AM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > André, > > On 1/24/13 12:14 PM, André Warnier wrote: >> Now, considering this, there are a number of possibilities : - the >> documentation is totally wrong - there is a bug in Tomca

Re: Fw: Can not understand how maxThreads of Connectors works

2013-01-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 1/24/13 12:14 PM, André Warnier wrote: > Now, considering this, there are a number of possibilities : - the > documentation is totally wrong - there is a bug in Tomcat - your > Tomcat server is not using this server.xml - or, it being rath

Re: Fw: Can not understand how maxThreads of Connectors works

2013-01-24 Thread Hermes Flying
From: André Warnier To: Tomcat Users List Sent: Thursday, January 24, 2013 7:14 PM Subject: Re: Fw: Can not understand how maxThreads of Connectors works Hermes Flying wrote: > Hi, > I don't see how this answers my issue. > 1) You say 0 t

Re: Fw: Can not understand how maxThreads of Connectors works

2013-01-24 Thread André Warnier
uot;HTTP/1.1" connectionTimeout="2" redirectPort="8443" /> ____________ From: André Warnier To: Tomcat Users List Sent: Thursday, Januar

Re: Fw: Can not understand how maxThreads of Connectors works

2013-01-24 Thread Hermes Flying
Sent: Thursday, January 24, 2013 11:53 AM Subject: Re: Fw: Can not understand how maxThreads of Connectors works Hermes Flying wrote: > Hi, > So is there an explanation for this? All I am interested is make sure that > after a limit, clients attempted to connect are stopped based on my &g

Re: Fw: Can not understand how maxThreads of Connectors works

2013-01-24 Thread André Warnier
Hermes Flying wrote: Hi, So is there an explanation for this? All I am interested is make sure that after a limit, clients attempted to connect are stopped based on my configuration on maxThreads and accept count. But I can not figure out how this works. (This all being explained in vernacul

Re: Fw: Can not understand how maxThreads of Connectors works

2013-01-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hermes, On 1/23/13 5:25 PM, Hermes Flying wrote: > So is there an explanation for this? All I am interested is make > sure that after a limit, clients attempted to connect are stopped > based on my configuration on maxThreads and accept count. But I

Re: Fw: Can not understand how maxThreads of Connectors works

2013-01-23 Thread Hermes Flying
To: Tomcat Users List Sent: Monday, January 21, 2013 6:17 PM Subject: Re: Fw: Can not understand how maxThreads of Connectors works The web application works.I can not see any issue. What does this mean? From: Mark Thomas To: Tomcat Users List Sent: Monday

Re: Fw: Can not understand how maxThreads of Connectors works

2013-01-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hermes, On 1/21/13 11:17 AM, Hermes Flying wrote: > The web application works.I can not see any issue. What does this > mean? My guess is that Tomcat isn't using the configuration file you are modifying. - -chris -BEGIN PGP SIGNATURE- Vers

Re: Fw: Can not understand how maxThreads of Connectors works

2013-01-21 Thread Hermes Flying
The web application works.I can not see any issue. What does this mean? From: Mark Thomas To: Tomcat Users List Sent: Monday, January 21, 2013 11:06 AM Subject: Re: Fw: Can not understand how maxThreads of Connectors works On 21/01/2013 07:07, Hermes

Re: Fw: Can not understand how maxThreads of Connectors works

2013-01-21 Thread Mark Thomas
e - > From: Hermes Flying > To: Tomcat Users List > Sent: Friday, January 18, 2013 8:55 AM > Subject: Re: Can not understand how maxThreads of Connectors works > > > Hi Chris, > Tried with this simple server.xml and maxThreads=0 but I did not

Fw: Can not understand how maxThreads of Connectors works

2013-01-20 Thread Hermes Flying
Hi, Is there any update on this? I don't see any problem setting maxThreads=0 Thank you - Forwarded Message - From: Hermes Flying To: Tomcat Users List Sent: Friday, January 18, 2013 8:55 AM Subject: Re: Can not understand how maxThreads of Connectors works Hi Chris, Tried

Re: Can not understand how maxThreads of Connectors works

2013-01-17 Thread Hermes Flying
                                                                                                  From: Christopher Schultz To: Tomcat Users List Sent: Thursday, January 17, 2013 6:57 PM Subject: Re: Can not understand how maxThreads of Connectors works -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 1/17/13 3:32 AM, André Warnier wrote

Re: Can not understand how maxThreads of Connectors works

2013-01-17 Thread Hermes Flying
: Thursday, January 17, 2013 6:57 PM Subject: Re: Can not understand how maxThreads of Connectors works -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 1/17/13 3:32 AM, André Warnier wrote: > Quite a few messages ago, I asked the OP if he could copy/paste > his server.xml. Yes. Get

Re: Can not understand how maxThreads of Connectors works

2013-01-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 1/17/13 3:32 AM, André Warnier wrote: > Quite a few messages ago, I asked the OP if he could copy/paste > his server.xml. Yes. Getting information from the OP seems to be difficult. > The reason was that if his config uses an Executor, t

Re: Can not understand how maxThreads of Connectors works

2013-01-17 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hermes, On 1/16/13 3:07 PM, Hermes Flying wrote: I believe acceptCount can not work with value 0 because if I am not wrong, the acceptCount is the value passed as backlog in the ServerSocket constructor. According to j

Re: Can not understand how maxThreads of Connectors works

2013-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hermes, On 1/16/13 3:07 PM, Hermes Flying wrote: > I believe acceptCount can not work with value 0 because if I am > not wrong, the acceptCount is the value passed as backlog in the > ServerSocket constructor. According to javadoc if the backlog >

Re: Can not understand how maxThreads of Connectors works

2013-01-16 Thread Hermes Flying
info on this? Best Regards From: Christopher Schultz To: Tomcat Users List Sent: Wednesday, January 16, 2013 7:52 PM Subject: Re: Can not understand how maxThreads of Connectors works -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hermes, On 1/16/13 11

Re: Can not understand how maxThreads of Connectors works

2013-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hermes, On 1/16/13 11:01 AM, Hermes Flying wrote: > I am trying to understand how the maxThreads attribute of > Connectors works. I did some tests in order to configure Tomcat to > limit the number of concurrent client requests (as asked in my > pre

Re: Can not understand how maxThreads of Connectors works

2013-01-16 Thread Hermes Flying
PM Subject: Re: Can not understand how maxThreads of Connectors works Hermes Flying wrote: > Hi, > I am trying to understand how the maxThreads attribute of Connectors works. I > did some tests in order to configure Tomcat to limit the number of concurrent > client requests(as asked in m

Re: Can not understand how maxThreads of Connectors works

2013-01-16 Thread Hermes Flying
Hi, I am using Tomcat 6 (I think it is version 33 but will double check) And JVM is Java 6 from IBM Do you need exact versions? From: André Warnier To: Tomcat Users List Sent: Wednesday, January 16, 2013 6:18 PM Subject: Re: Can not understand how

Re: Can not understand how maxThreads of Connectors works

2013-01-16 Thread André Warnier
Hermes Flying wrote: Hi, I am trying to understand how the maxThreads attribute of Connectors works. I did some tests in order to configure Tomcat to limit the number of concurrent client requests(as asked in my previous mail). Did the following trivial configuration. maxThreads=1 and accept