[SERVER-2539] DBException in process: socket exception Received signal 11 crashed mongos Created: 12/Feb/11  Updated: 12/Jul/16  Resolved: 14/Feb/11

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

Type: Bug Priority: Major - P3
Reporter: David Mytton Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Wed Feb 9 10:57:04 /home/david/mongodb/latest/bin/mongos db version v1.8.0-rc0-pre-, pdfile version 4.5 starting (--help for usage)
Wed Feb 9 10:57:04 git version: 1f4ba96c5a1adc591708c9db6afeb555c0d1e4c5
Wed Feb 9 10:57:04 sys info: Linux domU-12-31-39-06-79-A1 2.6.21.7-2.ec2.v1.2.fc8xen #1 SMP Fri Nov 20 17:48:28 EST 2009 x86_64 BOOST_LIB_VERSION=1_41


Issue Links:
Depends
Operating System: Linux
Participants:

 Description   

mongos crashed with this:

Sat Feb 12 10:10:50 [conn22672] ns: sd.users ClusteredCursor::query ShardConnection had to change attempt: 0
Sat Feb 12 10:12:16 [conn22338] update failed b/c of StaleConfigException, retrying left:4 ns: sd.metricsLatestMongoDBRepl query:

{ accId: 1, setName: "set2" }

Sat Feb 12 10:15:36 [conn22940] DBException in process: socket exception
Received signal 11
Backtrace: 0x5303b5 0x3027e302d0 0x54ea72 0x553dad 0x5558a6 0x53d593 0x536322 0x5794f1 0x576650 0x576b51 0x62cb5e 0x6322b8 0x66398c 0x674f34 0x57f4d0 0x69cd00 0x302860673d 0x3027ed3f6d
/home/david/mongodb/latest/bin/mongos(_ZN5mongo17printStackAndExitEi+0x75)[0x5303b5]
/lib64/libc.so.6[0x3027e302d0]
/home/david/mongodb/latest/bin/mongos(_ZN5mongo17ReplicaSetMonitor13notifyFailureERKNS_11HostAndPortE+0x62)[0x54ea72]
/home/david/mongodb/latest/bin/mongos(_ZN5mongo18DBClientReplicaSet11checkMasterEv+0x15d)[0x553dad]
/home/david/mongodb/latest/bin/mongos(_ZN5mongo18DBClientReplicaSet7connectEv+0x16)[0x5558a6]
/home/david/mongodb/latest/bin/mongos(_ZNK5mongo16ConnectionString7connectERSs+0x1c3)[0x53d593]
/home/david/mongodb/latest/bin/mongos(_ZN5mongo16DBConnectionPool3getERKSs+0xd2)[0x536322]
/home/david/mongodb/latest/bin/mongos(_ZN5mongo17ClientConnections13checkVersionsERKSs+0x251)[0x5794f1]
/home/david/mongodb/latest/bin/mongos(_ZN5mongo15ShardConnection5_initEv+0x2d0)[0x576650]
/home/david/mongodb/latest/bin/mongos(_ZN5mongo15ShardConnectionC1ERKNS_5ShardERKSs+0xa1)[0x576b51]
/home/david/mongodb/latest/bin/mongos(_ZN5mongo8Strategy7doQueryERNS_7RequestERKNS_5ShardE+0x4e)[0x62cb5e]
/home/david/mongodb/latest/bin/mongos(_ZN5mongo14SingleStrategy7queryOpERNS_7RequestE+0x4d8)[0x6322b8]
/home/david/mongodb/latest/bin/mongos(_ZN5mongo7Request7processEi+0x29c)[0x66398c]
/home/david/mongodb/latest/bin/mongos(_ZN5mongo21ShardedMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortE+0x144)[0x674f34]
/home/david/mongodb/latest/bin/mongos(_ZN5mongo3pms9threadRunEPNS_13MessagingPortE+0x260)[0x57f4d0]
/home/david/mongodb/latest/bin/mongos(thread_proxy+0x80)[0x69cd00]
/lib64/libpthread.so.0[0x302860673d]
/lib64/libc.so.6(clone+0x6d)[0x3027ed3f6d]
===



 Comments   
Comment by Eliot Horowitz (Inactive) [ 14/Feb/11 ]

I think the fix I made is likely to address is this.
Hard to debug the nightlies.
If this happens with 1.7.6 please let me know

Comment by auto [ 12/Feb/11 ]

Author:

{u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: safety check for SERVER-2539
https://github.com/mongodb/mongo/commit/b1a9d70ed7846c41e01403a8e67f79e79f5ef786

Comment by David Mytton [ 12/Feb/11 ]

Uploaded full mongos log to CS-320

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