From owner-freebsd-questions@FreeBSD.ORG Wed Aug 30 18:51:35 2006 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 D6BBE16A4E2 for ; Wed, 30 Aug 2006 18:51:35 +0000 (UTC) (envelope-from jwm-freebsd-questions@sentinelchicken.net) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 092AC43D6E for ; Wed, 30 Aug 2006 18:51:34 +0000 (GMT) (envelope-from jwm-freebsd-questions@sentinelchicken.net) Received: from mr08.lnh.mail.rcn.net ([207.172.157.28]) by smtp02.lnh.mail.rcn.net with ESMTP; 30 Aug 2006 14:51:34 -0400 X-IronPort-AV: i="4.08,189,1154923200"; d="scan'208"; a="289730855:sNHT31631510" Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr08.lnh.mail.rcn.net (MOS 3.7.5a-GA) with ESMTP id GVB82530; Wed, 30 Aug 2006 14:51:16 -0400 (EDT) Received: from 207-172-209-180.c3-0.bkl-ubr2.sbo-bkl.ma.cable.rcn.com (HELO skepsi.net) ([207.172.209.180]) by smtp01.lnh.mail.rcn.net with SMTP; 30 Aug 2006 14:51:12 -0400 X-IronPort-AV: i="4.08,189,1154923200"; d="scan'208"; a="267614476:sNHT26942220" Received: (qmail 68920 invoked from network); 30 Aug 2006 14:52:22 -0000 Received: from unknown (HELO crichton.skepsi.net) (10.0.0.101) by aeryn.skepsi.net with SMTP; 30 Aug 2006 14:52:22 -0000 Received: (nullmailer pid 68917 invoked by uid 1000); Wed, 30 Aug 2006 14:52:22 -0000 Date: Wed, 30 Aug 2006 14:52:22 +0000 From: Jason Morgan To: freebsd-questions@freebsd.org Message-ID: <20060830145222.GB65929@sentinelchicken.net> References: <94ff3700608301058r1b0f2308u7f7b9e86f55b610f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <94ff3700608301058r1b0f2308u7f7b9e86f55b610f@mail.gmail.com> User-Agent: Mutt/1.5.12-2006-07-14 X-Junkmail-Status: score=10/50, host=mr08.lnh.mail.rcn.net X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A090204.44F5DCED.0062,ss=1,fgs=0, ip=207.172.4.11, so=2006-05-09 23:27:51, dmn=5.2.4/2006-05-04 Subject: Re: Install then reboot 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: Wed, 30 Aug 2006 18:51:35 -0000 On Wed, Aug 30, 2006 at 07:58:58PM +0200, Jordi Carrillo wrote: > When I compile a new program from ports, freebsd takes quite a lot of RAM. > Is that something right or it's a flaw? It does happen to you? The main > problem is that not all memory used in compilation is freed, so it can be a > problem (meaning rebooting) after compiling a very big software such as > openoffice or gnome. How much memory FreeBSD uses when installing a port usually depends on the port. However, how are you determining that the memory is not freed up after the port is done installing? Are you running into situation where a huge percentage of your ram is being used during the build process, which then forces the system to swap *after* the install is complete? If you are determining the amount of free ram by simply looking at top(1), and the system is not swapping, then I don't think you have an issue. FreeBSD will free up the memory when it needs it. Cheer, Jason