From owner-freebsd-questions@FreeBSD.ORG Tue Jun 14 19:29:09 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 ECE9F16A41C for ; Tue, 14 Jun 2005 19:29:09 +0000 (GMT) (envelope-from david+dated+1119209345.99f472@skytracker.ca) Received: from 3s1.com (3s1.com [209.161.205.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9334E43D1D for ; Tue, 14 Jun 2005 19:29:09 +0000 (GMT) (envelope-from david+dated+1119209345.99f472@skytracker.ca) Received: from 3s1.com (localhost [127.0.0.1]) by 3s1.com (8.12.8p1/8.12.8) with ESMTP id j5EJT539073911 for ; Tue, 14 Jun 2005 15:29:05 -0400 (EDT) (envelope-from david+dated+1119209345.99f472@skytracker.ca) Received: (from david@localhost) by 3s1.com (8.12.8p1/8.12.8/Submit) id j5EJT515073910 for questions@freebsd.org; Tue, 14 Jun 2005 15:29:05 -0400 (EDT) (envelope-from david+dated+1119209345.99f472@skytracker.ca) X-Authentication-Warning: 3s1.com: david set sender to david+dated+1119209345.99f472@skytracker.ca using -f Received: by 3s1.com (tmda-sendmail, from uid 1000); Tue, 14 Jun 2005 15:29:05 -0400 (EDT) Date: Tue, 14 Jun 2005 15:29:05 -0400 To: questions@freebsd.org Message-ID: <20050614192905.GB65187@skytracker.ca> References: <20050611142103.GA77709@skytracker.ca> <20050614160407.GA4819@voi.aagh.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050614160407.GA4819@voi.aagh.net> User-Agent: Mutt/1.4.2.1i From: David Banning X-Delivery-Agent: TMDA/1.0.2 (Bold Forbes) Cc: Subject: Re: httpd and memory usage 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: Tue, 14 Jun 2005 19:29:10 -0000 > Moving things like mod_php and mod_perl stuff to FastCGI avoids each > httpd having a copy of the interpreter and its various data structures > each, and segments the memory of the interpreters outside httpd so it's > easier to see what's using the memory; you'll have fewer copies running > too, since the static:dynamic request ratio isn't normally 1:1. > > Commenting out unused modules in httpd.conf will save some memory. > > You might also consider switching to something like lighttpd, which uses > a single process that's generally about 1/3 the size of an equivilent > httpd process. I like these ideas. Thanks. What is the downside, if any, to using lighttpd? Is it difficult to configure?