DEV Community

Discussion on: Clean Sentry On-Premise Database

Collapse
 
simllll profile image
Simon Tretter

I was wondering why the disk size wasn't shrinking, turned out while running VACUUM nodestore_node; it returned pq: could not resize shared memory segment "..." to ... bytes: No space left on device.
the solution to this was found here stackoverflow.com/questions/567515...
I just added shm_size: '1gb' to the postgres docker definition and rerun docker compose up that recreated the postgres container. after this, the vacuum started working correclty :)