From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 22:15:16 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 62EE51065676 for ; Fri, 11 Sep 2009 22:15:16 +0000 (UTC) (envelope-from linda.messerschmidt@gmail.com) Received: from mail-qy0-f200.google.com (mail-qy0-f200.google.com [209.85.221.200]) by mx1.freebsd.org (Postfix) with ESMTP id 191668FC1D for ; Fri, 11 Sep 2009 22:15:15 +0000 (UTC) Received: by qyk38 with SMTP id 38so1277448qyk.27 for ; Fri, 11 Sep 2009 15:15:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=H428DK3QmluVW6NgvLTd7xXASgG4tTW11wGWEobpE1A=; b=NpoN8zvvHgKP3eErMVE2+7e0bMlymOSDrdwXElxvDYNAgoPMg7NS5Jh2qmx40bRVwN NSD+VSlpC2tkqQh06FJC9UcKzcrbEqRkSLabNT3S+5fSn/zpPAmMpBM1niWLmwS2JQi2 910LK3T25eEHkHQ35vJd/Q8JUkVjH6gyeT25M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=jX4keVCq5NgcQFR/66P8WkDpB9tILIi+jscBzrk3FbW5ElrYppaKZYo9gOeZAOD92R D3AUo2EelBUkRHrxdjU8nZY6mkpaKFPEbrQCxDMhqF5xqnLbT6079uqKgTbnbe3yLfZj Aql5GjYEzzub+iLDQMgyavhE67J2ZAPmP0DE4= MIME-Version: 1.0 Received: by 10.229.15.1 with SMTP id i1mr1455667qca.30.1252707315488; Fri, 11 Sep 2009 15:15:15 -0700 (PDT) In-Reply-To: <4AAAB124.8050908@identry.com> 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> <4AAAB124.8050908@identry.com> Date: Fri, 11 Sep 2009 18:15:14 -0400 Message-ID: <237c27100909111515s70310092ua980038b3f16983e@mail.gmail.com> From: Linda Messerschmidt To: John Almberg Content-Type: text/plain; charset=ISO-8859-1 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 22:15:16 -0000 On Fri, Sep 11, 2009 at 4:20 PM, John Almberg wrote: > 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. In this case you don't want to look at processes with big RES, you want to find processes with a big difference between RES and SIZE and/or the ones with flat-out largest SIZE. Try sorting top by SIZE and see what bubbles up. (Ignore rpc.statd if it's running.)