pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Sisson, David <David.Sisson@dell.com>
Cc: Christophe Pettus <xof@thebuild.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: Tomas Vondra <tomas.vondra@enterprisedb.com>
Cc: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Subject: Re: BUG #17757: Not honoring huge_pages setting during initdb causes DB crash in Kubernetes
Date: Mon, 23 Jan 2023 14:55:50 -0500
Message-ID: <1882151.1674503750@sss.pgh.pa.us> (raw)
In-Reply-To: <LV2PR19MB5765325D85ADB08967725D058EC89@LV2PR19MB5765.namprd19.prod.outlook.com>
References: <17757-dbdfc1f1c954a6db@postgresql.org>
	<4ce40288-5b88-f9fb-ea11-fc932c61472b@enterprisedb.com>
	<1113115.1674343827@sss.pgh.pa.us>
	<127328f2-4e01-e9ec-c9b1-76aef967343f@enterprisedb.com>
	<20230122020826.x6geac6qjiinr66a@awork3.anarazel.de>
	<LV2PR19MB5765BF10D8D3FD015C6011468EC89@LV2PR19MB5765.namprd19.prod.outlook.com>
	<C0176E91-8B71-4CA2-9FCE-B27944040D6D@thebuild.com>
	<LV2PR19MB5765325D85ADB08967725D058EC89@LV2PR19MB5765.namprd19.prod.outlook.com>

"Sisson, David" <David.Sisson@dell.com> writes:
> 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.

What "standard postgresql.conf file"?  There is no such thing until
initdb creates it.

> There is no way to turn it off without altering the sample config file.

Yup, that's exactly why we are having this discussion.

			regards, tom lane





view thread (25+ messages)  latest in thread

Message-ID: <1882151.1674503750@sss.pgh.pa.us>
Permalink:  ../1882151.1674503750@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1882151.1674503750@sss.pgh.pa.us

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, David.Sisson@dell.com, xof@thebuild.com, andres@anarazel.de, tomas.vondra@enterprisedb.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #17757: Not honoring huge_pages setting during initdb causes DB crash in Kubernetes
  In-Reply-To: <1882151.1674503750@sss.pgh.pa.us>

* 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