160GB SSD에 100GB 데이터베이스가 있는 사이트가 있습니다. 이미지는 S3에 저장되어 있습니다.
2시간마다 Postgres가 디스크를 가득 채우는 작업이 수행됩니다. 백업은 아닙니다.
디스크 용량을 200GB로 늘리는 것이 좋을까요?
160GB SSD에 100GB 데이터베이스가 있는 사이트가 있습니다. 이미지는 S3에 저장되어 있습니다.
2시간마다 Postgres가 디스크를 가득 채우는 작업이 수행됩니다. 백업은 아닙니다.
디스크 용량을 200GB로 늘리는 것이 좋을까요?
Now the disk has 320GB, so there is no way that the disk is getting full, but still every two hours I get this:
Job exception: PG::DiskFull: ERROR: could not resize shared memory segment "/PostgreSQL.2431023752" to 134217728 bytes: No space left on device CONTEXT: parallel worker
4:31 am
17
Job exception: Failed to open TCP connection to 84.247.3.95:80 (Connection refused - connect(2) for "84.247.3.95" port 80)
5:56 am
Job exception: PG::DiskFull: ERROR: could not resize shared memory segment "/PostgreSQL.4192722046" to 134217728 bytes: No space left on device CONTEXT: parallel worker
6:26 am
Job exception: PG::DiskFull: ERROR: could not resize shared memory segment "/PostgreSQL.175048658" to 134217728 bytes: No space left on device
8:32 am
3
MD Composer Extras theme/component is throwing errors: TypeError: Cannot read properties of null (reading 'es')
8:36 am
86
Unicorn worker received USR2 signal indicating it is about to timeout, dumping backtrace for main thread config/unicorn.conf.rb:203:in `backtrace' config/unicorn.conf.rb:203:in `block (2 levels) in re
8:50 am
Job exception: PG::DiskFull: ERROR: could not resize shared memory segment "/PostgreSQL.2657529202" to 134217728 bytes: No space left on device CONTEXT: parallel worker
stackoverflow suggests
This is because docker by-default restrict size of shared memory to
64MB.You can override this default value by using
--shm-sizeoption indocker run.