Re: BUG #17757: Not honoring huge_pages setting during initdb causes DB crash in Kubernetes
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Sisson, David" <David.Sisson@dell.com>
Cc: Christophe Pettus <xof@thebuild.com>, Andres Freund <andres@anarazel.de>,
Tomas Vondra <tomas.vondra@enterprisedb.com>,
"pgsql-bugs@lists.postgresql.org" <pgsql-bugs@lists.postgresql.org>
Date: 2023-01-23T19:55:50Z
Lists: pgsql-bugs
"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