From owner-freebsd-questions@FreeBSD.ORG Tue Jul 5 18:00:05 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A6D416A41C for ; Tue, 5 Jul 2005 18:00:05 +0000 (GMT) (envelope-from mpsouza@centroin.com.br) Received: from gorgo.centroin.com.br (gorgo.centroin.com.br [200.225.63.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A1B743D5D for ; Tue, 5 Jul 2005 18:00:02 +0000 (GMT) (envelope-from mpsouza@centroin.com.br) Received: from hypselo.centroin.com.br (hypselo.centroin.com.br [200.225.63.1]) by gorgo.centroin.com.br (8.12.10/8.12.9) with ESMTP id j65HxxDt010447; Tue, 5 Jul 2005 14:59:59 -0300 (EST) Date: Tue, 5 Jul 2005 14:59:55 -0300 (EST) From: Sender: To: Hornet In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: FreeBSD questions Subject: Re: Where is the memory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: scuba@centroin.com.br List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2005 18:00:05 -0000 Hi, On Mon, 4 Jul 2005, Hornet wrote: |In top, if you type in "u" it will prompt you for an account which you |can monitor the processes and mem. Of course, this will not work for |apps that are opened under different credentials. =09And does not change the amount of total free memory. =09My problem is that I think something in the system is allocating memory and not releasing it. =09The same applications used to run on a Freebsd 4.7 BOX with 1GB RAM, and only in some few cases had to swap out. =09Now, I=B4m moving to another machine with 2GB RAM, and I=B4m seeing where is the extra memory. I expected to have more free memory now. - Marcelo Souza |On 7/4/05, scuba@centroin.com.br wrote: |> Hi, |> |> How can I track where/who is using the system memory? |> |> I have a 2GB (RAM) system running Freebsd 5.4, basically as a ma= il |> gateway. |> |> After a few hours up, TOP shows me about 300MB of free memory. N= o |> swap yet. |> |> But the sum of RSS column of "ps axum", gives me about 600MB use= d. |> I know that kernel allocated memory doesn=B4t show in ps, but I |> think it=B4s not using 1.4GB. |> |> The head of top is like this: |> |> last pid: 7323; load averages: 1.49, 1.11, 1.30 up 4+05:57:30 19:= 01:05 |> 184 processes: 1 running, 183 sleeping |> CPU states: 16.7% user, 0.0% nice, 3.5% system, 0.6% interrupt, 79.3%= idle |> Mem: 333M Active, 1218M Inact, 157M Wired, 42M Cache, 112M Buf, 256M Fre= e |> Swap: 8192M Total, 8192M Free |> |> Also, why there is a difference between free memory reported by |> top and vmstat? |> |> Could it have some memory leak? Is there any report of it in |> freebsd 5.x? |> |> Thank you, |> |> - Marcelo |> |> |> _______________________________________________ |> freebsd-questions@freebsd.org mailing list |> http://lists.freebsd.org/mailman/listinfo/freebsd-questions |> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.= org" |> |_______________________________________________ |freebsd-questions@freebsd.org mailing list |http://lists.freebsd.org/mailman/listinfo/freebsd-questions |To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or= g" | - Marcelo