ฉันใช้เซิร์ฟเวอร์บางตัวที่มีคอนเทนเนอร์นักเทียบท่า
เมื่อเร็ว ๆ นี้ฉันเห็นว่าพื้นที่ดิสก์บนรูทดิสก์ของฉัน (ภายในนักเทียบท่า) เริ่มเหลือน้อย ดิสก์นั้นถูก "แมป" เป็น /mnt/stateful_partition ในเครื่องจริง
ฉันค้นหาไฟล์ขนาดใหญ่ในฟิสิคัลดิสก์และพบไฟล์ที่ทำให้ฉันงง:
/mnt/stateful_partition/var/lib/metrics/uma-events
ไฟล์นั้นเพิ่มขึ้นทุกวัน (ประมาณ 5 MB ต่อวัน) และกินพื้นที่ดิสก์ของฉันจนหมด
หนึ่งในเซิร์ฟเวอร์ของฉันถูกสร้างขึ้นในเดือนตุลาคม 2019 ตอนนี้ไฟล์นั้น (uma-evens) คือ 3.558.914.410 ไบต์และเขียนในพาร์ติชันที่มีขนาดประมาณ 7 GB... และฉันเหลือเพียง 800 MB ที่ 5 MB/วัน มันจะเต็มประมาณ 5 เดือน... :-|
ไฟล์มีสิ่งต่อไปนี้:
1linearhistogramPlatform.Crouton.Started 0 28histogramPlatform.ReadSectorsLong 6843 1 500000 50:histogramPlatform.W
riteSectorsLong 83484 1 500000 504histogramPlatform.PageFaultsLong 21 1 62500 508histogramPlatform.PageFaultsFileLo
ng 21 1 62500 507histogramPlatform.PageFaultsAnonLong 0 1 62500 50/histogramPlatform.SwapInLong 0 1 62500 500histog
ramPlatform.SwapOutLong 0 1 62500 503linearhistogramPlatform.MeminfoMemFree 75 1002linearhistogramPlatform.MeminfoB
บัฟเฟอร์ 0 1002linearhistogramPlatform.MeminfoCached 16 1001linearhistogramPlatform.MeminfoActive 4 1004linearhistogr
amPlatform.MeminfoInactive 15 100:histogramPlatform.MeminfoUnevictable 0 1 4000000 1004linearhistogramPlatform.Memi
nfoAnonPages 3 1001linearhistogramPlatform.MeminfoMapped 1 ...
มันคืออะไร uma เหตุการณ์? มีวิธีการเปิดใช้งานการกลิ้งอัตโนมัติหรือไม่? ฉันสามารถปิดได้หรือไม่?