Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jun 2018 07:08:37 -0600
From:      The Doctor <doctor@doctor.nl2k.ab.ca>
To:        "@lbutlr" <kremels@kreme.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: swap_pager_getswapspace
Message-ID:  <20180629130837.GE77205@doctor.nl2k.ab.ca>
In-Reply-To: <FD06A58F-27A5-4B25-8D67-B85620268A8C@kreme.com>
References:  <FD06A58F-27A5-4B25-8D67-B85620268A8C@kreme.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@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



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