我在高I / O系统中使用mongodb,我遇到了以下问题:
2017-08-20T12:40:47.258+0000 E STORAGE [thread2] WiredTiger error (28) [1503232847:252478][1499:0x7f9b34af7700], file:index-7-5300684995096143824.wt, WT_SESSION.checkpoint: /var/lib/mongodb/index-7-5300684995096143824.wt: handle-write: pwrite: failed to write 20480 bytes at offset 178524160: No space left on device 2017-08-20T12:40:47.258+0000 E STORAGE [thread2] WiredTiger error (28) [1503232847:258665][1499:0x7f9b34af7700], file:index-7-5300684995096143824.wt, WT_SESSION.checkpoint: index-7-5300684995096143824.wt: fatal checkpoint failure: No space left on device 2017-08-20T12:40:47.258+0000 E STORAGE [thread2] WiredTiger error (-31804) [1503232847:258687][1499:0x7f9b34af7700], file:index-7-5300684995096143824.wt, WT_SESSION.checkpoint: the process must exit and restart: WT_PANIC: WiredTiger library panic 2017-08-20T12:40:47.259+0000 I - [conn67] Fatal Assertion 28559 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 64 2017-08-20T12:40:47.259+0000 I - [thread2] Fatal Assertion 28558 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 361 2017-08-20T12:40:47.259+0000 I - [conn34] Fatal Assertion 28559 at src/mongo/db/storage/wiredtiger/wiredtiger
这是我的db stat:
db.stats(); { "db" : "Test", "collections" : 14, "views" : 0, "objects" : 54715317, "avgObjSize" : 1364.7944367936313, "dataSize" : 74675160249, "storageSize" : 23993229312, "numExtents" : 0, "indexes" : 24, "indexSize" : 3197218816, "ok" : 1 }
答案 0 :(得分:0)
设备上没有剩余空间
确保您已释放设备上的空间,然后确保文件权限正确(读取和写入权限)。
如果您认为数据库可能会被损坏,请运行:
{{1}}
答案 1 :(得分:0)
如果您在Windows 10上使用Docker,则应检查以下内容:
重新启动Docker环境。