前一段時間做的***采集系統,采用的是大量迷你pc做伺服器,配置很低,裝的32 win2003。用mongodb存儲圖檔。
運作4天左右發現問題,mongodb報錯,存儲空間滿..........
查找資料發現官網如下說明:
Operations¶
MongoDB is a server process that runs on Linux, Windows and OS X. Itcan be run both as a 32 or 64-bit application. We recommend runningin 64-bit mode, since MongoDB is limited to a total data size of about2GB for all databases in 32-bit mode.
解決方法:因為圖檔要求存儲30天,然後幹脆改為本地存儲檔案。