Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 28686 invoked from network); 24 Feb 2006 14:39:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Feb 2006 14:39:49 -0000 Received: (qmail 41991 invoked by uid 500); 24 Feb 2006 14:39:33 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 41973 invoked by uid 500); 24 Feb 2006 14:39:33 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 41962 invoked by uid 99); 24 Feb 2006 14:39:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Feb 2006 06:39:32 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [12.165.216.4] (HELO mail.mcdonaldbradley.com) (12.165.216.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Feb 2006 06:39:32 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Tomcat servlet load handling Date: Fri, 24 Feb 2006 09:39:09 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Tomcat servlet load handling thread-index: AcY5MfHc/jtR6yIgRHet6lYIpIy++QAHZtfQ From: "Duan, Nick" To: "Tomcat Users List" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I assume that your web app was dealing with a backend database. In that case, it is quite possible that your JDBC data source is running out of connections. So the timeout is not necessarily caused by the servlet, but by the connection pool. One option is to increase the number of connections in the connection pool. 8 out 10 times this can be the solution. ND -----Original Message----- From: foo shyn [mailto:fooshyn@optegra.com.my]=20 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