From owner-freebsd-questions Thu Jul 13 7:38:13 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id BBF6337BE2C for ; Thu, 13 Jul 2000 07:38:08 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id JAA24704; Thu, 13 Jul 2000 09:38:05 -0500 (CDT) (envelope-from dan) Date: Thu, 13 Jul 2000 09:38:05 -0500 From: Dan Nelson To: Glenn McCalley Cc: freebsd-questions@FreeBSD.ORG Subject: Re: what is soaking up memory? Message-ID: <20000713093805.A20695@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.3.5i In-Reply-To: ; from "Glenn McCalley" on Thu Jul 13 08:05:16 GMT 2000 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Jul 13), Glenn McCalley said: > 2.2.8 system, 192MB, runs fine -- but... after uptime of 12 hours or > so free memory (shown by top, not exact I know but should be close?) > has fallen to 5MB or so. Usage is shown as about 125MB Active with > about 25MB each Wired and Cache. We just added 64MB to bring it to > the 192MB and it was soaked up overnight. > > Stopping apache, raven and minivend (only things running to speak of) > only frees about 15MB, so what's got the other 180MB or so? ps > doesn't show anything odd running, and interestingly the % memory > used by task shown in ps only totals to about 32%. Free memory is wasted memory. The RAM that your programs don't actively allocate is used by FreeBSD as disk cache. Inact, Cache, and Buf are all cached data at different aging levels. You actually want as little Free memory as possible. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message