Skip to content

Commit 7af1180

Browse files
committed
Turning huge_pages off by default in the postgresql.conf.sample file.
[sc-17766]
1 parent 9baa910 commit 7af1180

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build/postgres/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ else \
100100
&& ${PACKAGER} -y clean all --enablerepo="epel" ; \
101101
fi
102102

103+
# Set huge_pages to "off" to workaround issue # sc-17565
104+
RUN echo "huge_pages = off" >> ${PGROOT}/share/postgresql.conf.sample
105+
103106
# install patroni for Kube
104107
RUN pip3 install --upgrade python-dateutil \
105108
&& pip3 install patroni[kubernetes]=="${PATRONI_VER}"

0 commit comments

Comments
 (0)