From owner-freebsd-questions@FreeBSD.ORG Tue Jul 5 18:15:58 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 AB1B516A41F for ; Tue, 5 Jul 2005 18:15:58 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D59843D49 for ; Tue, 5 Jul 2005 18:15:58 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id B57285F75; Tue, 5 Jul 2005 14:15:57 -0400 (EDT) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06259-05; Tue, 5 Jul 2005 14:15:48 -0400 (EDT) Received: from [192.168.1.3] (pool-68-161-54-113.ny325.east.verizon.net [68.161.54.113]) by pi.codefab.com (Postfix) with ESMTP id 056FB5EE7; Tue, 5 Jul 2005 14:15:47 -0400 (EDT) Message-ID: <42CACE54.8090103@mac.com> Date: Tue, 05 Jul 2005 14:15:48 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 X-Accept-Language: en-us, en MIME-Version: 1.0 To: scuba@centroin.com.br References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at codefab.com Cc: FreeBSD questions Subject: Re: Where is the memory 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: Tue, 05 Jul 2005 18:15:58 -0000 scuba@centroin.com.br wrote: [ ... ] > My problem is that I think something in the system is allocating > memory and not releasing it. The kernel will attempt to use all but a little RAM reserved as free space to cache stuff from disk, unless and until that memory is needed for something else. It is possible that something you run, or FreeBSD itself, has a memory leak, but if so, you'd see process sizes and swap usage grow until they hit a limit or exhaust the available resources. You're not using any swap, so it's not evident that there is a problem. > The same applications used to run on a Freebsd 4.7 BOX with 1GB > RAM, and only in some few cases had to swap out. > Now, I´m moving to another machine with 2GB RAM, and I´m seeing > where is the extra memory. I expected to have more free memory now. Free memory is wasted memory. -- -Chuck