FreeBSD + RACOON error
Ruben de Groot
mail25 at bzerk.org
Thu Mar 25 02:47:15 PST 2004
On Thu, Mar 25, 2004 at 11:08:09AM +0100, remko at 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
More information about the freebsd-questions
mailing list