[2021-08-18 18:58:06] [53100] ERROR: could not resize shared memory segment "/PostgreSQL.2141330937" to 33554432 bytes: No space left on device [2021-08-18 18:58:06] 在位置:parallel worker
查询了下网友的意见,找到了解决方法:
因为我是docker部署的beta环境,所以调整了docker配置,重启数据库就好了:
mount -o remount,size=4G -t tmpfs /var/lib/docker/containers/232983d91a2eed3db0ec764ff73be7a14877f04bcbe20816ac2e332160b9eedb/mounts/shm或者再docker-compose.yaml文件里面添加:
shm_size: '4gb'