From: Julien Rouhaud <rjuju123@gmail.com>
To: M Tarkeshwar Rao <m.tarkeshwar.rao@ericsson.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: Multiple core dump errors are thrown by initdb when Huge pages are enabled in OS and huge_pages is set to “off” in postgresql.conf.sample in Kubernetes.
Date: Tue, 7 Mar 2023 15:00:50 +0800
Message-ID: <20230307070050.dike2ll277yf56h2@jrouhaud> (raw)
In-Reply-To: <AS8PR07MB7093422976C7B0088DB9912AAEB79@AS8PR07MB7093.eurprd07.prod.outlook.com>
References: <AS8PR07MB7093422976C7B0088DB9912AAEB79@AS8PR07MB7093.eurprd07.prod.outlook.com>
Hi,
On Tue, Mar 07, 2023 at 05:44:53AM +0000, M Tarkeshwar Rao wrote:
>
> We are facing following issue with postgres db with Kubernetes. Is huge pages
> not supported in Kubernetes environment?
> Multiple core dump errors are thrown by initdb when Huge pages are enabled in
> OS and huge_pages is set to “off” in postgresql.conf.sample in Kubernetes.
> In this case, the initdb utility exists with code, success message is also
> printed in its logs and DB server is started successfully.
>
> Queries:
> How can this issue be fixed?
> If no, can these errors be ignored or is there any repercussion of these
> errors, since DB is initialized & started successfully.
>
> NOTE: If we do not set huge_pages to “off”, and use its default value, then
> db is also not starting.
FTR this has already been reported a few weeks ago, see
https://www.postgresql.org/message-id/flat/17757-dbdfc1f1c954a6db%40postgresql.org.
You can also look at https://commitfest.postgresql.org/42/4143/ (and maybe
test) as a possible fix that could be backpatched to released versions.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: rjuju123@gmail.com, m.tarkeshwar.rao@ericsson.com
Subject: Re: Multiple core dump errors are thrown by initdb when Huge pages are enabled in OS and huge_pages is set to “off” in postgresql.conf.sample in Kubernetes.
In-Reply-To: <20230307070050.dike2ll277yf56h2@jrouhaud>
References: <AS8PR07MB7093422976C7B0088DB9912AAEB79@AS8PR07MB7093.eurprd07.prod.outlook.com> <20230307070050.dike2ll277yf56h2@jrouhaud>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox