前一段时间做的***采集系统,采用的是大量迷你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天,然后干脆改为本地存储文件。