Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pK2vC-0007dA-Dm for pgsql-bugs@arkaria.postgresql.org; Mon, 23 Jan 2023 19:56:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pK2vB-0000PB-BT for pgsql-bugs@arkaria.postgresql.org; Mon, 23 Jan 2023 19:56:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pK2vB-0000P0-3H for pgsql-bugs@lists.postgresql.org; Mon, 23 Jan 2023 19:56:01 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pK2v8-0004cS-O1 for pgsql-bugs@lists.postgresql.org; Mon, 23 Jan 2023 19:56:00 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 30NJton01882152; Mon, 23 Jan 2023 14:55:50 -0500 From: Tom Lane To: "Sisson, David" cc: Christophe Pettus , Andres Freund , Tomas Vondra , "pgsql-bugs@lists.postgresql.org" Subject: Re: BUG #17757: Not honoring huge_pages setting during initdb causes DB crash in Kubernetes In-reply-to: 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> Comments: In-reply-to "Sisson, David" message dated "Mon, 23 Jan 2023 19:51:14 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1882150.1674503750.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 23 Jan 2023 14:55:50 -0500 Message-ID: <1882151.1674503750@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "Sisson, David" writes: > The default is "huge_pages =3D try" which is commented out in the "postg= resql.conf.sample" file. > When a consumer like myself turns it off in the standard "postgresql.con= f" 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