You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to run vacuum analyze on a 50 GB database and got pq: could not resize shared memory segment "/PostgreSQL.2058389254" to 12615680 bytes: No space left on device error.
This is because docker by-default restrict size of shared memory to 64MB.
I don't necessarily thing we should add this to the docker-compose, especially given that we'll be moving binaries out of the DB, but I figured I'd file an issue so the solution is out in the world.
The text was updated successfully, but these errors were encountered:
I tried to run
vacuum analyze
on a 50 GB database and gotpq: could not resize shared memory segment "/PostgreSQL.2058389254" to 12615680 bytes: No space left on device
error.This is because docker by-default restrict size of shared memory to 64MB.
https://meta.discourse.org/t/pg-throws-could-not-resize-shared-memory-segment-error/84744/8 suggests that 512MB is a safe default, and I can confirm that it fixed my problem.
I don't necessarily thing we should add this to the docker-compose, especially given that we'll be moving binaries out of the DB, but I figured I'd file an issue so the solution is out in the world.
The text was updated successfully, but these errors were encountered: