There is a bug in Kubernetes environment causing: Bus error in Postgres when huge_pages are enabled in the cluster see [here](https://www.postgresql.org/message-id/flat/CA%2Bq6zcWfU7_3Zt1Bq711ze3-FW0RXd7ubzHtvpVN0-tX2ZNHog%40mail.gmail.com#14b63ac7825f47e65be9254c2076492c). Using custom Postgres config inclusion designed into sclorg/postgresql-container it is possible to add `huge_pages = off` to work around this issue. However during [database initialization](https://github.com/sclorg/postgresql-container/blob/83c71ac76c23b2021f12a1b9e035e518cc4d7f9d/src/root/usr/bin/run-postgresql#L23-L28) initdb [executes Postgres binary with a null config file](https://github.com/postgres/postgres/blob/bdeb2c4ec2700bfa561061ccd19181326ee01c3f/src/bin/initdb/initdb.c#L2773-L2775), causing BUS error.
Activity
snecklifter commentedon Dec 1, 2021
I am also seeing this with a Quay operator-based deployment on OpenShift.