Skip to content

Commit

Permalink
Disable huge pages in postgres
Browse files Browse the repository at this point in the history
With the default setting (try), postgres tries to use mmap, which is not
allowed inside the snap.
  • Loading branch information
dhelonious committed Jul 11, 2024
1 parent c714aee commit 0e1ccb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/postgres/config/postgresql.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
max_connections = 100
shared_buffers = 128MB
ssl = off
huge_pages = off
external_pid_file = '$PID_DIR/postgres.pid'
log_destination = 'stderr'
logging_collector = off
Expand Down

0 comments on commit 0e1ccb9

Please sign in to comment.