From owner-freebsd-smp Wed Feb 20 13: 3:11 2002 Delivered-To: freebsd-smp@freebsd.org Received: from snipe.prod.itd.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id 4C13437B404 for ; Wed, 20 Feb 2002 13:03:09 -0800 (PST) Received: from pool0067.cvx40-bradley.dialup.earthlink.net ([216.244.42.67] helo=mindspring.com) by snipe.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16ddtH-0001po-00; Wed, 20 Feb 2002 13:03:03 -0800 Message-ID: <3C740EFC.BE36E2DD@mindspring.com> Date: Wed, 20 Feb 2002 13:02:52 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Vincent Janelle Cc: "Dreamtime.net Inc." , freebsd-smp@FreeBSD.ORG Subject: Re: Systat and Ram References: <3C736028.FBD0F093@mindspring.com> <20020220122922.2bbbd161.random@carnagecopia.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Vincent Janelle wrote: > "Dreamtime.net Inc." wrote: > > Actually, we need to run anywhere from 30 to 300 httpd processes, 20-25 megs > > each. We want to know how can we decide if we need more RAM based on > > 'systat' output. > > If you're using http, you can achieve better scalability once you max out your > memory and CPU by just adding more machines and a load-balancer.. Depends on the load balancer, and depends on the HTTP applications. For simple content, that is correct. For session content, that's incorrect, and for a lot of session sensitive CGIs, the state is not shared between machines in the HTTP cluster. For host sensitive state (e.g. session cookies, etc.), you need more than a simple brain-dead hardware load balancer. Obviously, if you are developing the applications yourself and don't make mistakes, then you can use a brain-dead load balancer with no problem, but many third party "shopping cart" applications are pretty stupid about session state. So is PHP's default session handling, for that matter. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message