Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jun 2018 20:26:03 +0800
From:      Erich Dollansky <freebsd.ed.lists@sumeritec.com>
To:        "@lbutlr" <kremels@kreme.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: swap_pager_getswapspace
Message-ID:  <20180629202603.0492ab82.freebsd.ed.lists@sumeritec.com>
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
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@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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180629202603.0492ab82.freebsd.ed.lists>