Re: BUG #17757: Not honoring huge_pages setting during initdb causes DB crash in Kubernetes

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: BUG #17757: Not honoring huge_pages setting during initdb causes DB crash in Kubernetes
Дата
Msg-id CAKFQuwZD+iVWJ4-hko+CzOx3JMK8E87cwYbqPcGiOr9stau+qw@mail.gmail.com
обсуждение исходный текст
Ответ на RE: BUG #17757: Not honoring huge_pages setting during initdb causes DB crash in Kubernetes  ("Sisson, David" <David.Sisson@dell.com>)
Список pgsql-bugs
On Mon, Jan 23, 2023 at 12:51 PM Sisson, David <David.Sisson@dell.com> wrote:
The default is "huge_pages = try" which is commented out in the "postgresql.conf.sample" file.
When a consumer like myself turns it off in the standard "postgresql.conf" file, it should not be turned on when initdb runs.
There is no way to turn it off without altering the sample config file.


Right, the present way to control what is seen by initdb is postgresql.conf.sample since that is the template that initdb uses to then produce an actual postgresql.conf for the newly created instance.  postgresql.conf is only ever a per-instance configuration file.  It doesn't make sense to "change postgresql.conf in hopes of influencing some future initdb run."

David J.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #17757: Not honoring huge_pages setting during initdb causes DB crash in Kubernetes
Следующее
От: "Sisson, David"
Дата:
Сообщение: RE: BUG #17757: Not honoring huge_pages setting during initdb causes DB crash in Kubernetes