Details
-
Bug
-
Resolution: Incomplete
-
Major - P3
-
None
-
inux test 3.10.42-52.145.amzn1.x86_64
mongodb 2.6.4
*Location*: http://docs.mongodb.org/manual/search/?query=SocketException%3A%20remote%3A%20error%3A%209001%20socket%20exception%20%5BRECV_TIMEOUT
*User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.122 Safari/537.36
*Referrer*: http://www.mongodb.org/
*Screen Resolution*: 1440 x 900
*repo*: docs
*source*: search
inux test 3.10.42-52.145.amzn1.x86_64 mongodb 2.6.4 *Location*: http://docs.mongodb.org/manual/search/?query=SocketException%3A%20remote%3A%20error%3A%209001%20socket%20exception%20%5BRECV_TIMEOUT *User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.122 Safari/537.36 *Referrer*: http://www.mongodb.org/ *Screen Resolution*: 1440 x 900 *repo*: docs *source*: search
Description
On AWS cloud server I installed a master mongodb node ,and then on slave node I configure parameter "only=xxx" and sync a database.
when I start up slave node.I get following error:
[root@mongdb]$ tail -f mongod.log
2015-01-08T17:20:23.016+0800 [initandlisten] options: { autoresync: true, config: "mongo1_slave_zmid_mid_27023.conf", net: { http:
, port: 27023 }, only: "zmid_mid", processManagement:
{ fork: true, pidFilePath: "/var/run/mongodb/mongod_zmid_mid.pid" }, slave: true, source: "172.31.47.3:27017", storage: { dbPath: "/data/soft/mongdb/slave_data/zmid_mid", journal:
{ enabled: false }}, systemLog:
{ destination: "file", logAppend: true, path: "/data/soft/mongdb/mongod_zmid_mid.log" } }
2015-01-08T17:20:23.725+0800 [initandlisten] waiting for connections on port 27023
2015-01-08T17:20:23.725+0800 [websvr] admin web console waiting for connections on port 28023
2015-01-08T17:20:24.725+0800 [replslave] repl: syncing from host:172.31.47.3:27017
2015-01-08T17:20:54.728+0800 [replslave] Socket recv() timeout 172.31.47.3:27017
2015-01-08T17:20:54.728+0800 [replslave] SocketException: remote: 172.31.47.3:27017 error: 9001 socket exception [RECV_TIMEOUT] server [172.31.47.3:27017]
2015-01-08T17:20:54.728+0800 [replslave] DBClientCursor::init call() failed
2015-01-08T17:20:54.728+0800 [replslave] repl: dbclient::query returns null (conn closed?)
2015-01-08T17:20:54.728+0800 [replslave] repl: sleep 3 sec before next pass
2015-01-08T17:20:57.728+0800 [replslave] repl: syncing from host:172.31.47.3:27017
2015-01-08T17:21:23.727+0800 [clientcursormon] mem (MB) res:61 virt:2274
2015-01-08T17:21:23.727+0800 [clientcursormon] mapped:2080
2015-01-08T17:21:23.727+0800 [clientcursormon] connections:0
2015-01-08T17:21:27.728+0800 [replslave] Socket recv() timeout 172.31.47.3:27017
2015-01-08T17:21:27.728+0800 [replslave] SocketException: remote: 172.31.47.3:27017 error: 9001 socket exception [RECV_TIMEOUT] server [172.31.47.3:27017]
2015-01-08T17:21:27.728+0800 [replslave] DBClientCursor::init call() failed
2015-01-08T17:21:27.728+0800 [replslave] repl: dbclient::query returns null (conn closed?)
2015-01-08T17:21:27.728+0800 [replslave] repl: sleep 3 sec before next pass
2015-01-08T17:21:30.728+0800 [replslave] repl: syncing from host:172.31.47.3:27017
2015-01-08T17:22:00.728+0800 [replslave] Socket recv() timeout 172.31.47.3:27017
2015-01-08T17:22:00.728+0800 [replslave] SocketException: remote: 172.31.47.3:27017 error: 9001 socket exception [RECV_TIMEOUT] server [172.31.47.3:27017]
2015-01-08T17:22:00.728+0800 [replslave] DBClientCursor::init call() failed
2015-01-08T17:22:00.728+0800 [replslave] repl: dbclient::query returns null (conn closed?)
2015-01-08T17:22:00.728+0800 [replslave] repl: sleep 3 sec before next pass
2015-01-08T17:22:03.728+0800 [replslave] repl: syncing from host:172.31.47.3:27017
any body can help me ?