Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 8558 invoked from network); 28 Dec 2010 21:13:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Dec 2010 21:13:59 -0000 Received: (qmail 23199 invoked by uid 500); 28 Dec 2010 21:13:55 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 23007 invoked by uid 500); 28 Dec 2010 21:13:55 -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 22998 invoked by uid 99); 28 Dec 2010 21:13:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Dec 2010 21:13:55 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of justj2ee@gmail.com designates 209.85.210.173 as permitted sender) Received: from [209.85.210.173] (HELO mail-iy0-f173.google.com) (209.85.210.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Dec 2010 21:13:49 +0000 Received: by iye19 with SMTP id 19so8661411iye.18 for ; Tue, 28 Dec 2010 13:13:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=H44Wd/sgMKnkMTn2wYtdXMyXt8fwWzz3i4F2VlwxZ3w=; b=dAYPs5WPmhsMqsLXQON8KVPax13gCjxerDfWgcHc+Z+uSeJgH0DdlPao00B2hf0PP5 6o6AsSwv+n/3GsnV5OFRXYJQfhu1wQYWHQoKBAQwB3lySiPqI5jHaraF7AC6I8ZoZorG 02+IS781j7caVsTYkl1qYR1XcjKtZ2ZYEiK2g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=PKkyckVkrogAHecq/6ccZQ0RoKnGWwITaiGSMhlzIBj8x/X1HmL40zQRtCNYr+axqw 0QLx2IzK2lN9yVgtPXcRLPosMRLptYVFdW5bK/R8UGmhFk2XtL7eekZbmCdP6Mls6pcF M4HUqlqFqcqnJpLr7jrQjOwgfFKEE5YxmwP5A= MIME-Version: 1.0 Received: by 10.42.176.10 with SMTP id bc10mr13923617icb.261.1293570807364; Tue, 28 Dec 2010 13:13:27 -0800 (PST) Received: by 10.42.227.194 with HTTP; Tue, 28 Dec 2010 13:13:27 -0800 (PST) In-Reply-To: <4D19E663.4020404@pidster.com> References: <4D18B214.1060005@ice-sa.com> <4D19E663.4020404@pidster.com> Date: Tue, 28 Dec 2010 15:13:27 -0600 Message-ID: Subject: Re: Tomcat 5.5/HTTPD cluster question From: Don Hill To: Tomcat Users List Content-Type: multipart/alternative; boundary=90e6ba6e87ca76fb2d04987eec75 X-Virus-Checked: Checked by ClamAV on apache.org --90e6ba6e87ca76fb2d04987eec75 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable We are on 64bit JVM 1.6 the heap is 8GB for each Tomcat instance. The OS is RHEL 4.0 64 bit On Tue, Dec 28, 2010 at 7:30 AM, Pid wrote: > On 12/27/10 4:42 PM, Don Hill wrote: > > Thanks. > > > > I am trying to get them to migrate. It seems that part of there > bottleneck > > could be the MAX clients on HTTPD. They get high volumes at times and > have > > like 1800-3000 active sessions. Any other input would be great like > tuning > > tomcat to workers and the best strategy to setup a tomcat/httpd env. > > > > Don > > > > On Mon, Dec 27, 2010 at 9:34 AM, Andr=E9 Warnier wrote: > > > >> Don Hill wrote: > >> > >>> Hi. > >>> > >>> I am working on a tomcat 5.5 cluster which is using ajp/1.3 and mod_j= k > and > >>> trying to determine the best cluster design given the hardware. I hav= e > 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 o= ne > >>> instance of HTTPD. Two of the VHOSTS are the same app running on Tomc= at > >>> 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 ? > >>> > >>> The very first thing that I would recommend, would be to use the > current > >> versions of both httpd and tomcat. The versions you mention above are > >> several years old, and no longer being developed, except maybe for > security > >> patches. > >> See : http://httpd.apache.org/docs/1.3/ > >> See : http://tomcat.apache.org/whichversion.html > > Are you using a 64bit JVM? > What version is it? > Is your OS a 64bit version? > Which OS is it? > > > p > --90e6ba6e87ca76fb2d04987eec75--