From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 20:21:03 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 770CE106566B for ; Fri, 11 Sep 2009 20:21:03 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from smtp-gw29.mailanyone.net (smtp-gw29.mailanyone.net [208.70.128.55]) by mx1.freebsd.org (Postfix) with ESMTP id 525AD8FC08 for ; Fri, 11 Sep 2009 20:21:03 +0000 (UTC) Received: from mailanyone.net by smtp-gw29.mailanyone.net with esmtpa (MailAnyone extSMTP jalmberg@identry.com) id 1MmCc5-0000OK-Gu for freebsd-questions@freebsd.org; Fri, 11 Sep 2009 15:20:58 -0500 Message-ID: <4AAAB124.8050908@identry.com> Date: Fri, 11 Sep 2009 16:20:52 -0400 From: John Almberg User-Agent: Postbox 1.0.0 (Macintosh/2009090801) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4AA9BCF0.6040003@identry.com> <4AAA577A.8070103@identry.com> <4AAA8D60.4000300@identry.com> <237c27100909111105m4ab6fa37v1fa9019d2cd94d2@mail.gmail.com> <4AAAA820.4020407@identry.com> <6201873e0909111303k472b20c2t43d9a635fa0151ee@mail.gmail.com> In-Reply-To: <6201873e0909111303k472b20c2t43d9a635fa0151ee@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 20:21:03 -0000 > You've misunderstood what you've done. You have not saved a couple of > MB, you've saved one. Of the 18 MB, nearly all of it is shared memory > which is only loaded once. Ah... Okay. That actually makes sense. Thanks for the clarification. > 1GB web server is more than enough for basic www server, even more. I would have thought, but some times it really gets slow and I'm trying to figure out why. When bogged down, the load averages are low. The main thing that looks out of whack is swap space, which seems to never go below 7%, but sometimes gets up into the 20%-30% range. When it gets that high, the server slows to a crawl. last pid: 12732; load averages: 0.44, 0.31, 0.27 up 34+03:57:58 16:16:27 187 processes: 2 running, 185 sleeping CPU: 4.5% user, 0.0% nice, 1.1% system, 0.0% interrupt, 94.4% idle Mem: 425M Active, 106M Inact, 268M Wired, 3160K Cache, 110M Buf, 176M Free Swap: 2008M Total, 150M Used, 1858M Free, 7% Inuse