Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 2017 21:46:48 -0500
From:      Adam Vande More <amvandemore@gmail.com>
To:        David Mehler <dave.mehler@gmail.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: swap_pager on cloud server
Message-ID:  <CA%2BtpaK2HiRBpSFHDPjOHNHV7JMNzcj9KPLzuYhX_b3cZhSggXQ@mail.gmail.com>
In-Reply-To: <CAPORhP7prK9TTqBizrbhm4WYbCsO98%2Boyh4G40P%2B1eokbGVVoQ@mail.gmail.com>
References:  <CAPORhP7cXALuyo5krAK%2B%2B8XTAn6n4cYxKFN-crTNAwhfU1TLsA@mail.gmail.com> <CA%2BtpaK3VFGz6Gt11BS2wai5tj2_2H%2BP0hLW4rF2mq_V3r29LGg@mail.gmail.com> <CAPORhP7prK9TTqBizrbhm4WYbCsO98%2Boyh4G40P%2B1eokbGVVoQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 16, 2017 at 9:30 PM, David Mehler <dave.mehler@gmail.com> wrote:

> Hello,
>
> Here's my swapinfo, though it was obtained after a server reboot, it froze
> up.
>
> #swapinfo
> Device          1K-blocks     Used    Avail Capacity
> /dev/md98         1780352       36  1780316     0%
> /dev/md99         1036216       44  1036172     0%
> Total             2816568       80  2816488     0%
>

And what is the output of:
# mdconfig -lv

The short answer though is use a real swap device eg a separate "real" disk
or partition.  Even having no swap device is better than the above config
when under memory pressure.

-- 
Adam



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BtpaK2HiRBpSFHDPjOHNHV7JMNzcj9KPLzuYhX_b3cZhSggXQ>