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

2013-01-25 Thread Hermes Flying
, January 24, 2013 9:09 PM Subject: Re: Fw: Can 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

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

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 Tomcat 5.5.36 code

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 Hermes Flying
this in 6 and he said the browser stuck. I did not notice that. From: Christopher Schultz ch...@christopherschultz.net To: Tomcat Users List users@tomcat.apache.org Sent: Friday, January 25, 2013 9:34 PM Subject: Re: Fw: Can not understand how maxThreads

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 mail

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

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

2013-01-24 Thread Hermes Flying
    xmlValidation=false xmlNamespaceAware=false   /Host     /Engine   /Service /Server From: André Warnier a...@ice-sa.com To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, January 24, 2013 11:53 AM Subject: Re: Fw: Can not understand how maxThreads

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

2013-01-24 Thread André Warnier
: 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 configuration

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

2013-01-24 Thread Hermes Flying
From: André Warnier a...@ice-sa.com To: Tomcat Users List users@tomcat.apache.org 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

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 rather

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 ch...@christopherschultz.net 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 -

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

2013-01-23 Thread Hermes Flying
flyingher...@yahoo.com To: Tomcat Users List users@tomcat.apache.org 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

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

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

2013-01-21 Thread Mark Thomas
...@yahoo.com To: Tomcat Users List users@tomcat.apache.org 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 see any kind of errors.Attached the catalina

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

2013-01-21 Thread Hermes Flying
flyingher...@yahoo.com To: Tomcat Users List users@tomcat.apache.org 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 see any kind of errors.Attached the catalina

Fw: Can not understand how maxThreads of Connectors works

2013-01-20 Thread Hermes Flying
...@christopherschultz.net To: Tomcat Users List users@tomcat.apache.org 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: Quite a few

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

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,

Re: Can not understand how maxThreads of Connectors works

2013-01-17 Thread Hermes Flying
=false    /Host     /Engine   /Service /Server From: Christopher Schultz ch...@christopherschultz.net To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, January 17, 2013 6:57 PM Subject: Re: Can not understand how maxThreads of Connectors works

Re: Can not understand how maxThreads of Connectors works

2013-01-17 Thread Hermes Flying
To: Tomcat Users List users@tomcat.apache.org 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: Quite a few messages ago, I asked the OP

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

Re: Can not understand how maxThreads of Connectors works

2013-01-16 Thread Hermes Flying
: 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 my previous mail). Did

Re: Can not understand how maxThreads of Connectors works

2013-01-16 Thread Hermes Flying
-sa.com Sent: Wednesday, January 16, 2013 6:29 PM Subject: Re: Can not understand how maxThreads of Connectors works 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

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

Re: Can not understand how maxThreads of Connectors works

2013-01-16 Thread Hermes Flying
info on this? Best Regards From: Christopher Schultz ch...@christopherschultz.net To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, January 16, 2013 7:52 PM Subject: Re: Can not understand how maxThreads of Connectors works -BEGIN PGP SIGNED

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