Thread 17346 (Thread 0x7ffb2dc3e700 (LWP 9240)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x000000000132d05c in boost::condition_variable::timed_wait (this=0x196570d0, m=..., wait_until=...) at src/third_party/boost/boost/thread/pthread/condition_variable.hpp:74 #2 0x000000000132d476 in boost::condition_variable::timed_wait > (this=0x196570d0, m=..., wait_duration=...) at src/third_party/boost/boost/thread/pthread/condition_variable_fwd.hpp:72 #3 0x000000000132bbc2 in mongo::CondVarLockGrantNotification::wait (this=0x196570a0, timeoutMs=500) at src/mongo/db/concurrency/lock_state.cpp:247 #4 0x000000000132ed4d in mongo::LockerImpl::lockComplete (this=0x19656b00, resId=..., mode=mongo::MODE_X, timeoutMs=4294967295, checkDeadlock=false) at src/mongo/db/concurrency/lock_state.cpp:703 #5 0x000000000132d5d4 in mongo::LockerImpl::lock (this=0x19656b00, resId=..., mode=mongo::MODE_X, timeoutMs=4294967295, checkDeadlock=false) at src/mongo/db/concurrency/lock_state.cpp:422 #6 0x000000000131fd13 in mongo::Lock::CollectionLock::CollectionLock (this=0x7ffb2dc3bb20, lockState=0x19656b00, ns=..., mode=mongo::MODE_IX) at src/mongo/db/concurrency/d_concurrency.cpp:174 #7 0x00000000015f32c4 in mongo::repl::(anonymous namespace)::_logOpOld (txn=0x7ffb2dc3d7d0, opstr=0x1fa870d "c", ns=0x627d318 "aggdb.$cmd", logNS=0x1ffb9f4 "local.oplog.$main", obj=..., o2=0x0, bb=0x0, fromMigrate=false) at src/mongo/db/repl/oplog.cpp:299 #8 0x00000000015f3b28 in mongo::repl::logOp (txn=0x7ffb2dc3d7d0, opstr=0x1fa870d "c", ns=0x627d318 "aggdb.$cmd", obj=..., patt=0x0, b=0x0, fromMigrate=false) at src/mongo/db/repl/oplog.cpp:380 #9 0x000000000133e969 in mongo::CmdDrop::run (this=0x287f2c0 , txn=0x7ffb2dc3d7d0, dbname=..., cmdObj=..., errmsg=..., result=..., fromRepl=false) at src/mongo/db/dbcommands.cpp:531 #10 0x0000000001339fe9 in mongo::_execCommand (txn=0x7ffb2dc3d7d0, c=0x287f2c0 , dbname=..., cmdObj=..., queryOptions=0, errmsg=..., result=..., fromRepl=false) at src/mongo/db/dbcommands.cpp:1317 #11 0x000000000133af66 in mongo::Command::execCommand (txn=0x7ffb2dc3d7d0, c=0x287f2c0 , queryOptions=0, cmdns=0xed63c14 "aggdb.$cmd", cmdObj=..., result=..., fromRepl=false) at src/mongo/db/dbcommands.cpp:1533 #12 0x000000000133b845 in mongo::_runCommands (txn=0x7ffb2dc3d7d0, ns=0xed63c14 "aggdb.$cmd", _cmdobj=..., b=..., anObjBuilder=..., fromRepl=false, queryOptions=0) at src/mongo/db/dbcommands.cpp:1605 #13 0x000000000153f784 in mongo::runCommands (txn=0x7ffb2dc3d7d0, ns=0xed63c14 "aggdb.$cmd", jsobj=..., curop=..., b=..., anObjBuilder=..., fromRepl=false, queryOptions=0) at src/mongo/db/query/find.cpp:137 #14 0x00000000015417ac in mongo::runQuery (txn=0x7ffb2dc3d7d0, m=..., q=..., nss=..., curop=..., result=..., fromDBDirectClient=false) at src/mongo/db/query/find.cpp:606 #15 0x00000000014475be in mongo::receivedQuery (txn=0x7ffb2dc3d7d0, c=..., dbresponse=..., m=..., fromDBDirectClient=false) at src/mongo/db/instance.cpp:220 #16 0x000000000144876e in mongo::assembleResponse (txn=0x7ffb2dc3d7d0, m=..., dbresponse=..., remote=..., fromDBDirectClient=false) at src/mongo/db/instance.cpp:403 #17 0x0000000001142ef8 in mongo::MyMessageHandler::process (this=0x30c21d0, m=..., port=0x78baaf0, le=0x6c98f00) at src/mongo/db/db.cpp:206 #18 0x00000000018ec4c2 in mongo::PortMessageServer::handleIncomingMsg (arg=0x78baaf0) at src/mongo/util/net/message_server_port.cpp:229 #19 0x00007ffff7bc4182 in start_thread (arg=0x7ffb2dc3e700) at pthread_create.c:312 #20 0x00007ffff6cc547d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 17343 (Thread 0x7ffb2d133700 (LWP 9219)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x000000000132d05c in boost::condition_variable::timed_wait (this=0x63711d0, m=..., wait_until=...) at src/third_party/boost/boost/thread/pthread/condition_variable.hpp:74 #2 0x000000000132d476 in boost::condition_variable::timed_wait > (this=0x63711d0, m=..., wait_duration=...) at src/third_party/boost/boost/thread/pthread/condition_variable_fwd.hpp:72 #3 0x000000000132bbc2 in mongo::CondVarLockGrantNotification::wait (this=0x63711a0, timeoutMs=500) at src/mongo/db/concurrency/lock_state.cpp:247 #4 0x000000000132ed4d in mongo::LockerImpl::lockComplete (this=0x6370c00, resId=..., mode=mongo::MODE_X, timeoutMs=4294967295, checkDeadlock=false) at src/mongo/db/concurrency/lock_state.cpp:703 #5 0x000000000132d5d4 in mongo::LockerImpl::lock (this=0x6370c00, resId=..., mode=mongo::MODE_X, timeoutMs=4294967295, checkDeadlock=false) at src/mongo/db/concurrency/lock_state.cpp:422 #6 0x000000000131fd13 in mongo::Lock::CollectionLock::CollectionLock (this=0x7ffb2d12f240, lockState=0x6370c00, ns=..., mode=mongo::MODE_IX) at src/mongo/db/concurrency/d_concurrency.cpp:174 #7 0x00000000015f32c4 in mongo::repl::(anonymous namespace)::_logOpOld (txn=0x7ffb2d1327d0, opstr=0x1fa457f "i", ns=0x726a4f8 "users.distinct2", logNS=0x1ffb9f4 "local.oplog.$main", obj=..., o2=0x0, bb=0x0, fromMigrate=false) at src/mongo/db/repl/oplog.cpp:299 #8 0x00000000015f3b28 in mongo::repl::logOp (txn=0x7ffb2d1327d0, opstr=0x1fa457f "i", ns=0x726a4f8 "users.distinct2", obj=..., patt=0x0, b=0x0, fromMigrate=false) at src/mongo/db/repl/oplog.cpp:380 #9 0x0000000001317032 in mongo::singleInsert (txn=0x7ffb2d1327d0, docToInsert=..., collection=0x16777480, result=0x7ffb2d12f5c0) at src/mongo/db/commands/write_commands/batch_executor.cpp:1146 #10 0x00000000013169d1 in mongo::insertOne (state=0x7ffb2d130a50, result=0x7ffb2d12f5c0) at src/mongo/db/commands/write_commands/batch_executor.cpp:1071 #11 0x0000000001316dd1 in mongo::WriteBatchExecutor::execOneInsert (this=0x7ffb2d130e60, state=0x7ffb2d130a50, error=0x7ffb2d130a28) at src/mongo/db/commands/write_commands/batch_executor.cpp:1112 #12 0x00000000013155c6 in mongo::WriteBatchExecutor::execInserts (this=0x7ffb2d130e60, request=..., errors=0x7ffb2d130ce0) at src/mongo/db/commands/write_commands/batch_executor.cpp:885 #13 0x0000000001315039 in mongo::WriteBatchExecutor::bulkExecute (this=0x7ffb2d130e60, request=..., upsertedIds=0x7ffb2d130d00, errors=0x7ffb2d130ce0) at src/mongo/db/commands/write_commands/batch_executor.cpp:767 #14 0x0000000001312f37 in mongo::WriteBatchExecutor::executeBatch (this=0x7ffb2d130e60, request=..., response=0x7ffb2d130ea0) at src/mongo/db/commands/write_commands/batch_executor.cpp:272 #15 0x000000000131d040 in mongo::WriteCmd::run (this=0x30f5250, txn=0x7ffb2d1327d0, dbName=..., cmdObj=..., options=0, errMsg=..., result=..., fromRepl=false) at src/mongo/db/commands/write_commands/write_commands.cpp:147 #16 0x0000000001339fe9 in mongo::_execCommand (txn=0x7ffb2d1327d0, c=0x30f5250, dbname=..., cmdObj=..., queryOptions=0, errmsg=..., result=..., fromRepl=false) at src/mongo/db/dbcommands.cpp:1317 #17 0x000000000133af66 in mongo::Command::execCommand (txn=0x7ffb2d1327d0, c=0x30f5250, queryOptions=0, cmdns=0x33f5014 "users.$cmd", cmdObj=..., result=..., fromRepl=false) at src/mongo/db/dbcommands.cpp:1533 #18 0x000000000133b845 in mongo::_runCommands (txn=0x7ffb2d1327d0, ns=0x33f5014 "users.$cmd", _cmdobj=..., b=..., anObjBuilder=..., fromRepl=false, queryOptions=0) at src/mongo/db/dbcommands.cpp:1605 #19 0x000000000153f784 in mongo::runCommands (txn=0x7ffb2d1327d0, ns=0x33f5014 "users.$cmd", jsobj=..., curop=..., b=..., anObjBuilder=..., fromRepl=false, queryOptions=0) at src/mongo/db/query/find.cpp:137 #20 0x00000000015417ac in mongo::runQuery (txn=0x7ffb2d1327d0, m=..., q=..., nss=..., curop=..., result=..., fromDBDirectClient=false) at src/mongo/db/query/find.cpp:606 #21 0x00000000014475be in mongo::receivedQuery (txn=0x7ffb2d1327d0, c=..., dbresponse=..., m=..., fromDBDirectClient=false) at src/mongo/db/instance.cpp:220 #22 0x000000000144876e in mongo::assembleResponse (txn=0x7ffb2d1327d0, m=..., dbresponse=..., remote=..., fromDBDirectClient=false) at src/mongo/db/instance.cpp:403 #23 0x0000000001142ef8 in mongo::MyMessageHandler::process (this=0x30c21d0, m=..., port=0xa6d3900, le=0x19d605f0) at src/mongo/db/db.cpp:206 #24 0x00000000018ec4c2 in mongo::PortMessageServer::handleIncomingMsg (arg=0xa6d3900) at src/mongo/util/net/message_server_port.cpp:229 #25 0x00007ffff7bc4182 in start_thread (arg=0x7ffb2d133700) at pthread_create.c:312 #26 0x00007ffff6cc547d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 17334 (Thread 0x7ffb2db3d700 (LWP 9150)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x000000000132d05c in boost::condition_variable::timed_wait (this=0x59eb0d0, m=..., wait_until=...) at src/third_party/boost/boost/thread/pthread/condition_variable.hpp:74 #2 0x000000000132d476 in boost::condition_variable::timed_wait > (this=0x59eb0d0, m=..., wait_duration=...) at src/third_party/boost/boost/thread/pthread/condition_variable_fwd.hpp:72 #3 0x000000000132bbc2 in mongo::CondVarLockGrantNotification::wait (this=0x59eb0a0, timeoutMs=500) at src/mongo/db/concurrency/lock_state.cpp:247 #4 0x000000000132ed4d in mongo::LockerImpl::lockComplete (this=0x59eab00, resId=..., mode=mongo::MODE_IX, timeoutMs=4294967295, checkDeadlock=true) at src/mongo/db/concurrency/lock_state.cpp:703 #5 0x000000000132d5d4 in mongo::LockerImpl::lock (this=0x59eab00, resId=..., mode=mongo::MODE_IX, timeoutMs=4294967295, checkDeadlock=true) at src/mongo/db/concurrency/lock_state.cpp:422 #6 0x000000000132dde4 in mongo::LockerImpl::endWriteUnitOfWork (this=0x59eab00) at src/mongo/db/concurrency/lock_state.cpp:398 #7 0x00000000011425be in mongo::WriteUnitOfWork::commit (this=0x7ffb2db3ad50) at src/mongo/db/operation_context.h:167 #8 0x00000000015f3717 in mongo::repl::(anonymous namespace)::_logOpOld (txn=0x7ffb2db3c7d0, opstr=0x1ffba1f "n", ns=0x1ffb735 "", logNS=0x1ffb9f4 "local.oplog.$main", obj=..., o2=0x0, bb=0x0, fromMigrate=false) at src/mongo/db/repl/oplog.cpp:340 #9 0x00000000015f39b4 in mongo::repl::logOpComment (txn=0x7ffb2db3c7d0, obj=...) at src/mongo/db/repl/oplog.cpp:359 #10 0x00000000012dec12 in mongo::AppendOplogNoteCmd::run (this=0x287b780 , txn=0x7ffb2db3c7d0, dbname=..., cmdObj=..., errmsg=..., result=..., fromRepl=false) at src/mongo/db/commands/oplog_note.cpp:80 #11 0x0000000001339fe9 in mongo::_execCommand (txn=0x7ffb2db3c7d0, c=0x287b780 , dbname=..., cmdObj=..., queryOptions=0, errmsg=..., result=..., fromRepl=false) at src/mongo/db/dbcommands.cpp:1317 #12 0x000000000133af66 in mongo::Command::execCommand (txn=0x7ffb2db3c7d0, c=0x287b780 , queryOptions=0, cmdns=0x7a21014 "admin.$cmd", cmdObj=..., result=..., fromRepl=false) at src/mongo/db/dbcommands.cpp:1533 #13 0x000000000133b845 in mongo::_runCommands (txn=0x7ffb2db3c7d0, ns=0x7a21014 "admin.$cmd", _cmdobj=..., b=..., anObjBuilder=..., fromRepl=false, queryOptions=0) at src/mongo/db/dbcommands.cpp:1605 #14 0x000000000153f784 in mongo::runCommands (txn=0x7ffb2db3c7d0, ns=0x7a21014 "admin.$cmd", jsobj=..., curop=..., b=..., anObjBuilder=..., fromRepl=false, queryOptions=0) at src/mongo/db/query/find.cpp:137 #15 0x00000000015417ac in mongo::runQuery (txn=0x7ffb2db3c7d0, m=..., q=..., nss=..., curop=..., result=..., fromDBDirectClient=false) at src/mongo/db/query/find.cpp:606 #16 0x00000000014475be in mongo::receivedQuery (txn=0x7ffb2db3c7d0, c=..., dbresponse=..., m=..., fromDBDirectClient=false) at src/mongo/db/instance.cpp:220 #17 0x000000000144876e in mongo::assembleResponse (txn=0x7ffb2db3c7d0, m=..., dbresponse=..., remote=..., fromDBDirectClient=false) at src/mongo/db/instance.cpp:403 #18 0x0000000001142ef8 in mongo::MyMessageHandler::process (this=0x30c21d0, m=..., port=0x17b37610, le=0x7d66000) at src/mongo/db/db.cpp:206 #19 0x00000000018ec4c2 in mongo::PortMessageServer::handleIncomingMsg (arg=0x17b37610) at src/mongo/util/net/message_server_port.cpp:229 #20 0x00007ffff7bc4182 in start_thread (arg=0x7ffb2db3d700) at pthread_create.c:312 #21 0x00007ffff6cc547d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 5 (Thread 0x7ffff53c7700 (LWP 2149)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x000000000132d05c in boost::condition_variable::timed_wait (this=0x31067d0, m=..., wait_until=...) at src/third_party/boost/boost/thread/pthread/condition_variable.hpp:74 #2 0x000000000132d476 in boost::condition_variable::timed_wait > (this=0x31067d0, m=..., wait_duration=...) at src/third_party/boost/boost/thread/pthread/condition_variable_fwd.hpp:72 #3 0x000000000132bbc2 in mongo::CondVarLockGrantNotification::wait (this=0x31067a0, timeoutMs=500) at src/mongo/db/concurrency/lock_state.cpp:247 #4 0x000000000132ed4d in mongo::LockerImpl::lockComplete (this=0x3106200, resId=..., mode=mongo::MODE_S, timeoutMs=4294967295, checkDeadlock=false) at src/mongo/db/concurrency/lock_state.cpp:703 #5 0x000000000132d5d4 in mongo::LockerImpl::lock (this=0x3106200, resId=..., mode=mongo::MODE_S, timeoutMs=4294967295, checkDeadlock=false) at src/mongo/db/concurrency/lock_state.cpp:422 #6 0x000000000132be56 in mongo::AutoAcquireFlushLockForMMAPV1Commit::AutoAcquireFlushLockForMMAPV1Commit (this=0x7ffff53c6750, locker=0x3106200) at src/mongo/db/concurrency/lock_state.cpp:838 #7 0x00000000016e4abd in mongo::dur::durThread () at src/mongo/db/storage/mmap_v1/dur.cpp:737 #8 0x00000000015dfd63 in boost::detail::thread_data::run (this=0x34169c0) at src/third_party/boost/boost/thread/detail/thread.hpp:62 #9 0x000000000196102c in boost::(anonymous namespace)::thread_proxy (param=0x34169c0) at src/third_party/boost/libs/thread/src/pthread/thread.cpp:121 #10 0x00007ffff7bc4182 in start_thread (arg=0x7ffff53c7700) at pthread_create.c:312 #11 0x00007ffff6cc547d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111