Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jun 2000 11:51:20 +0200
From:      Willem Brown <willem@brwn.org>
To:        Dan Langille <dan@langille.org>
Cc:        Andy Farkas <andyf@speednet.com.au>, freebsd-questions@FreeBSD.ORG
Subject:   Re: swap_pager_getswapspace: failed
Message-ID:  <20000622115120.B36643@snoopy.brwn.org>
In-Reply-To: <395266E8.17731.57ACE323@localhost>; from dan@langille.org on Thu, Jun 22, 2000 at 07:20:08PM %2B1200
References:  <39513707.13889.5309CC95@localhost> <Pine.BSF.4.10.10006221456310.535-100000@backup.af.speednet.com.au> <395266E8.17731.57ACE323@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Just adding to this. If you look in the /etc/default/rc.conf you'll
find swapfile="NO". With this in mind.

dd if=/dev/zero of=/opt/swapfile bs=15 count=10

Add the following to the /etc/rc.conf file.

swapfile="/opt/swapfile"

It should now be configure everytime you boot the system. Assuming
that the vn(4) driver is configured in your kernel.

Regards
Willem Brown

On Thu, Jun 22, 2000 at 07:20:08PM +1200, Dan Langille wrote:
> On 22 Jun 2000, at 14:59, Andy Farkas wrote:
> 
> > On Wed, 21 Jun 2000, Dan Langille wrote:
> > 
> > > I'm getting quite a few of these now and I have no idea why.  
> > > 
> > > Jun 21 19:42:51 buff /kernel: swap_pager_getswapspace: failed
> > > 
> > > clues please.
> > 
> > No swap space left.
> > 
> > > Oh, and I'm getting a few of these every day:
> > > 
> > > buff /kernel: pid 35990 (apache), uid 99: exited on signal 11
> > 
> > It died because there was no swap space.
> > 
> > > $ swapinfo
> > > Device          1K-blocks     Used    Avail Capacity  Type
> > > /dev/ad0s1b         70776    55676    15100    79%    Interleaved
> > 
> > 79% is pretty close to full.  With only 15Mb of swap left, you'll max out
> > really quickly.
> > 
> > Add another swap partition.
> 
> I've just added 150MB of swap file.  By following the instructions at 
> http://freebsddiary.org/swap.html (it's good to know stuff I wrote 19 
> months ago actually works).
> 
> I'll monitor the results and let folks know if there are any outstanding 
> problems.  cheers.  Thanks.
> --
> Dan Langille  [I'm looking for more work]
> The FreeBSD Diary - http://www.freebsddiary.org/
> FreshPorts - http://freshports.org/
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 

-- 
 /* =============================================================== */
 /*      Linux, FreeBSD, NetBSD, OpenBSD. The choice is yours.      */
 /* =============================================================== */

Virtue is its own punishment.


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?20000622115120.B36643>