From owner-freebsd-questions@FreeBSD.ORG Tue Apr 28 22:15:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A58E10656AC for ; Tue, 28 Apr 2009 22:15:40 +0000 (UTC) (envelope-from chowse@charter.net) Received: from mta31.charter.net (mta31.charter.net [216.33.127.82]) by mx1.freebsd.org (Postfix) with ESMTP id 12C228FC17 for ; Tue, 28 Apr 2009 22:15:39 +0000 (UTC) (envelope-from chowse@charter.net) Received: from imp09 ([10.20.200.9]) by mta31.charter.net (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20090428221527.UMCA2647.mta31.charter.net@imp09>; Tue, 28 Apr 2009 18:15:27 -0400 Received: from larry.local ([24.176.106.117]) by imp09 with smtp.charter.net id lAFS1b00L2Y01io05AFS25; Tue, 28 Apr 2009 18:15:27 -0400 Message-Id: From: Charles Howse To: Tom Worster In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Tue, 28 Apr 2009 17:15:26 -0500 References: X-Mailer: Apple Mail (2.930.3) Cc: FreeBSD Questions Subject: Re: Running Apache with as few modules as possible 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, 28 Apr 2009 22:15:41 -0000 On Apr 28, 2009, at 2:29 PM, Tom Worster wrote: > On 4/28/09 3:14 PM, "Charles Howse" wrote: > >> Can anyone see anything that I've commented that I'll be sorry for? >> Can anyone suggest any more testing I should do? > > unfortunately i can't but i'd like to ask you to tell us, once > you're done > with removing modules, how much memory you saved relative to where you > started. > > i'm curious because i went through a similar exercise not long ago > and would > be interested to compare notes. OK, here we go: With Apache running on the development machine, modules commented as in my first post -- CPU: 0.8% user, 0.0% nice, 0.4% system, 0.8% interrupt, 98.1% idle Mem: 27M Active, 139M Inact, 64M Wired, 11M Cache, 34M Buf, 648K Free Swap: 512M Total, 60K Used, 512M Free Apache running on the same machine without any modules commented except mod_ssl -- CPU: 0.8% user, 0.0% nice, 0.8% system, 0.4% interrupt, 98.1% idle Mem: 27M Active, 134M Inact, 64M Wired, 13M Cache, 34M Buf, 3584K Free Swap: 512M Total, 60K Used, 512M Free I just ran 'top' after starting httpd to get these figures, maybe I should have done something different? 'bout the only thing that makes sense to me is I have more Free Memory when commenting all those modules. What is the list's opinion on this?