Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 27756 invoked from network); 1 May 2003 17:01:58 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 1 May 2003 17:01:58 -0000 Received: (qmail 4880 invoked by uid 97); 1 May 2003 17:04:00 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@nagoya.betaversion.org Received: (qmail 4873 invoked from network); 1 May 2003 17:03:59 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 1 May 2003 17:03:59 -0000 Received: (qmail 26272 invoked by uid 500); 1 May 2003 17:01:39 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 26234 invoked from network); 1 May 2003 17:01:38 -0000 Received: from unknown (HELO ns3.linuxwebnet.com) (216.133.76.5) by daedalus.apache.org with SMTP; 1 May 2003 17:01:38 -0000 Received: (qmail 29744 invoked from network); 1 May 2003 17:43:27 -0000 Received: from adsl-216-102-196-220.dsl.snfc21.pacbell.net (HELO MOOSE) (216.102.196.220) by shada.com with SMTP; 1 May 2003 17:43:27 -0000 From: "Filip Hanik" To: "Tomcat-Dev" Subject: Tomcat throws 302 errors over load - clustering test Date: Thu, 1 May 2003 10:04:02 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N hi all, I recently performed a load test on the clustering solution for tomcat 4.1.x (http://cvs.apache.org/~fhanik/) If my unit test is correct, I received 0 replication errors, however tomcat keeps throwing 302 errors during overload. For those who are interested all the stats are below, Even if I run my test against a single tomcat server, I still receive the 302 errors indicating that this is not a replication error. So in case of a 302 I just resubmit the request once more. The test WAR and client are available upon request. Setup Linux Redhat 7.2, 512MB RAM, 800Mhz P3 - 2x Tomcat 4.1.24 (C,D) - HTTP Loadbalancer Win XP Home, 512MB RAM, 2.4GHz P4 - 2x Tomcat 4.1.24 (A,B) - Replication test client Network - 100Mbs LAN Test - 120 concurrent connections (keep-alive=false) - Round robin for each request - 100ms between each consecutive request (each connection sleeps 100ms when one request is finished) Client statistics: Thread count=120 Average response time=4434ms for 600000 requests. Nr of replication errors=0 Nr of 302 errors=18257 Win XP Statistics (server B): [InMemoryReplicationManager] Replication Statistics Messages sent=116292 Message serialization time=94067ms Average serialization time=0.80888623ms Average session send size=1808.64bytes Messages received=465114 Message deserialization time=1816989 Average deserialization time=3.9065454ms Linux Statistics (Server D): [InMemoryReplicationManager] Replication Statistics Messages sent=232578 Message serialization time=625110ms Average serialization time=2.6877434ms Average session send size=1803.0104bytes Messages received=348859 Message deserialization time=4482228ms Average deserialization time=12.848251ms --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org