Postgres fail to start when scheduled on node with hugepages enabled
Summary
When postgres is scheduled on a node with hugepages enabled. The containers fail to start with the following error
child process was terminated by signal 7: Bus error
related references
- https://github.com/docker-library/postgres/issues/946
- https://github.com/docker-library/docs/issues/2355
- https://www.postgresql.org/message-id/17757-dbdfc1f1c954a6db%40postgresql.org
Possible solution
Prevent all PostgreSQL containers from using huge pages. https://github.com/postgres/postgres/pull/114/files
Edited by francois klieber