On 25/09/2020 14:02, Vicente Perez wrote:
> Hello,
> 
> We have a server with Apache Tomcat/9.0.37 which is dedicated for less than 
> 100 concurrent users. We are using the ARP Connector with the parameter 
> “maxThreads=400”.

I assume you mean the APR/Native connector here.

>  <Connector port="8080" protocol="HTTP/1.1"
>                connectionTimeout="20000"
>                redirectPort="8443"  maxThreads="400" />
> 
> We have the next behavior:
> Tomcat does not process any new request with currentThreadCount = X and  
> currentThreadBusy = X, but with X=30 or 50. ConnectionCount is increasing.
> 
> A far as I understood, the number of threads should increase if  
> currentThreadBusy is increasing.

Correct.

> We prevent this behavior by setting minSpareThreads to 100.
> 
>   *   Is this behavior correct?

Doesn't look right.

>   *   How the Connector should be configured in order to increase the 
> currentThreadCount when currentThreadBusy is equal to currentThreadCount?

This looks like a potential bug that needs further investigation.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to