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.

From: M Tarkeshwar Rao <m(dot)tarkeshwar(dot)rao(at)ericsson(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: 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: 2023-03-07 05:44:53
Message-ID: AS8PR07MB7093422976C7B0088DB9912AAEB79@AS8PR07MB7093.eurprd07.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

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.

Regards
Tarkeshwar

xxxx

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Julien Rouhaud 2023-03-07 07:00:50 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.
Previous Message David Rowley 2023-03-07 03:46:22 Re: Idea: PostgreSQL equivalent to Oracle's KEEP clause