tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vijayanand Sukumar <VSuku...@manage.com>
Subject RE: Hi, Using Tomcat for the first time:
Date Wed, 14 Feb 2001 00:49:37 GMT
You can alter the server.xml portion under 
<!----connectors----->

to look like something like this

           <!-- Normal HTTP -->
        <Connector className="org.apache.tomcat.service.PoolTcpConnector">
            <Parameter name="handler" 
 
value="org.apache.tomcat.service.http.HttpConnectionHandler"/>
            <Parameter name="port" 
                value="8585"/>
            <Parameter
                name="max_threads"
                value="75"/>
            <Parameter
                name="max_spare_threads"
                value="25"/>
            <Parameter
                name="min_spare_threads"
                value="10" />
        </Connector>

this might help

cheers
vijay

-----Original Message-----
From: Andrew Stewart [mailto:AndrewS@megastation.com]
Sent: Tuesday, February 13, 2001 4:42 PM
To: 'tomcat-user@jakarta.apache.org'
Subject: Hi, Using Tomcat for the first time:


and I have to say I am impressed so far

I've tried three other Java VM's and have had very dissapointing
experiences with them (Caucho's Resin, NA's ServletExec, and Allaire's
JRun).

Anyway, one of the few questions I'd like to ask is if there's anyway to
control the number of threads (or workers) that come up when Tomcat is
run.

I tried looking for a setting something like MinServers / MaxServers
akin to Apache but no dice, any help would be appreciated.

Thanks in advance.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, email: tomcat-user-help@jakarta.apache.org

Mime
View raw message