Thread 19 (Thread 0x7f303c4ca700 (LWP 17997)): #0 0x00007f303cb690d1 in sigwait () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x0000000000bf73e6 in mongo::(anonymous namespace)::signalProcessingThread () at src/mongo/util/signal_handlers.cpp:170 #2 0x00007f303d344a40 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #3 0x00007f303cb61182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #4 0x00007f303c88e47d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 18 (Thread 0x7f303bcc9700 (LWP 17998)): #0 0x00007f303cb657ce in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x0000000000722c3d in __gthread_cond_timedwait (__abs_timeout=0x7f303bcc8ce0, __mutex=, __cond=0x102eda8 ) at /usr/include/x86_64-linux-gnu/c++/4.8/bits/gthr-default.h:871 #2 __wait_until_impl > > (__atime=..., __lock=..., this=0x102eda8 ) at /usr/include/c++/4.8/condition_variable:160 #3 wait_until > > (__atime=..., __lock=..., this=0x102eda8 ) at /usr/include/c++/4.8/condition_variable:100 #4 wait_for > (__rtime=..., __lock=..., this=0x102eda8 ) at /usr/include/c++/4.8/condition_variable:132 #5 mongo::(anonymous namespace)::ReplicaSetMonitorWatcher::run (this=0x102ed60 ) at src/mongo/client/replica_set_monitor.cpp:155 #6 0x0000000000b96257 in mongo::BackgroundJob::jobBody (this=0x102ed60 ) at src/mongo/util/background.cpp:152 #7 0x00007f303d344a40 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #8 0x00007f303cb61182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #9 0x00007f303c88e47d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 17 (Thread 0x7f303b4c8700 (LWP 17999)): #0 0x00007f303c88eb13 in epoll_wait () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x0000000000c13def in asio::detail::epoll_reactor::run (this=0x2fb0b00, block=, ops=...) at src/third_party/asio-asio-1-11-0/asio/include/asio/detail/impl/epoll_reactor.ipp:392 #2 0x0000000000c149b8 in asio::detail::scheduler::do_run_one (this=this@entry=0x2f90620, lock=..., this_thread=..., ec=...) at src/third_party/asio-asio-1-11-0/asio/include/asio/detail/impl/scheduler.ipp:353 #3 0x0000000000c14d71 in asio::detail::scheduler::run (this=0x2f90620, ec=...) at src/third_party/asio-asio-1-11-0/asio/include/asio/detail/impl/scheduler.ipp:146 #4 0x0000000000c191ff in asio::io_service::run (this=0x2e151d0) at src/third_party/asio-asio-1-11-0/asio/include/asio/impl/io_service.ipp:60 #5 0x00000000009af5d5 in operator() (__closure=0x2e86cb0) at src/mongo/executor/network_interface_asio.cpp:107 #6 _M_invoke<> (this=0x2e86cb0) at /usr/include/c++/4.8/functional:1732 #7 operator() (this=0x2e86cb0) at /usr/include/c++/4.8/functional:1720 #8 std::thread::_Impl >::_M_run(void) (this=0x2e86c98) at /usr/include/c++/4.8/thread:115 #9 0x00007f303d344a40 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #10 0x00007f303cb61182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #11 0x00007f303c88e47d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 16 (Thread 0x7f303acc7700 (LWP 18000)): #0 0x00007f303cb65414 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f303d3414bc in std::condition_variable::wait(std::unique_lock&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #2 0x0000000000b9cc46 in mongo::ThreadPool::_consumeTasks (this=this@entry=0x2e4c180) at src/mongo/util/concurrency/thread_pool.cpp:271 #3 0x0000000000b9d3f0 in mongo::ThreadPool::_workerThreadBody (pool=0x2e4c180, threadName=...) at src/mongo/util/concurrency/thread_pool.cpp:227 #4 0x00007f303d344a40 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #5 0x00007f303cb61182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #6 0x00007f303c88e47d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 15 (Thread 0x7f303a4c6700 (LWP 18001)): #0 0x00007f303c88eb13 in epoll_wait () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x0000000000c13def in asio::detail::epoll_reactor::run (this=0x2fb0420, block=, ops=...) at src/third_party/asio-asio-1-11-0/asio/include/asio/detail/impl/epoll_reactor.ipp:392 #2 0x0000000000c149b8 in asio::detail::scheduler::do_run_one (this=this@entry=0x2f90540, lock=..., this_thread=..., ec=...) at src/third_party/asio-asio-1-11-0/asio/include/asio/detail/impl/scheduler.ipp:353 #3 0x0000000000c14d71 in asio::detail::scheduler::run (this=0x2f90540, ec=...) at src/third_party/asio-asio-1-11-0/asio/include/asio/detail/impl/scheduler.ipp:146 #4 0x0000000000c191ff in asio::io_service::run (this=0x2e15410) at src/third_party/asio-asio-1-11-0/asio/include/asio/impl/io_service.ipp:60 #5 0x00000000009af5d5 in operator() (__closure=0x2e86d70) at src/mongo/executor/network_interface_asio.cpp:107 #6 _M_invoke<> (this=0x2e86d70) at /usr/include/c++/4.8/functional:1732 #7 operator() (this=0x2e86d70) at /usr/include/c++/4.8/functional:1720 #8 std::thread::_Impl >::_M_run(void) (this=0x2e86d58) at /usr/include/c++/4.8/thread:115 #9 0x00007f303d344a40 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #10 0x00007f303cb61182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #11 0x00007f303c88e47d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 14 (Thread 0x7f3039cc5700 (LWP 18002)): #0 0x00007f303cb65414 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f303d3414bc in std::condition_variable::wait(std::unique_lock&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #2 0x0000000000b9cc46 in mongo::ThreadPool::_consumeTasks (this=this@entry=0x2e4d380) at src/mongo/util/concurrency/thread_pool.cpp:271 #3 0x0000000000b9d3f0 in mongo::ThreadPool::_workerThreadBody (pool=0x2e4d380, threadName=...) at src/mongo/util/concurrency/thread_pool.cpp:227 #4 0x00007f303d344a40 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #5 0x00007f303cb61182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #6 0x00007f303c88e47d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 13 (Thread 0x7f30394c4700 (LWP 18003)): #0 0x00007f303cb657ce in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x0000000000a673ca in __gthread_cond_timedwait (__abs_timeout=0x7f30394c3df0, __mutex=, __cond=0x2e50778) at /usr/include/x86_64-linux-gnu/c++/4.8/bits/gthr-default.h:871 #2 __wait_until_impl > > (__atime=..., __lock=..., this=0x2e50778) at /usr/include/c++/4.8/condition_variable:160 #3 wait_until > > (__atime=..., __lock=..., this=0x2e50778) at /usr/include/c++/4.8/condition_variable:100 #4 wait_for > (__rtime=..., __lock=..., this=0x2e50778) at /usr/include/c++/4.8/condition_variable:132 #5 mongo::ReplSetDistLockManager::doTask (this=0x2e506c0) at src/mongo/s/catalog/replset/replset_dist_lock_manager.cpp:157 #6 0x00007f303d344a40 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #7 0x00007f303cb61182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #8 0x00007f303c88e47d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 12 (Thread 0x7f3038ab7700 (LWP 18013)): #0 0x00007f303cb65414 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x0000000000c14ad0 in wait > (lock=..., this=0x2f903d8) at src/third_party/asio-asio-1-11-0/asio/include/asio/detail/posix_event.hpp:105 #2 asio::detail::scheduler::do_run_one (this=this@entry=0x2f90380, lock=..., this_thread=..., ec=...) at src/third_party/asio-asio-1-11-0/asio/include/asio/detail/impl/scheduler.ipp:377 #3 0x0000000000c14d71 in asio::detail::scheduler::run (this=0x2f90380, ec=...) at src/third_party/asio-asio-1-11-0/asio/include/asio/detail/impl/scheduler.ipp:146 #4 0x0000000000c191ff in asio::io_service::run (this=0x2e221a0) at src/third_party/asio-asio-1-11-0/asio/include/asio/impl/io_service.ipp:60 #5 0x0000000000c0c6c0 in asio::detail::asio_detail_posix_thread_function (arg=0x2e22400) at src/third_party/asio-asio-1-11-0/asio/include/asio/detail/impl/posix_thread.ipp:73 #6 0x00007f303cb61182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #7 0x00007f303c88e47d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 11 (Thread 0x7f30382b6700 (LWP 18066)): #0 0x00007f303cb68b9d in nanosleep () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x0000000000c02ea5 in mongo::sleepsecs (s=s@entry=60) at src/mongo/util/time_support.cpp:798 #2 0x0000000000baaf1e in mongo::HostnameCanonicalizationWorker::_doWork (this=0x2e1d3e0) at src/mongo/util/net/hostname_canonicalization_worker.cpp:72 #3 0x00007f303d344a40 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #4 0x00007f303cb61182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #5 0x00007f303c88e47d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 10 (Thread 0x7f3037ab5700 (LWP 18067)): #0 0x00007f303cb65414 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f303d3414bc in std::condition_variable::wait(std::unique_lock&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #2 0x00000000009c966b in mongo::executor::ThreadPoolTaskExecutor::waitForEvent (this=, event=...) at src/mongo/executor/thread_pool_task_executor.cpp:214 #3 0x0000000000ac4635 in mongo::ShardRegistry::_runCommandWithMetadata (this=this@entry=0x2f9c200, executor=executor@entry=0x2e1e1b0, shard=..., readPref=..., dbName=..., cmdObj=..., metadata=...) at src/mongo/s/client/shard_registry.cpp:691 #4 0x0000000000ac4e90 in mongo::ShardRegistry::_runCommandWithNotMasterRetries (this=this@entry=0x2f9c200, executor=0x2e1e1b0, shard=..., dbname=..., cmdObj=..., metadata=...) at src/mongo/s/client/shard_registry.cpp:641 #5 0x0000000000ac596f in mongo::ShardRegistry::runCommandOnConfigWithNotMasterRetries (this=0x2f9c200, txn=txn@entry=0x2e2e9c0, dbname=..., cmdObj=...) at src/mongo/s/client/shard_registry.cpp:605 #6 0x0000000000a51655 in mongo::CatalogManagerReplicaSet::writeConfigServerDirect (this=, txn=0x2e2e9c0, batchRequest=..., batchResponse=0x7f3037ab4430) at src/mongo/s/catalog/replset/catalog_manager_replica_set.cpp:978 #7 0x0000000000a148d6 in operator() (__closure=) at src/mongo/s/catalog/forwarding_catalog_manager.cpp:557 #8 retry (c=, txn=0x2e2e9c0, this=0x2e4d500) at src/mongo/s/catalog/forwarding_catalog_manager.cpp:316 #9 mongo::ForwardingCatalogManager::writeConfigServerDirect (this=0x2e4d500, txn=0x2e2e9c0, request=..., response=0x7f3037ab45a0) at src/mongo/s/catalog/forwarding_catalog_manager.cpp:560 #10 0x0000000000a07cb1 in mongo::CatalogManager::update (this=0x2e4d500, txn=txn@entry=0x2e2e9c0, ns=..., query=..., update=..., upsert=upsert@entry=true, multi=multi@entry=false, response=0x7f3037ab45a0, response@entry=0x0) at src/mongo/s/catalog/catalog_manager.cpp:126 #11 0x00000000009f8371 in mongo::Balancer::_ping (this=this@entry=0x1037340 , txn=0x2e2e9c0, waiting=waiting@entry=false) at src/mongo/s/balance.cpp:219 #12 0x00000000009fc46b in mongo::Balancer::run (this=0x1037340 ) at src/mongo/s/balance.cpp:522 #13 0x0000000000b96257 in mongo::BackgroundJob::jobBody (this=0x1037340 ) at src/mongo/util/background.cpp:152 #14 0x00007f303d344a40 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #15 0x00007f303cb61182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #16 0x00007f303c88e47d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 9 (Thread 0x7f30372b4700 (LWP 18068)): #0 0x00007f303cb68b9d in nanosleep () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x0000000000c02f97 in mongo::sleepmicros (s=) at src/mongo/util/time_support.cpp:809 #2 0x0000000000c03041 in mongo::sleepmillis (s=) at src/mongo/util/time_support.cpp:814 #3 0x0000000000b9b66c in mongo::task::Task::run (this=0x2f94280) at src/mongo/util/concurrency/task.cpp:64 #4 0x0000000000b96257 in mongo::BackgroundJob::jobBody (this=0x2f94280) at src/mongo/util/background.cpp:152 #5 0x00007f303d344a40 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #6 0x00007f303cb61182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #7 0x00007f303c88e47d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 8 (Thread 0x7f3036ab3700 (LWP 18069)): #0 0x00007f303cb68b9d in nanosleep () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x0000000000c02f97 in mongo::sleepmicros (s=s@entry=4000000) at src/mongo/util/time_support.cpp:809 #2 0x0000000000b335ef in sleepFor > (time=...) at src/mongo/util/time_support.h:330 #3 mongo::ClusterCursorCleanupJob::run (this=) at src/mongo/s/query/cluster_cursor_cleanup_job.cpp:65 #4 0x0000000000b96257 in mongo::BackgroundJob::jobBody (this=0x103aa20 ) at src/mongo/util/background.cpp:152 #5 0x00007f303d344a40 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #6 0x00007f303cb61182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #7 0x00007f303c88e47d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 7 (Thread 0x7f30362b2700 (LWP 18070)): #0 0x00007f303cb657ce in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x000000000078e934 in __gthread_cond_timedwait (__abs_timeout=0x7f30362b1cb0, __mutex=, __cond=0x1031300 ) at /usr/include/x86_64-linux-gnu/c++/4.8/bits/gthr-default.h:871 #2 __wait_until_impl > > (__atime=..., __lock=..., this=0x1031300 ) at /usr/include/c++/4.8/condition_variable:160 #3 wait_until > > (__atime=..., __lock=..., this=0x1031300 ) at /usr/include/c++/4.8/condition_variable:100 #4 wait_for > (__rtime=..., __lock=..., this=0x1031300 ) at /usr/include/c++/4.8/condition_variable:132 #5 mongo::UserCacheInvalidator::run (this=0x7fffb9e45180) at src/mongo/db/auth/user_cache_invalidator_job.cpp:140 #6 0x0000000000b96257 in mongo::BackgroundJob::jobBody (this=0x7fffb9e45180) at src/mongo/util/background.cpp:152 #7 0x00007f303d344a40 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #8 0x00007f303cb61182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #9 0x00007f303c88e47d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 6 (Thread 0x7f3035ab1700 (LWP 18071)): #0 0x00007f303cb657ce in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x0000000000b96d1e in __gthread_cond_timedwait (__abs_timeout=0x7f3035ab0cb0, __mutex=, __cond=0x2e1e040) at /usr/include/x86_64-linux-gnu/c++/4.8/bits/gthr-default.h:871 #2 __wait_until_impl > > (__atime=..., __lock=..., this=0x2e1e040) at /usr/include/c++/4.8/condition_variable:160 #3 wait_until > > (__atime=..., __lock=..., this=0x2e1e040) at /usr/include/c++/4.8/condition_variable:100 #4 wait_for > (__rtime=, __lock=..., this=0x2e1e040) at /usr/include/c++/4.8/condition_variable:132 #5 mongo::(anonymous namespace)::PeriodicTaskRunner::run (this=0x2e1e000) at src/mongo/util/background.cpp:321 #6 0x0000000000b96257 in mongo::BackgroundJob::jobBody (this=0x2e1e000) at src/mongo/util/background.cpp:152 #7 0x00007f303d344a40 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #8 0x00007f303cb61182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #9 0x00007f303c88e47d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 5 (Thread 0x7f303db9b700 (LWP 18073)): #0 0x00007f303cb687eb in recv () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x0000000000bbe3cb in recv (__flags=16384, __n=16, __buf=__buf@entry=0x7f303db9abd0, __fd=) at /usr/include/x86_64-linux-gnu/bits/socket2.h:44 #2 mongo::Socket::_recv (this=this@entry=0x2fbcdc0, buf=buf@entry=0x7f303db9abd0 "\n", max=max@entry=16) at src/mongo/util/net/sock.cpp:783 #3 0x0000000000bbe411 in mongo::Socket::unsafe_recv (this=this@entry=0x2fbcdc0, buf=buf@entry=0x7f303db9abd0 "\n", max=max@entry=16) at src/mongo/util/net/sock.cpp:771 #4 0x0000000000bbe46d in mongo::Socket::recv (this=0x2fbcdc0, buf=buf@entry=0x7f303db9abd0 "\n", len=len@entry=16) at src/mongo/util/net/sock.cpp:761 #5 0x0000000000bb325b in mongo::MessagingPort::recv (this=this@entry=0x2e1d6b0, m=...) at src/mongo/util/net/message_port.cpp:142 #6 0x0000000000bb4c7f in mongo::PortMessageServer::handleIncomingMsg (arg=0x2e1d6b0) at src/mongo/util/net/message_server_port.cpp:218 #7 0x00007f303cb61182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #8 0x00007f303c88e47d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 4 (Thread 0x7f30352b0700 (LWP 18077)): #0 0x00007f303cb65414 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f303d3414bc in std::condition_variable::wait(std::unique_lock&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #2 0x00000000006f089b in wait (__p=..., __lock=..., this=0x7f30352ae110) at /usr/include/c++/4.8/condition_variable:93 #3 mongo::Fetcher::wait (this=this@entry=0x7f30352ae080) at src/mongo/client/fetcher.cpp:222 #4 0x0000000000ac8fe0 in wait (this=0x7f30352ae070) at src/mongo/client/query_fetcher.h:76 #5 mongo::ShardRegistry::_exhaustiveFindOnConfig (this=this@entry=0x2f9c200, txn=txn@entry=0x2e2eb40, readPref=..., nss=..., query=..., sort=..., limit=...) at src/mongo/s/client/shard_registry.cpp:483 #6 0x0000000000ac945d in mongo::ShardRegistry::exhaustiveFindOnConfig (this=0x2f9c200, txn=0x2e2eb40, readPref=..., nss=..., query=..., sort=..., limit=...) at src/mongo/s/client/shard_registry.cpp:506 #7 0x0000000000a4db2c in mongo::CatalogManagerReplicaSet::_exhaustiveFindOnConfig (this=this@entry=0x2fb5260, txn=txn@entry=0x2e2eb40, readPref=..., nss=..., query=..., sort=..., limit=...) at src/mongo/s/catalog/replset/catalog_manager_replica_set.cpp:1224 #8 0x0000000000a4de24 in mongo::CatalogManagerReplicaSet::_fetchDatabaseMetadata (this=this@entry=0x2fb5260, txn=txn@entry=0x2e2eb40, dbName=..., readPref=...) at src/mongo/s/catalog/replset/catalog_manager_replica_set.cpp:375 #9 0x0000000000a5a7a8 in mongo::CatalogManagerReplicaSet::getDatabase (this=0x2fb5260, txn=0x2e2eb40, dbName=...) at src/mongo/s/catalog/replset/catalog_manager_replica_set.cpp:348 #10 0x0000000000a12a3d in operator() (__closure=) at src/mongo/s/catalog/forwarding_catalog_manager.cpp:404 #11 retry (c=, txn=0x2e2eb40, this=0x2e4d500) at src/mongo/s/catalog/forwarding_catalog_manager.cpp:316 #12 mongo::ForwardingCatalogManager::getDatabase (this=0x2e4d500, txn=0x2e2eb40, dbName=...) at src/mongo/s/catalog/forwarding_catalog_manager.cpp:404 #13 0x0000000000a06465 in mongo::CatalogCache::getDatabase (this=0x2fb5380, txn=txn@entry=0x2e2eb40, dbName=...) at src/mongo/s/catalog/catalog_cache.cpp:58 #14 0x0000000000b37759 in mongo::ClusterFind::runQuery (txn=txn@entry=0x2e2eb40, query=..., readPref=..., results=results@entry=0x7f30352af1f0) at src/mongo/s/query/cluster_find.cpp:349 #15 0x0000000000ae710c in mongo::(anonymous namespace)::ClusterFindCmd::run (this=, txn=0x2e2eb40, dbname=..., cmdObj=..., options=0, errmsg=..., result=...) at src/mongo/s/commands/cluster_find_cmd.cpp:161 #16 0x0000000000b400a1 in mongo::Command::execCommandClientBasic (txn=txn@entry=0x2e2eb40, c=c@entry=0x1038780 , client=..., queryOptions=queryOptions@entry=0, ns=ns@entry=0x2fa1c14 "test.$cmd", cmdObj=..., result=...) at src/mongo/s/s_only.cpp:128 #17 0x0000000000b4064d in mongo::Command::runAgainstRegistered (txn=txn@entry=0x2e2eb40, ns=0x2fa1c14 "test.$cmd", jsobj=..., anObjBuilder=..., queryOptions=0) at src/mongo/s/s_only.cpp:170 #18 0x0000000000b4eb61 in mongo::Strategy::clientCommandOp (txn=txn@entry=0x2e2eb40, request=...) at src/mongo/s/strategy.cpp:402 #19 0x0000000000b3f747 in mongo::Request::process (this=this@entry=0x7f30352afb90, txn=0x2e2eb40, attempt=attempt@entry=0) at src/mongo/s/request.cpp:111 #20 0x0000000000674605 in mongo::ShardedMessageHandler::process (this=, m=..., p=0x2e1d700) at src/mongo/s/server.cpp:140 #21 0x0000000000bb4c9d in mongo::PortMessageServer::handleIncomingMsg (arg=0x2e1d700) at src/mongo/util/net/message_server_port.cpp:229 #22 0x00007f303cb61182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #23 0x00007f303c88e47d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 3 (Thread 0x7f30351af700 (LWP 18081)): #0 0x00007f303cb687eb in recv () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x0000000000bbe3cb in recv (__flags=16384, __n=16, __buf=__buf@entry=0x7f30351aebd0, __fd=) at /usr/include/x86_64-linux-gnu/bits/socket2.h:44 #2 mongo::Socket::_recv (this=this@entry=0x2fbd080, buf=buf@entry=0x7f30351aebd0 "\n", max=max@entry=16) at src/mongo/util/net/sock.cpp:783 #3 0x0000000000bbe411 in mongo::Socket::unsafe_recv (this=this@entry=0x2fbd080, buf=buf@entry=0x7f30351aebd0 "\n", max=max@entry=16) at src/mongo/util/net/sock.cpp:771 #4 0x0000000000bbe46d in mongo::Socket::recv (this=0x2fbd080, buf=buf@entry=0x7f30351aebd0 "\n", len=len@entry=16) at src/mongo/util/net/sock.cpp:761 #5 0x0000000000bb325b in mongo::MessagingPort::recv (this=this@entry=0x2e1d750, m=...) at src/mongo/util/net/message_port.cpp:142 #6 0x0000000000bb4c7f in mongo::PortMessageServer::handleIncomingMsg (arg=0x2e1d750) at src/mongo/util/net/message_server_port.cpp:218 #7 0x00007f303cb61182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #8 0x00007f303c88e47d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 2 (Thread 0x7f30350ae700 (LWP 18082)): #0 0x00007f303cb65414 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x0000000000c14ad0 in wait > (lock=..., this=0x2f90758) at src/third_party/asio-asio-1-11-0/asio/include/asio/detail/posix_event.hpp:105 #2 asio::detail::scheduler::do_run_one (this=this@entry=0x2f90700, lock=..., this_thread=..., ec=...) at src/third_party/asio-asio-1-11-0/asio/include/asio/detail/impl/scheduler.ipp:377 #3 0x0000000000c14d71 in asio::detail::scheduler::run (this=0x2f90700, ec=...) at src/third_party/asio-asio-1-11-0/asio/include/asio/detail/impl/scheduler.ipp:146 #4 0x0000000000c191ff in asio::io_service::run (this=0x2e221c0) at src/third_party/asio-asio-1-11-0/asio/include/asio/impl/io_service.ipp:60 #5 0x0000000000c0c6c0 in asio::detail::asio_detail_posix_thread_function (arg=0x2e22820) at src/third_party/asio-asio-1-11-0/asio/include/asio/detail/impl/posix_thread.ipp:73 #6 0x00007f303cb61182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #7 0x00007f303c88e47d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 1 (Thread 0x7f303db9d7c0 (LWP 17993)): #0 0x00007f303c885da3 in select () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x0000000000bae7fa in mongo::Listener::initAndListen (this=0x2fb81a8) at src/mongo/util/net/listen.cpp:269 #2 0x00000000006721d7 in runMongosServer () at src/mongo/s/server.cpp:273 #3 _main () at src/mongo/s/server.cpp:331 #4 mongoSMain (argc=, argv=, envp=) at src/mongo/s/server.cpp:391 #5 0x0000000000644849 in main (argc=, argv=, envp=) at src/mongo/s/server.cpp:419