From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 04:02:23 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 48FB11065672 for ; Fri, 11 Sep 2009 04:02:23 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout015.mac.com (asmtpout015.mac.com [17.148.16.90]) by mx1.freebsd.org (Postfix) with ESMTP id 385FA8FC18 for ; Fri, 11 Sep 2009 04:02:22 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [17.151.91.194] by asmtp015.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KPS00736GJW9E10@asmtp015.mac.com> for freebsd-questions@freebsd.org; Thu, 10 Sep 2009 21:02:22 -0700 (PDT) Message-id: <8B2B554B-AF9A-4389-A76E-151DF8943807@mac.com> From: Chuck Swiger To: John Almberg In-reply-to: <4AA9BCF0.6040003@identry.com> Date: Thu, 10 Sep 2009 21:02:18 -0700 References: <4AA9BCF0.6040003@identry.com> X-Mailer: Apple Mail (2.936) Cc: freebsd-questions@freebsd.org Subject: Re: reducing size of apache instances 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: Fri, 11 Sep 2009 04:02:23 -0000 On Sep 10, 2009, at 7:58 PM, John Almberg wrote: > My Apache 2.2 instances are running about 18 Meg each. I've been > thinking about doing something to trim these down, and I think > tomorrow is the day to take action. They are getting out of hand. > [ ... ] > But what about the set that is left after I remove the ones the > system needs, and the ones I need? How do I know which ones I can > safely turn off? All I can think of is a trial and error process > (i.e., turn them off one by one and see if anything breaks.) > > Is there a better way? Yes. Figure out which modules you actually need, and only enable those. What modules you are using should be reasonably clear from the access and error logs-- you should be able to see which URLs you are serving, and hence which modules were involved. Regards, -- -Chuck