[SERVER-25769] In replication mode can't be set to start the engine using wiredtiger mongodb Created: 24/Aug/16 Updated: 24/Aug/16 Resolved: 24/Aug/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Admin |
| Affects Version/s: | 3.0.12 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | syyong | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Operating System: | ALL |
| Participants: |
| Description |
|
When I upgraded version 3.0.12 replication set mode set under mongodb engine upgrade from MMAPv1 to WiredTiger, start a SECONDARY node when the node fails to pull data from other nodes from the resulting node can not start. Start command:" /home/worker/mongodb3.0/bin/mongod --storageEngine = wiredTiger -f /home/worker/mongodb3.0/conf/mongo.cnf". Strace analysis obtained by:" +++ killed by SIGKILL +++ information". See such a log and then view the / var / log / messages file: kernel: "Out of memory: Kill process 22373 (mongod) score 188 or sacrifice child". Operating system is CentOS release 6.5, memory 8G. Replication set altogether three nodes are deployed in the same server. The other two have been successfully upgraded to WiredTiger engine,but upgraded the last one failed. |
| Comments |
| Comment by Ramon Fernandez Marina [ 24/Aug/16 ] |
|
syyong, if you need to deploy multiple mongod nodes on the same server you need to make sure that server has sufficient resources to accommodate these nodes. In this case it's obvious that there's not enough memory, and the operating system is killing one of the nodes. I'd recommend you use a server with more memory or, preferably, deploy only one mongod per node. Please note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag, where your question will reach a larger audience. A question like this involving more discussion would be best posted on the mongodb-user group. See also our Technical Support page for additional support resources. Regards, |