From owner-freebsd-questions Wed Aug 14 16:24:33 2002 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 3ACC937B400 for ; Wed, 14 Aug 2002 16:24:30 -0700 (PDT) Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5901443E6A for ; Wed, 14 Aug 2002 16:24:29 -0700 (PDT) (envelope-from fozekizer@attbi.com) Received: from hume ([12.239.154.32]) by sccrmhc01.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP id <20020814232428.VVWI11061.sccrmhc01.attbi.com@hume> for ; Wed, 14 Aug 2002 23:24:28 +0000 Message-ID: <004001c243e9$5e1c9e50$32040101@hume> From: "Charles Pelletier" Cc: References: <010e01c243d6$ada7c1b0$32040101@hume> <20020814141052.X12275-100000@q.closedsrc.org> <20020814222820.GE2827@happy-idiot-talk.infracaninophi> Subject: [Re: make buildworld problems] Swapinfo Date: Wed, 14 Aug 2002 18:21:50 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG okay swap info shows the following (after i created the 32 mb swap space).. device 1kblocks used avail capacity type /dev/ad4sib 50080 0 50800 0% interleaved /dev/rnv0c 32640 0 32640 0% interleaved Total 82720 0 82720 0 --charlie pelletier --litmus(mp3.com/litmus) ----- Original Message ----- From: "Matthew Seaman" To: "Linh Pham" Cc: "Charles Pelletier" ; Sent: Wednesday, August 14, 2002 5:28 PM Subject: Re: make buildworld problems > On Wed, Aug 14, 2002 at 02:14:43PM -0700, Linh Pham wrote: > > On 2002-08-14, Charles Pelletier scribbled: > > > > # well, just checked both. > > # the swap space is a little thin at the moment but the rest of the compile is > > # having no problems. the only C flag being used is : -O. is it necessary to > > # remove that? > > > > I normally compile with only -O which normally doesn't cause any > > problems with building world (anything higher can cause problems with > > some code or when using flaky hardware). > > > > Do you know how much swap space is available when the machine is idling? > > Are there any daemons or programs that you can stop to regain some > > memory usage (X11 can be quite a memory hog)? > > swapinfo(8) will show you what swap devices you have, how much swap > space is available on each and how much is in use. > > top -o size > > will list processes in order of size, so you can target the disk hogs > effectively, and it shows you how much swap is in use. > > If all else fails, and you need more swap space and you have some > spare on one of your filesystems, you can create a swap file on a > vnode --- remember that you can easily add more swap to a running > system, but to remove it again requires a reboot. e.g. these commands > will create a 32Mb swap file in /home/swapfile: > > dd if=/dev/zero of=/home/swapfile bs=1m count=32 > vnconfig -e vn0c /home/swapfile swap > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks > Savill Way > Tel: +44 1628 476614 Marlow > Fax: +44 0870 0522645 Bucks., SL7 1TH UK > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message