Re: PostgreSQL14.2 can not start because of huge_page_size is equal to 1048576

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PostgreSQL14.2 can not start because of huge_page_size is equal to 1048576
Дата
Msg-id 3816297.1652113634@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re:Re: PostgreSQL14.2 can not start because of huge_page_size is equal to 1048576  ("yanliang lei" <msdnchina@163.com>)
Ответы Re:Re: PostgreSQL14.2 can not start because of huge_page_size is equal to 1048576  ("yanliang lei" <msdnchina@163.com>)
Список pgsql-admin
"yanliang lei" <msdnchina@163.com> writes:
> The DETAIL message says " huge_page_size must be 0", but you did not set huge_page_size to 0.
> ---huge_page_size is the pg14 new parameter£¬The default value of this parameter is zero (0). When set to 0, the
defaulthuge page size on the system will be used.  
> in the pg 14 documents---¡®Non-default settings are currently supported only on Linux.¡¯ so £¬ I want to try to find
amethod to let PostgreSQL 14 to use non-default hugepagesize£¬ 

The code that's throwing the error says

    /* Recent enough Linux only, for now.  See GetHugePageSize(). */

I don't know what "recent enough" is in this context, but evidently
RHEL7 isn't it (no surprise considering that's a trailing-edge distro
at this point).

I don't find it surprising that the authors of this feature didn't
try to document exactly which Linux versions it can be used on.
Keeping such documentation accurate would be a nightmare.

            regards, tom lane



В списке pgsql-admin по дате отправления:

Предыдущее
От: "yanliang lei"
Дата:
Сообщение: Re:Re: PostgreSQL14.2 can not start because of huge_page_size is equal to 1048576
Следующее
От: "yanliang lei"
Дата:
Сообщение: Re:Re: PostgreSQL14.2 can not start because of huge_page_size is equal to 1048576