It is the Connector element which you need to adjust, i.e., up the
maxThreads value.

    <Connector
        port="8080"
        redirectPort="8443"
        minSpareThreads="25"
        connectionTimeout="20000"
        maxSpareThreads="75"
        maxThreads="150"
        maxHttpHeaderSize="8192">
    </Connector>

> -----Original Message-----
> From: foo shyn [mailto:[EMAIL PROTECTED] 
> Sent: Friday, February 24, 2006 6:05 AM
> To: users@tomcat.apache.org
> Subject: Tomcat servlet load handling
> 
> 
> Hi,
> 
> I face problems when Tomcat is facing heavy load for a 
> particular servlet. I got a servlet which serves a large 
> amount of data to users. When a particular number of users is 
> accessing this servlet, others failed to reach it (receive 
> nothing until the connection timed out). If they access other 
> servlets on the same Tomcat there won't be any problem.
> 
> My Questions are: Is it that the Tomcat have any settings to 
> allow how many users to be able to access a servlets at the 
> same time? or is it that my Servlets need to follow certain 
> coding pattern? What would prevent the users from accessing 
> the Tomcat's servlet when other's running it as well?
> 
> I'm running on Tomcat 4.1 with J2SDK 1.4.2
> 
> Any opinions and feedbacks are welcomed.
> Thanx
> 
> Regards,
> FooShyn
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to