From tomcat-user-return-46031-apmail-jakarta-tomcat-user-archive=jakarta.apache.org@jakarta.apache.org Wed Aug 29 10:32:30 2001 Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 59973 invoked by uid 500); 29 Aug 2001 10:32:30 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 59775 invoked from network); 29 Aug 2001 10:32:29 -0000 Received: from smtp-ft1.fr.colt.net (213.41.78.25) by daedalus.apache.org with SMTP; 29 Aug 2001 10:32:29 -0000 Received: from www2.cs (access-138.93.rev.fr.colt.net [213.41.93.138]) by smtp-ft1.fr.colt.net with ESMTP id f7TAaEM11228; Wed, 29 Aug 2001 12:36:14 +0200 Received: from css4.cs (css4.cs [172.31.1.8]) by www2.cs (8.9.3/8.9.3) with ESMTP id MAA04814; Wed, 29 Aug 2001 12:32:17 +0200 Received: by css4.cs with Internet Mail Service (5.5.2650.21) id ; Wed, 29 Aug 2001 12:32:15 +0200 Message-ID: From: GOMEZ Henri To: tomcat-user@jakarta.apache.org Cc: tomcat-dev@jakarta.apache.org, Bill Lipa Subject: RE: TC323 standalone/ajp13 & thread pools Date: Wed, 29 Aug 2001 12:32:13 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N >Hi (.*), > > Hope all is well around the globe. > > We've been doing some stress testing here with Tomcat >3.2.3 operating > in standalone mode and with apache via the mod_jk ajp13 >connector. > > We've noticed something interesting which we're not sure about. > > Tomcat running our application standalone can handle 70 >simultaneous > users, with a TcpPoolConnector thread pool set to 150. >When we run the > same test via Apache/ajp13, the thread pool is quickly exhausted > (logged in tomcat.log) You may have find something interesting. Could you check via netstat in that situation how many ajp connections are in CLOSE-WAIT ? > Is this normal operation ? Should an ajp13 connector >consume more tomcat threads than standalone tomcat ? http native connector (HTTP/1.0) close connection at end of request. In ajp13 the connections between apache and tomcat are persistant. What I didn't understand is how you could have 150 ajp13 connections to handle only 70 clients ? Stay tuned