Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jan 2019 11:47:57 -0500
From:      "Myster.Hide" <acupuncture@cgocable.ca>
To:        freebsd-questions@freebsd.org
Subject:   Re: The mysterious kern.maxswzone
Message-ID:  <2f939fa4-706d-9917-be3a-3d179498b6d4@cgocable.ca>
In-Reply-To: <20190120094948.GA7774@admin.sibptus.ru>
References:  <20190116022046.GA45024@admin.sibptus.ru> <20190120094948.GA7774@admin.sibptus.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

Le 20/01/2019 à 04:49, Victor Sudakov a écrit :
> Victor Sudakov wrote:
>> I have a small 11.2-RELEASE-p8 i386 system with 512M swap and 256M RAM:
>>
>> # swapinfo
>> Device          1K-blocks     Used    Avail Capacity
>> /dev/mirror/gm0s1b    524288    29656   494632     6%
>>
>> I guess it's not an extraordinary amount of swap for this amount of RAM.
>>
>> However, on boot I see the warning:
>>
>> warning: total configured swap (131072 pages) exceeds maximum recommended amount (113792 pages).
>> warning: increase kern.maxswzone or reduce amount of swap.
> Anyone?
>
>
Probably easier to increase kern.maxswzone using sysctl than modifying
the size of your swap partition. I had the same problem but since I had
a swap file plus a swap partition, I adjusted the size of my swap file
(I didn't want to modify the default kern.maxswzone) and that was it.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2f939fa4-706d-9917-be3a-3d179498b6d4>