Date: Fri, 11 Sep 2009 20:14:46 -0400 From: John Almberg <jalmberg@identry.com> To: freebsd-questions@freebsd.org Subject: Re: reducing size of apache instances Message-ID: <4AAAE7F6.2060806@identry.com> In-Reply-To: <237c27100909111515s70310092ua980038b3f16983e@mail.gmail.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> <237c27100909111515s70310092ua980038b3f16983e@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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.) Huh... okay. That's interesting. Well the biggest SIZE process is mysql, followed by three mongrel instances (for a ruby on rails app), and then a bunch of httpd processes. Mysql is optimized for a small server, there isn't much I can do about the size of the Rails app, so the apache instances seemed like the logical place to start. I'm starting to wonder about the Swap info from top... it never changes. It has said the same thing all day, since I've been watching it. Does that make sense? Swap: 2008M Total, 150M Used, 1858M Free, 7% Inuse -- John
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AAAE7F6.2060806>