WiredTiger错误(28):设备上没有剩余空间

时间:2017-08-21 07:45:15

标签: mongodb ubuntu-16.04

我在高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 }

2 个答案:

答案 0 :(得分:0)

  

设备上没有剩余空间

确保您已释放设备上的空间,然后确保文件权限正确(读取和写入权限)。

如果您认为数据库可能会被损坏,请运行:

{{1}}

答案 1 :(得分:0)

如果您在Windows 10上使用Docker,则应检查以下内容:

  1. 打开Docker桌面应用程序
  2. 打开资源>高级,然后向下滚动
  3. 检查`磁盘映像大小:已使用(100%)
  4. 在最底端,您可以更改位置(例如,在我的情况下为另一个驱动器),并增加要提供给Docker的存储空间。

重新启动Docker环境。