Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Sep 2009 18:15:14 -0400
From:      Linda Messerschmidt <linda.messerschmidt@gmail.com>
To:        John Almberg <jalmberg@identry.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: reducing size of apache instances
Message-ID:  <237c27100909111515s70310092ua980038b3f16983e@mail.gmail.com>
In-Reply-To: <4AAAB124.8050908@identry.com>
References:  <4AA9BCF0.6040003@identry.com> <h8dek8$tsa$1@ger.gmane.org> <4AAA577A.8070103@identry.com> <h8dq3n$4pi$1@ger.gmane.org> <4AAA8D60.4000300@identry.com> <237c27100909111105m4ab6fa37v1fa9019d2cd94d2@mail.gmail.com> <4AAAA820.4020407@identry.com> <6201873e0909111303k472b20c2t43d9a635fa0151ee@mail.gmail.com> <4AAAB124.8050908@identry.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 11, 2009 at 4:20 PM, John Almberg <jalmberg@identry.com> 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.)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?237c27100909111515s70310092ua980038b3f16983e>