[DOCS-4626] SocketException: remote: error: 9001 socket exception [RECV_TIMEOUT Created: 08/Jan/15  Updated: 03/Nov/17  Resolved: 06/Feb/15

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Bug Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

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


Participants:
Days since reply: 9 years, 5 weeks, 6 days ago

 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:

{ enabled: true }

, 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 ?


Generated at Thu Feb 08 07:48:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.