mem(MB)res:0 virt:0映射:0

时间:2012-06-29 13:44:17

标签: mongodb

我正在尝试在我的windows xp系统上安装mongodb,所有我能看到的是安装不会向前移动..有人可以帮助安装mongodb吗?

mongod.exe --dbpath d:\xx\Mongodb\Mongodb\data
Fri Jun 29 18:33:21
Fri Jun 29 18:33:21 warning: 32-bit servers don't have journaling enabled by default. Please use --journal if you want durability.
Fri Jun 29 18:33:21
Fri Jun 29 18:33:21 [initandlisten] MongoDB starting : pid=3568 port=27017 dbpath=d:\xx\Mongodb\Mongodb\data 32-bit host=admin1
Fri Jun 29 18:33:21 [initandlisten]
Fri Jun 29 18:33:21 [initandlisten] ** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data
Fri Jun 29 18:33:21 [initandlisten] **       see http://blog.mongodb.org/post/137788967/32-bit-limitations
Fri Jun 29 18:33:21 [initandlisten] **       with --journal, the limit is lower
Fri Jun 29 18:33:21 [initandlisten]
Fri Jun 29 18:33:21 [initandlisten] db version v2.0.6, pdfile version 4.5
Fri Jun 29 18:33:21 [initandlisten] git version: e1c0cbc25863f6356aa4e31375add7bb49fb05bc
Fri Jun 29 18:33:21 [initandlisten] build info: windows sys.getwindowsversion(major=6, minor=0, build=6002, platform=2, service_pack='Service Pack 2') BOOST_LIB_VERSION=1_42
Fri Jun 29 18:33:21 [initandlisten] options: { dbpath: "d:\xx\Mongodb\Mongodb\data" }
Fri Jun 29 18:33:21 [initandlisten] waiting for connections on port 27017
Fri Jun 29 18:33:21 [websvr] admin web console waiting for connections on port 28017
Fri Jun 29 18:34:21 [clientcursormon] mem (MB) res:14 virt:46 mapped:0
Fri Jun 29 18:39:21 [clientcursormon] mem (MB) res:14 virt:46 mapped:0
Fri Jun 29 18:40:21 [PeriodicTask::Runner] task: DBConnectionPool-cleaner took:15ms
Fri Jun 29 18:44:21 [clientcursormon] mem (MB) res:0 virt:46 mapped:0
Fri Jun 29 18:49:21 [clientcursormon] mem (MB) res:0 virt:46 mapped:0
Fri Jun 29 18:54:21 [clientcursormon] mem (MB) res:0 virt:46 mapped:0
Fri Jun 29 18:59:21 [clientcursormon] mem (MB) res:0 virt:46 mapped:0
Fri Jun 29 19:04:21 [clientcursormon] mem (MB) res:0 virt:46 mapped:0

1 个答案:

答案 0 :(得分:0)

这是正常的MongoDB输出。你可以从行Fri Jun 29 18:33:21 [initandlisten] waiting for connections on port 27017看出mongod已启动并正在等待连接。

如果要将MongoDB安装为Windows服务,可以使用mongod.exe [options] --install;请参阅MongoDB manual中的更多选项。

关于输出中的最后几行,这些只是意味着MongoDB尚未将任何数据文件加载到内存中。当您创建或使用数据时,那里的数字将会改变,以指示mongod正在使用多少驻留(即物理RAM),虚拟和映射内存。