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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 聊聊dba_temp_free_space的allocated_space和free_space
- mongodb find報錯怎麼解決MongoDB
- ERROR L107: ADDRESS SPACE OVERFLOW keil錯誤的解決方法Error
- 建立資料庫時“Insufficient privileges”的解決方法DK資料庫
- Zabbix報告無交換記憶體主機“Lack of free swap space”問題解決記憶體
- dbfread報錯ValueError錯誤解決方法Error
- hive使用報錯解決方法Hive
- Dynamics CRM 安裝SSRS Extension時報Could not find the name or insufficient right to see name的解決方法
- [20200327]ORA-46267 Insufficient space in 'USERS' tablespace.txt
- Apache啟動報錯No space left on device: AH00023該怎麼解決Apachedev
- Nginx報504 gateway timeout錯誤的解決方法NginxGateway
- 下載HuggingFace模型的方法以及報錯解決模型
- ceph叢集安裝報錯解決方法
- Django2.2 報錯:UnicodeDecodeError 解決方法DjangoUnicodeError
- TensorFlow 報錯 CUDA driver version is insufficient for CUDA runtime version
- [20240826]奇怪ORA-01031 insufficient privileges報錯.txt
- mongodb密碼特殊字元的解決方法MongoDB密碼字元
- tomcat記憶體溢位:PermGen space解決方法Tomcat記憶體溢位
- SS報錯的解決
- Nginx 報錯 504 Gateway Time-out 的解決方法NginxGateway
- kaldi的編譯安裝與報錯解決方法編譯
- 日常python報錯及解決方法記錄Python
- oracle rac dg庫報錯ORA-01031: insufficient privilegesOracle
- 關於Oracle dba_free_space 檢視的研究Oracle
- Too many open files報錯處理
- 解決 Too many symbol filesSymbol
- docker pull下載映象時的報錯及其解決方法Docker
- mysql登入報錯提示:ERROR 1045 (28000)的解決方法MySqlError
- imagick使用readImage報錯 Failed to read the file 或者沒有報錯內容的解決方法AI
- 國內electron-vue build報錯解決方法VueUI
- SSL證書報錯型別及解決方法型別
- 記錄[Vue+elementUI]報錯及解決方法VueUI
- mybatis報錯解決MyBatis
- 解決eslint報錯EsLint
- undefined reference to錯誤的解決方法Undefined
- svn“Previous operation has not finished; run ‘cleanup‘ if it was interrupted“報錯的解決方法
- 解決MySql報錯:1130 - Host ‘xxx‘ is not allowed to connect to this MySQL server的方法MySqlServer
- sun.misc.BASE64Encoder 報錯!找不到解決的方法
- brew 報錯 error: Not a valid ref: refs/remotes/origin/master 的解決方法ErrorREMAST