Managing Swap Space

Michael Sierchio kudzu at
Thu Oct 19 14:34:09 UTC 2017

On Thu, Oct 19, 2017 at 7:13 AM, The Doctor <doctor at>

> REcently I have been getting swap space full messages.
> How can Swap space be managaed on FreeBSD? ...

You can add it at any time. It's better if you have a raw partition to swap
on, of course.

presumably, your /etc/fstab has an entry akin to this

/dev/ada0p3             none                    swap    sw              0 0

You can add another if you have another partition ready. You can swap to a
file, too. Not recommended, but helpful in an emergency. You might try to
figure out what is consuming your existing swap.
> man 8 swapon

"Well," Brahma said, "even after ten thousand explanations, a fool is no
wiser, but an intelligent person requires only two thousand five hundred."

- The Mahābhārata

More information about the freebsd-questions mailing list