tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net PoolTcpEndpoint.java
Date Thu, 30 Oct 2003 22:58:15 GMT

----- Original Message -----
From: "Remy Maucherat" <remm@apache.org>
To: "Tomcat Developers List" <tomcat-dev@jakarta.apache.org>
Sent: Thursday, October 30, 2003 1:45 PM
Subject: Re: cvs commit:
jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net
PoolTcpEndpoint.java


> luehe@apache.org wrote:
>
> > luehe       2003/10/30 13:01:39
> >
> >   Modified:    util/java/org/apache/tomcat/util/net PoolTcpEndpoint.java
> >   Log:
> >   Fixed problem where if maxThreads is set to 1,
> >   ThreadPool.findControlRunnable() will log this error on the first
> >   request:
> >
> >     SEVERE: All threads (1) are currently busy, waiting. Increase
> >     maxThreads (1) or check the servlet status
> >
> >   and then block forever
>
> -1 for this patch.
> 1 is obviously a stupid configuration value, so the pool should refuse it.
>

I agree with Remy:  The place to check this is ThreadPool.


> Remy
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>


Mime
View raw message