CrunchyData / crunchy-containers

Containers for Managing PostgreSQL on Kubernetes by Crunchy Data
https://www.crunchydata.com/
Apache License 2.0
1.01k stars 329 forks source link

Turning huge_pages off by default in the postgresql.conf.sample file. #1518

Closed dsessler7 closed 1 year ago

dsessler7 commented 1 year ago

[sc-17766]

Checklist:

Type of Changes:

What is the current behavior? (link to any open issues here)

In Postgres, huge_pages is set to "try" by default. There is an issue in Kubernetes that causes postgres to fail to start when huge pages are enabled on the node and huge pages are enabled in postgres, but no huge pages were requested for the postgres instance.

[sc-17565]

What is the new behavior (if this is a feature change)?

Now, huge_pages is set to off by default.

[sc-17766]

Other information: