Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save scotthernandez/af2940240821d316d9303f1eb39ccc60 to your computer and use it in GitHub Desktop.
Save scotthernandez/af2940240821d316d9303f1eb39ccc60 to your computer and use it in GitHub Desktop.
thread #1: initAndListen
thread #2: signalProcessingThread
thread #3: BackgroundThreadClockSource::_startTimerThread
thread #4: mongod`__log_file_server
thread #5: mongod`__log_wrlsn_server
thread #6: mongod`__log_server
thread #7: mongod`__evict_thread
thread #8: mongod`__sweep_server
thread #9: mongod`__ckpt_server
thread #10: WiredTigerKVEngine::WiredTigerJournalFlusher
thread #11: DeadlineMonitor -- js
thread #12: RangeDeleter
thread #13: ReplicationExecutor -- NetworkInterfaceASIO::waitForWorkUntil
thread #14: asio::io_service
... 4 worker pool threads
thread #18: TTLMonitor::getTTLIndexesForDB
thread #19: GlobalCursorIdCache::timeoutCursors
thread #20: PeriodicTaskRunner::run
thread #21: HostnameCanonicalizationWorker
thread #22: FTDCController
// **** join on applier thread. ****
thread #23: tid = 0xb6098, 0x00007fff966a510a libsystem_kernel.dylib`__semwait_signal + 10
frame #0: 0x00007fff966a510a libsystem_kernel.dylib`__semwait_signal + 10
frame #1: 0x00007fff98c91787 libsystem_pthread.dylib`pthread_join + 444
frame #2: 0x00007fff912d6e95 libc++.1.dylib`std::__1::thread::join() + 23
frame #3: 0x000000010eae4465 mongod`mongo::repl::ReplicationCoordinatorExternalStateImpl::stopDataReplication(this=0x00007fbad0535b30, txn=0x00007fbad042e300) + 565 at replication_coordinator_external_state_impl.cpp:200
frame #4: 0x000000010eaee73c mongod`mongo::repl::ReplicationCoordinatorImpl::_stopDataReplication(this=0x00007fbad103bc00, txn=0x00007fbad042e300) + 156 at replication_coordinator_impl.cpp:502
frame #5: 0x000000010eaf82dc mongod`mongo::repl::ReplicationCoordinatorImpl::resyncData(this=0x00007fbad103bc00, txn=0x00007fbad042e300) + 156 at replication_coordinator_impl.cpp:1927
thread #24: Socket::_recv
thread #25: asio::detail::scheduler
thread #26: SnapshotThread
thread #27: asio::detail::scheduler
... 22 worker pool threads
thread #49: Socket::recv
thread #50: OplogStones::awaitHasExcessStonesOrDead
thread #51: tid = 0xb61a5, 0x00007fff966a4db6 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #0: 0x00007fff966a4db6 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff98c90728 libsystem_pthread.dylib`_pthread_cond_wait + 767
frame #2: 0x00007fff9129868f libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47
frame #3: 0x000000010e5a0ffb mongod`mongo::Fetcher::wait() [inlined] void std::__1::condition_variable::wait<mongo::Fetcher::wait()::$_1>(this=0x00007fbad042cae0)::$_1) + 18 at __mutex_base:344
frame #4: 0x000000010e5a0fe9 mongod`mongo::Fetcher::wait(this=0x00007fbad042ca00) + 57 at fetcher.cpp:266
frame #5: 0x000000010ea4b8f5 mongod`mongo::repl::BackgroundSync::_produce(this=0x00007fbad2006d70, txn=0x00007fbad0617710) + 3909 at bgsync.cpp:377
frame #6: 0x000000010ea4a4d7 mongod`mongo::repl::BackgroundSync::_runProducer(this=<unavailable>) + 311 at bgsync.cpp:254
frame #7: 0x000000010ea4a078 mongod`mongo::repl::BackgroundSync::_run(this=0x00007fbad2006d70) + 952 at bgsync.cpp:194
thread #52: tid = 0xb61a6, 0x00007fff966a4db6 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #0: 0x00007fff966a4db6 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff98c90728 libsystem_pthread.dylib`_pthread_cond_wait + 767
frame #2: 0x00007fff91298728 libc++.1.dylib`std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 126
frame #3: 0x000000010e6501f7 mongod`std::__1::cv_status std::__1::condition_variable::wait_for<long long, std::__1::ratio<1l, 1000000l> >(this=<unavailable>, __lk=<unavailable>, __d=0x0000700001a99848) + 135 at __mutex_base:387
frame #4: 0x000000010eb5d0f9 mongod`mongo::repl::SyncTail::OpQueueBatcher::getNextBatch(this=0x0000700001a99c18, maxWaitTime=<unavailable>) + 105 at sync_tail.cpp:616
frame #5: 0x000000010eb55e0b mongod`mongo::repl::SyncTail::oplogApplication(this=0x0000700001a99e20) + 1259 at sync_tail.cpp:723
frame #6: 0x000000010eb477ac mongod`mongo::repl::runSyncThread(bgsync=0x00007fbad2006d70) + 732 at rs_sync.cpp:108
... 15 worker pool threads
thread #69: tid = 0xb61b8, 0x00007fff966a4db6 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #0: 0x00007fff966a4db6 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff98c90728 libsystem_pthread.dylib`_pthread_cond_wait + 767
frame #2: 0x00007fff91298728 libc++.1.dylib`std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 126
frame #3: 0x000000010e6501f7 mongod`std::__1::cv_status std::__1::condition_variable::wait_for<long long, std::__1::ratio<1l, 1000000l> >(this=<unavailable>, __lk=<unavailable>, __d=0x00007000023cfcd0) + 135 at __mutex_base:387
frame #4: 0x000000010eabacad mongod`mongo::BlockingQueue<mongo::BSONObj>::blockingPeek(mongo::BSONObj&, int)
thread #70: ApplyBatchFinalizerForJournal
thread #71: asio::detail::scheduler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment