لدي موقع بقاعدة بيانات بحجم 100 جيجابايت على قرص SSD بحجم 160 جيجابايت. الصور على S3.
كل ساعتين، يقوم postgres بشيء يملأ القرص. إنه ليس نسخة احتياطية.
أعتقد أنه يجب عليّ فقط زيادة حجم القرص إلى 200 جيجابايت؟
لدي موقع بقاعدة بيانات بحجم 100 جيجابايت على قرص SSD بحجم 160 جيجابايت. الصور على S3.
كل ساعتين، يقوم postgres بشيء يملأ القرص. إنه ليس نسخة احتياطية.
أعتقد أنه يجب عليّ فقط زيادة حجم القرص إلى 200 جيجابايت؟
الآن القرص يحتوي على 320 جيجابايت، لذلك لا توجد طريقة لامتلاء القرص، ولكن لا يزال كل ساعتين أحصل على هذا:
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 يقترح
هذا بسبب أن دوكر بشكل افتراضي يحد من حجم الذاكرة المشتركة إلى
64 ميجابايت.يمكنك تجاوز هذه القيمة الافتراضية باستخدام خيار
--shm-sizeفيdocker run.