swap_pager_getswapspace
Erich Dollansky
freebsd.ed.lists at sumeritec.com
Fri Jun 29 16:54:21 UTC 2018
Hi,
there was recently a long discussion regarding this. My solution is to
create a file-backed memory disk and use it for swap when the media is
not able or has to be reformatted. I still use the old-fashioned 2 *
RAM size to determine my swap space. It seems overkill but I never had
problems with this saving a lot of my time.
Erich
On Fri, 29 Jun 2018 04:13:54
-0600 "@lbutlr" <kremels at kreme.com> wrote:
> Getting a lot of swap_pager_getswapspace errors and erratic behavior
> from my FreeBSD 11.1 mail server.
>
> # pstat -sm
> Device 1M-blocks Used Avail Capacity
> /dev/ada0p3 3656 647 3008 18%
> /dev/md99 1024 444 579 43%
> Total 4680 1092 3588 23%
>
> Which seems like I have enough...
>
> => 40 468862048 ada0 GPT (224G)
> 40 1024 1 freebsd-boot (512K)
> 1064 461372408 2 freebsd-ufs (220G)
> 461373472 7488615 3 freebsd-swap (3.6G)
> 468862087 1 - free - (512B)
>
> Should I made the md99 file larger, or should I try to expand the
> freebsd-swap partition (the drive is about half full)
>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list