Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 87618 invoked from network); 26 Aug 2006 10:41:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Aug 2006 10:41:46 -0000 Received: (qmail 98653 invoked by uid 500); 26 Aug 2006 10:41:33 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 98625 invoked by uid 500); 26 Aug 2006 10:41: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 98614 invoked by uid 99); 26 Aug 2006 10:41:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Aug 2006 03:41:33 -0700 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 [195.143.155.10] (HELO elmo.2sheds.de) (195.143.155.10) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Aug 2006 03:41:32 -0700 Received: from [192.168.3.131] (p5498CF3E.dip.t-dialin.net [84.152.207.62]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by elmo.2sheds.de (Postfix) with ESMTP id 5471FF2A15 for ; Sat, 26 Aug 2006 12:41:07 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <44F01FEE.8070901@jboss.com> References: <85c493340608260105x71827d1aq5ca34bc703b9431c@mail.gmail.com> <44F01625.2050709@jboss.com> <8EE6DDBD-8FB6-4E61-8568-EE64F5D3610C@2sheds.de> <85c493340608260300h667c4f24n2f19393e22e3f469@mail.gmail.com> <44F01FEE.8070901@jboss.com> X-Gpgmail-State: !signed Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Andrew Miehs Subject: Re: 10,000 Virtual Hosts in a Tomcat instance Date: Sat, 26 Aug 2006 12:41:03 +0200 To: "Tomcat Users List" X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Mladen, Are we referring to 10,000 Virtual servers or 10,000 Connections? And the answer is yes to 10000 connections. Yes I would use worker-mpm or better still an epoll based httpd daemon, like lighttpd or zeus. Regards Andrew On 26/08/2006, at 12:18 PM, Mladen Turk wrote: > Andrew Miehs wrote: >> If you are only delivering static content, then use Apache or >> Lighttpd >> http://www.lighttpd.net/ >> This is NOT what tomcat is designed for.... >> > > In theory the threaded model should consume less memory > and less CPU cycles compared with prefork model. > Of course if your application is stable then you > should always prefer worker-mpm over the prefork-mpm. > > Did you ever tried to hit the Httpd with 10000 concurrent > connections? I did, and Tomcat uses less memory then > Apache httpd, and that's why it is 2 times faster then > httpd. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org