Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Dec 2004 09:22:23 -0600
From:      "Kevin D. Kinsey, DaleCo, S.P." <kdk@daleco.biz>
To:        Simon Burke <simon.burke@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Swap partition not used?
Message-ID:  <41BB10AF.2070008@daleco.biz>
In-Reply-To: <2d7d2dd20412110536b23afd6@mail.gmail.com>
References:  <2d7d2dd20412110536b23afd6@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Simon Burke wrote:

>Hiya,
>
>After a while of using 5.3RELEASE, i have noticed a small problem, my
>swap partition isnt getting used. Well its not a small problem
>considering that i have only 256mb ram on this machine.
>
>boredom# swapctl -l
>Device:       1024-blocks     Used:
>/dev/ad0s1b      482112        56
>
>this i suppose shows that some of it is used but the amount used never
>increases. I'm currently using 100% memory (installing openoffice from
>ports, finally).
>
>It is in /etc/fstab as:
>
># Device                Mountpoint      FStype  Options         Dump    Pass#
>/dev/ad0s1b             none            swap    sw              0       0
>
>I've tried using swapon -a to add it and it doesnt seem to have worked.
>
>Its also does not show in df -ha ,though i cant recall if it is
>supposed to be there. Though i dont think it has to be mounted?
>  
>

No, swap doesn't have a mount point, per se.

Does swapinfo(8) give the same output as
`swapctl -l` ?

Kevin Kinsey



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41BB10AF.2070008>