Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Aug 2002 18:21:50 -0500
From:      "Charles Pelletier" <fozekizer@attbi.com>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   [Re: make buildworld problems] Swapinfo
Message-ID:  <004001c243e9$5e1c9e50$32040101@hume>
References:  <010e01c243d6$ada7c1b0$32040101@hume> <20020814141052.X12275-100000@q.closedsrc.org> <20020814222820.GE2827@happy-idiot-talk.infracaninophi>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <m.seaman@infracaninophile.co.uk>
To: "Linh Pham" <lplist@closedsrc.org>
Cc: "Charles Pelletier" <fozekizer@attbi.com>;
<freebsd-questions@FreeBSD.ORG>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004001c243e9$5e1c9e50$32040101>