From owner-freebsd-questions@FreeBSD.ORG Thu Aug 4 05:27:27 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D9AD16A41F for ; Thu, 4 Aug 2005 05:27:27 +0000 (GMT) (envelope-from david+dated+1123565236.75f252@skytracker.ca) Received: from 3s1.com (3s1.com [209.161.205.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2782C43D72 for ; Thu, 4 Aug 2005 05:27:18 +0000 (GMT) (envelope-from david+dated+1123565236.75f252@skytracker.ca) Received: from 3s1.com (localhost [127.0.0.1]) by 3s1.com (8.12.8p1/8.12.8) with ESMTP id j745RGQL068421 for ; Thu, 4 Aug 2005 01:27:16 -0400 (EDT) (envelope-from david+dated+1123565236.75f252@skytracker.ca) Received: (from david@localhost) by 3s1.com (8.12.8p1/8.12.8/Submit) id j745RGqQ068420 for questions@freebsd.org; Thu, 4 Aug 2005 01:27:16 -0400 (EDT) (envelope-from david+dated+1123565236.75f252@skytracker.ca) X-Authentication-Warning: 3s1.com: david set sender to david+dated+1123565236.75f252@skytracker.ca using -f Received: by 3s1.com (tmda-sendmail, from uid 1000); Thu, 04 Aug 2005 01:27:16 -0400 (EDT) Date: Thu, 4 Aug 2005 01:27:16 -0400 To: questions@freebsd.org Message-ID: <20050804052716.GA61437@skytracker.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i From: David Banning X-Delivery-Agent: TMDA/1.0.2 (Bold Forbes) Cc: Subject: question on hosting and memory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Aug 2005 05:27:27 -0000 I am running apache 1.3 with php and I find when that for each person who visits the site, an additional 29 meg is consumed of my measly 512M. Searching around, it seems like this is relatively normal. So here is my question. How do big-time servers handle these type of memory requirements? Presumably there are servers out there getting thousands of visitors at once. Do they have 29 Meg * 1000 for every thousand visitors? At what memory ceiling do they setup another server machine to handle the load? Wouldn't it require a ton of servers to handle a load of a thousand visitors? I am nowhere in this league, but the question comes to mind because it seems crazy that 20 visitors to my site can clog things up, simply because I choose to run apache and php. I have been looking at lighttpd decrease memory usage, but I require url rewriting and I find the documentation for lighttpd is lacking is this area. Any comments or suggestions are welcome - --