some questions about disk partitioning and filesystems and booting
Steve O'Hara-Smith
steve at sohara.org
Fri Feb 14 18:29:36 UTC 2020
On Fri, 14 Feb 2020 07:54:06 -0500
Robert Huff <roberthuff at rcn.com> wrote:
> _If_ that's true, then it's a bug and needs to be fixed. The
> folks posting here may not need it ... but I find it hard to imagine
> various organizations that use FreeBSD (or would like to) on hardcore
> server hardware wouldn't find that a substantial liability.
> While this may be more suited to hackers@: can anyone here
> confirm there is an encoded limit on swap space?
According to this there is (or was at the time) a hard coded limit
of 32GB per swap device - just checked it's still there.
You can of course have several swap devices - which is probably a
very good idea if you actually need more than 32GB of swap.
https://lists.freebsd.org/pipermail/freebsd-stable/2011-August/063529.html
Relevant text:
Anyway, there is one thing in /usr/src/sys/vm/swap_pager.c (so if you get
this warning (reducing size to maximum of... per swap unit)), this might be
the reason:
/*
* If we go beyond this, we get overflows in the radix
* tree bitmap code.
*/
mblocks = 0x40000000 / BLIST_META_RADIX;
if (nblks > mblocks) {
printf("WARNING: reducing size to maximum of %lu blocks per
swap unit\n", mblocks);
nblks = mblocks;
}
--
Steve O'Hara-Smith <steve at sohara.org>
More information about the freebsd-questions
mailing list