tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Lucia" <timlu...@yahoo.com>
Subject RE: Tomcat servlet load handling
Date Fri, 24 Feb 2006 12:37:03 GMT
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:fooshyn@optegra.com.my] 
> 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 


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


Mime
View raw message