From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 19:42:37 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 CEFED106566C; Fri, 11 Sep 2009 19:42:37 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from smtp-gw30.mailanyone.net (smtp-gw30.mailanyone.net [208.70.128.56]) by mx1.freebsd.org (Postfix) with ESMTP id A896B8FC08; Fri, 11 Sep 2009 19:42:36 +0000 (UTC) Received: from mailanyone.net by smtp-gw30.mailanyone.net with esmtpa (MailAnyone extSMTP jalmberg@identry.com) id 1MmC0s-00080F-ID; Fri, 11 Sep 2009 14:42:31 -0500 Message-ID: <4AAAA820.4020407@identry.com> Date: Fri, 11 Sep 2009 15:42:24 -0400 From: John Almberg User-Agent: Postbox 1.0.0 (Macintosh/2009090801) MIME-Version: 1.0 To: Linda Messerschmidt References: <4AA9BCF0.6040003@identry.com> <4AAA577A.8070103@identry.com> <4AAA8D60.4000300@identry.com> <237c27100909111105m4ab6fa37v1fa9019d2cd94d2@mail.gmail.com> In-Reply-To: <237c27100909111105m4ab6fa37v1fa9019d2cd94d2@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Ivan Voras , 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 19:42:37 -0000 Linda Messerschmidt wrote: > On Fri, Sep 11, 2009 at 1:48 PM, John Almberg wrote: >> As a sanity check... I've been studying these processes all morning. When I >> use 'top', the column RES shows the amount of RAM used for the process, >> correct? This is the value I'd like to get down. > > How many Apache processes are involved, total? Because I'm really not > sure how much success you're going to have with this. You're at 22mb > already (by comparison mine are 44mb *without* mod_php). How much > improvement are you looking for? A couple of megs? Yup... that's about what I got for my troubles. After turning off all the unneeded modules, they are now running about 17mb. Not a huge improvement... I definitely need more ram and I have it on order. While I'm waiting for it, I figured I'd see what processes I could slim down. My basic problem is at peak usage times (usually in the afternoon), the server starts using swap space, and then response times really bog down. This is on a 'spare' server that is temporarily in service while one of our 'big' servers is out for repair. This 'spare' server only has 1G ram and was never really meant for web server service. It's trying it's best. I'm just trying to lighten the load for it. -- John