MongoDB報錯Insufficient free space for journal files的解決方法
原因: 因為journal至少以2G的數量進行增長,當磁碟空間不足時,會報錯Insufficient free space for journal files.
解決方案: 在啟動mongo時加上--smallfiles引數,例如: mongod --smallfiles,或者修改
/etc/mongodb.conf,找到storage.smallFiles,修改以下行:
smallfiles = true
檢查配置是否生效:
> use admin
switched to db admin
> db.runCommand({getCmdLineOpts:1});
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15498/viewspace-1985097/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- mongoDB的db.shutdownServer()報錯的解決方法MongoDBServer
- Error 945 Database cannot be opened due to inaccessible files or insufficient memory or disk spaceErrorDatabase
- mongodb find報錯怎麼解決MongoDB
- ORA-01031: insufficient privileges錯誤解決方法
- 幾個報錯的解決方法
- hive使用報錯解決方法Hive
- tomcat--because there was insufficient free space available after evicting expired cache entriesTomcatAI
- Zabbix報告無交換記憶體主機“Lack of free swap space”問題解決記憶體
- dba_free_space查詢速度慢問題解決
- dbfread報錯ValueError錯誤解決方法Error
- ***XAMPP:報錯Unabletoloaddynamiclibrary的解決方法
- 建立資料庫時“Insufficient privileges”的解決方法DK資料庫
- ORA-01031: insufficient privileges的解決方法
- FreeBSD系統下zfs: failed with error 6錯誤的解決方法AIError
- ceph叢集安裝報錯解決方法
- RAC: SRVCTL and VIPCA 命令報錯解決方法PCA
- MRTG生成首頁報錯解決方法
- DBMS_METADATA報錯解決方法
- 安裝psutil模組報錯的解決方法
- HBase刪除列族報錯的解決方法
- ora-01031:insufficient privileges解決方法
- PostgreSQL FSM(Free Space Map) 原始碼解讀SQL原始碼
- ERROR L107: ADDRESS SPACE OVERFLOW keil錯誤的解決方法Error
- Unable to execute dex: Multiple dex files define 解決方法
- SS報錯的解決
- java.lang.OutOfMemoryError: PermGen space及其解決方法JavaError
- Oracle ASM Free Space TableOracleASM
- windows update更新失敗報錯解決方法Windows
- JDeveloper啟動時老是報錯-解決方法Developer
- kaldi的編譯安裝與報錯解決方法編譯
- Nginx報504 gateway timeout錯誤的解決方法NginxGateway
- R語言的各種報錯及其解決方法R語言
- Nginx 報錯 504 Gateway Time-out 的解決方法NginxGateway
- mongodb密碼特殊字元的解決方法MongoDB密碼字元
- sqlplus "/ as sysdba" 連不上,報ora-01031:insufficient privileges解決方法SQL
- Apache啟動報錯No space left on device: AH00023該怎麼解決Apachedev
- Too many open files報錯處理
- MongoDB報錯"not authorized on root to execute command"問題解決一例MongoDBZed