From users-return-220387-apmail-tomcat-users-archive=tomcat.apache.org@tomcat.apache.org Mon Dec 27 15:12:32 2010 Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 40661 invoked from network); 27 Dec 2010 15:12:32 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Dec 2010 15:12:32 -0000 Received: (qmail 72124 invoked by uid 500); 27 Dec 2010 15:12:28 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 71995 invoked by uid 500); 27 Dec 2010 15:12:28 -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 71978 invoked by uid 99); 27 Dec 2010 15:12:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Dec 2010 15:12:27 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of justj2ee@gmail.com designates 209.85.214.173 as permitted sender) Received: from [209.85.214.173] (HELO mail-iw0-f173.google.com) (209.85.214.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Dec 2010 15:12:27 +0000 Received: by iwn40 with SMTP id 40so9177035iwn.18 for ; Mon, 27 Dec 2010 07:12:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=2j1Bos98qJfYLd30pKIYmh1O3pm6Ld1Z/kthMkaIz14=; b=w2q/Wy4SI13N17kYJ75AfaHirptxeuywqf5e51LBFZZ9mafSppYcMjTYSYI7NudjVJ EZ+tqyT9EchBvi9qN3u4G+/4Wj4ibQCY6kZX7U6KMODqxfVx7RLvsC089jCqa3flhSGT NX7muMSVdrvnsuD+qU+JN0hwOhIIF98WovbAw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=oAVoheM5rKA41SX/Gf/XfiVbVyCRTHaE6DXz++Ple+G3c7kKEANYnr5eFct5XTLjKO frnaIP70dfSwdCCMBh3N88VXa70e7J3EHVizArn4YZ/QO/Bf0iiOnxbFH3Hb1zT523Dr UBmG7lwxPoh+muqCxVTp5voSR/NHO6d+AURrk= MIME-Version: 1.0 Received: by 10.42.167.202 with SMTP id t10mr3338998icy.60.1293462726342; Mon, 27 Dec 2010 07:12:06 -0800 (PST) Received: by 10.42.227.194 with HTTP; Mon, 27 Dec 2010 07:12:06 -0800 (PST) Date: Mon, 27 Dec 2010 09:12:06 -0600 Message-ID: Subject: Tomcat 5.5/HTTPD cluster question From: Don Hill To: users@tomcat.apache.org Content-Type: multipart/mixed; boundary=90e6ba6e8fb25579f3049865c259 --90e6ba6e8fb25579f3049865c259 Content-Type: multipart/alternative; boundary=90e6ba6e8fb25579ee049865c257 --90e6ba6e8fb25579ee049865c257 Content-Type: text/plain; charset=ISO-8859-1 Hi. I am working on a tomcat 5.5 cluster which is using ajp/1.3 and mod_jk and trying to determine the best cluster design given the hardware. I have 2 xeon 2.3 ghz 2 CPU machines with 38GB ram machine. Currently here is the config I am using. The TOMCAT and HTTPD servers are on the same physical machine. Each machine is running HTTPD 1.3 with prefork, the MaxClients is 256 due compiled in limits. Each machine has 4 virtualhosts running through one instance of HTTPD. Two of the VHOSTS are the same app running on Tomcat 5.5 with 8GB RAM(configured by customer). The workers are configured to each VHOST meaning for each machine there are 4 workers defined and one worker is defined for each VHOST. I will try and depict this below. The current load balancing is controlled by F5 and manages the load across 2 machines, 4 VHOST for each app. Based on this info can someone recommend if this configuration could be improved and if so what would you recommend ? Thanks for any help on this. | F5| --90e6ba6e8fb25579ee049865c257 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi.

I am working on a tomcat 5.5 cluster which is using = ajp/1.3 and mod_jk and trying to determine the best cluster design given th= e hardware. I have 2 xeon 2.3 ghz 2 CPU machines with 38GB ram machine. Cur= rently here is the config I am using. The TOMCAT and HTTPD servers are on t= he same physical machine.

Each machine is running HTTPD 1.3 with prefork, the Max= Clients is 256 due compiled in limits. Each machine has 4 virtualhosts runn= ing through one instance of HTTPD. Two of the VHOSTS are the same app runni= ng on Tomcat 5.5 with 8GB RAM(configured by customer). The workers are conf= igured to each VHOST meaning for each machine there are 4 workers=A0defined= =A0and one worker is=A0defined=A0for each VHOST. I will try and depict this= below. The current load balancing is controlled by F5 and manages the load= =A0across=A02 machines, 4 VHOST for each app.

Based on this info can someone recommend if this config= uration could be improved and if so what would you recommend ?
Thanks for any help on this.



| F5|


--90e6ba6e8fb25579ee049865c257-- --90e6ba6e8fb25579f3049865c259 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --90e6ba6e8fb25579f3049865c259--