Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Mar 2004 11:49:24 +0100
From:      Ruben de Groot <mail25@bzerk.org>
To:        remko@evilcoder.org
Cc:        questions@freebsd.org
Subject:   Re: FreeBSD + RACOON error
Message-ID:  <20040325104924.GA2983@ei.bzerk.org>
In-Reply-To: <20040325110809.84g4c0kgkkkk40gg@mail-evilcoder.webservers.intranet>
References:  <0C77761F18F15D479796EF5A28C1A77E4782F0@mail.lvrtc.lv> <20040325110809.84g4c0kgkkkk40gg@mail-evilcoder.webservers.intranet>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 25, 2004 at 11:08:09AM +0100, remko@evilcoder.org typed:
> Hi Olegs,
> > the error on one of the firewalls occured.:
> > swap_pager: out of swap space
> > swap_pager_getswapspace: failed
> > / kernel: pid 148 (racoon), vid 0 , was killed: out of swap space
> 
> Try increasing your swapspace, since it's obviously a bit too little.
> This cannot be changed on the fly i think, perhaps with growfs... if you have
> spare space left on your disk... (check the manual page for it)
> 
> Or increase your memory... ;)

If you have to increase your swapspace *NOW* and you don't have any spare
space left on your disk you might try something like this:

# swapinfo
Device          1K-blocks     Used    Avail Capacity
/dev/ad0s1b        524288      272   524016     0%
# dd if=/dev/zero of=/tmp/swap bs=64m count=1
1+0 records in
1+0 records out
67108864 bytes transferred in 10.536310 secs (6369295 bytes/sec)
# mdconfig -a -t vnode -f /tmp/swap
md0
# swapon /dev/md0
# swapinfo
Device          1K-blocks     Used    Avail Capacity
/dev/ad0s1b        524288      272   524016     0%
/dev/md0            65536        0    65536     0%
Total              589824      272   589552     0%

(on 4.x, use vnconfig(8) instead of mdconfig)

Ruben



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