swap_pager_getswapspace

The Doctor doctor at doctor.nl2k.ab.ca
Fri Jun 29 13:10:16 UTC 2018


On Fri, Jun 29, 2018 at 04:13:54AM -0600, @lbutlr 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)
>

My rule of thumb is your swap should RAM x 2 .

Adjust accordingly.

Best to adjust /dev/md99

> 
> _______________________________________________
> 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"

-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising!
https://www.empire.kred/ROOTNK?t=94a1f39b  Look at Psalms 14 and 53 on Atheism
By the work one knows the workmen.  -Jean De La Fontaine


More information about the freebsd-questions mailing list