mongodb crashes with “No space left on device” when using WiredTiger engine on Btrfs
After few hours of running MongoDB crashed with the following error message:
2019-01-29T03:38:02.050+0100 E STORAGE [WTJournalFlusher] WiredTiger error (28) [1548729482:50943][9171:0x7f96ce5bfae8], WT_SESSION.log_flush: /var/lib/mongodb/journal/WiredTigerLog.0000000001: handle-write: pwrite: failed to write 256 bytes at offset 10273024: No space left on device
2019-01-29T03:38:02.051+0100 E STORAGE [WTJournalFlusher] WiredTiger error (28) [1548729482:51026][9171:0x7f96ce5bfae8], WT_SESSION.log_flush: journal/WiredTigerLog.0000000001: fatal log failure: No space left on device
2019-01-29T03:38:02.051+0100 E STORAGE [WTJournalFlusher] WiredTiger error (-31804) [1548729482:51053][9171:0x7f96ce5bfae8], WT_SESSION.log_flush: the process must exit and restart: WT_PANIC: WiredTiger library panic
2019-01-29T03:38:02.051+0100 F - [WTJournalFlusher] Fatal Assertion 28558 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 366
2019-01-29T03:38:02.051+0100 F - [WTJournalFlusher]
***aborting after fassert() failure
2019-01-29T03:38:02.051+0100 F - [WTJournalFlusher] Got signal: 6 (Aborted).
This platform does not support printing stacktraces
I’ve tried to disable CoW for the /var/lib/mongodb
, but with no
effect. I have no idea if it’s actually related to our Alpine build, I’m
reporting it here just to know if there are more people experiencing
this problem.
(from redmine: issue id 9934, created on 2019-01-29)