[SERVER-5345] mongos crashing Created: 20/Mar/12  Updated: 11/Jul/16  Resolved: 03/Apr/12

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 2.0.2
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: Brett Goldstein Assignee: Eric Milkie
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-4699 mongos can segfault after primary fai... Closed
Participants:

 Description   

mongos crashing for unknown reason. (twice in past few hours). appears to be related to issue between primary and secondary while etl is firing. also unlcear as to why there is an issue between primary and secondary. logs below: thx!

Tue Mar 20 18:05:34 [conn315] ReplicaSetMonitor::_checkConnection: my21orl53.cityofchicago.org:27018

{ setName: "shard3", ismaster: false, secondary: true, hosts: [ "my21orl53.cityofchicago.org:27018", "my07orl04.cityofchicago.org:27018" ], arbiters: [ "my21orl53.cityofchicago.org:27020" ], me: "my21orl53.cityofchicago.org:27018", maxBsonObjectSize: 16777216, ok: 1.0 }

Tue Mar 20 18:05:35 [conn314] got not master for: my21orl53.cityofchicago.org:27018
Received signal 11
Backtrace: 0x54de95 0x3143e302d0 0x7e9e77 0x7f346e 0x7f3d2d 0x5c1e06 0x5c284e 0x5c03b0 0x5c0915 0x767487 0x76f9da 0x776a83 0x7b487d 0x7c6cf1 0x5e6a07 0x3144a0673d 0x3143ed44bd
./mongodb-linux-x86_64-2.0.2/bin/mongos(_ZN5mongo17printStackAndExitEi+0x75)[0x54de95]
/lib64/libc.so.6[0x3143e302d0]
./mongodb-linux-x86_64-2.0.2/bin/mongos(_ZN5mongo17WriteBackListener4initERNS_12DBClientBaseE+0x17)[0x7e9e77]
./mongodb-linux-x86_64-2.0.2/bin/mongos[0x7f346e]
./mongodb-linux-x86_64-2.0.2/bin/mongos[0x7f3d2d]
./mongodb-linux-x86_64-2.0.2/bin/mongos(_ZN5boost6detail8function17function_invoker4IPFbRN5mongo12DBClientBaseERKSsbiEbS5_S7_biE6invokeERNS1_15function_bufferES5_S7_bi+0x16)[0x5c1e06]
./mongodb-linux-x86_64-2.0.2/bin/mongos(_ZN5mongo17ClientConnections13checkVersionsERKSs+0x16e)[0x5c284e]
./mongodb-linux-x86_64-2.0.2/bin/mongos(_ZN5mongo15ShardConnection5_initEv+0x2a0)[0x5c03b0]
./mongodb-linux-x86_64-2.0.2/bin/mongos(_ZN5mongo15ShardConnectionC1ERKNS_5ShardERKSs+0x85)[0x5c0915]
./mongodb-linux-x86_64-2.0.2/bin/mongos(_ZN5mongo8Strategy6insertERKNS_5ShardEPKcRKNS_7BSONObjEib+0x67)[0x767487]
./mongodb-linux-x86_64-2.0.2/bin/mongos(_ZN5mongo13ShardStrategy7_insertERNS_7RequestERNS_9DbMessageEN5boost10shared_ptrIKNS_12ChunkManagerEEE+0x7aa)[0x76f9da]
./mongodb-linux-x86_64-2.0.2/bin/mongos(_ZN5mongo13ShardStrategy7writeOpEiRNS_7RequestE+0x153)[0x776a83]
./mongodb-linux-x86_64-2.0.2/bin/mongos(_ZN5mongo7Request7processEi+0xdd)[0x7b487d]
./mongodb-linux-x86_64-2.0.2/bin/mongos(_ZN5mongo21ShardedMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0x71)[0x7c6cf1]
./mongodb-linux-x86_64-2.0.2/bin/mongos(_ZN5mongo3pms9threadRunEPNS_13MessagingPortE+0x287)[0x5e6a07]
/lib64/libpthread.so.0[0x3144a0673d]
/lib64/libc.so.6(clone+0x6d)[0x3143ed44bd]



 Comments   
Comment by Daniel Pasette (Inactive) [ 03/Apr/12 ]

Overall perf issues after upgraded continued on this ticket: SERVER-5388

Comment by Daniel Pasette (Inactive) [ 03/Apr/12 ]

Crashing issue was resolved by upgrading to 2.0.4 (SERVER-4699).

Comment by Brett Goldstein [ 21/Mar/12 ]

ok...making move to 2.0.4 tomorrow. ruling out network issue today to make sure there isn't a lower level cause.

Comment by Eliot Horowitz (Inactive) [ 21/Mar/12 ]

The crashing is a known issue fixed in 2.0.4 (and 2.0.3, but you should go to 2.0.4).

Re: flapping, can you attach full logs.

Generated at Thu Feb 08 03:08:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.