我在一个高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.stats(); { "db" : "Test", "collections" : 14, "views" : 0, "objects" : 54715317, "avgObjSize" : 1364.7944367936313, "dataSize" : 74675160249, "storageSize" : 23993229312, "numExtents" : 0, "indexes" : 24, "indexSize" : 3197218816, "ok" : 1 }
发布于 2018-02-27 12:42:59
设备上没有剩余空间
确保您已经在设备上释放了一些空间,然后确保文件权限是正确的(读和写访问)。
如果您认为数据库可能在than之后损坏,请运行:
mongod --repair --dbpath /path/to/data/db发布于 2020-09-29 08:50:21
如果在Windows 10上使用Docker,则应检查以下内容:
重新启动您的码头环境。
https://stackoverflow.com/questions/45791748
复制相似问题