|
We have a multi-threaded app doing bulk loading (each thread loading different set of data), with 10 thread, all threads are hanging with the same call stack.
#0 0x0000003ba820eb5c in recv () from /lib64/libpthread.so.0
#1 0x00007f291f2d36cf in mongo::Socket::_recv(char*, int) () from /opt/mtx/lib/libmongoclient.so
#2 0x00007f291f2d36f9 in mongo::Socket::unsafe_recv(char*, int) () from /opt/mtx/lib/libmongoclient.so
#3 0x00007f291f2d373f in mongo::Socket::recv(char*, int) () from /opt/mtx/lib/libmongoclient.so
#4 0x00007f291f2cb514 in mongo::MessagingPort::recv(mongo::Message&) () from /opt/mtx/lib/libmongoclient.so
#5 0x00007f291f2cc4c2 in mongo::MessagingPort::recv(mongo::Message const&, mongo::Message&) () from /opt/mtx/lib/libmongoclient.so
#6 0x00007f291f25c629 in mongo::DBClientConnection::call(mongo::Message&, mongo::Message&, bool, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*) () from /opt/mtx/lib/libmongoclient.so
#7 0x00007f291f2790b1 in mongo::DBClientCursor::init() () from /opt/mtx/lib/libmongoclient.so
#8 0x00007f291f24906d in mongo::DBClientBase::query(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, mongo::Query, int, int, mongo::BSONObj const*, int, int) () from /opt/mtx/lib/libmongoclient.so
#9 0x00007f291f25c4d3 in mongo::DBClientConnection::query(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, mongo::Query, int, int, mongo::BSONObj const*, int, int) () from /opt/mtx/lib/libmongoclient.so
#10 0x00007f291f25b2d2 in mongo::DBClientInterface::findN(std::vector<mongo::BSONObj, std::allocator<mongo::BSONObj> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, mongo::Query, int, int, mongo::BSONObj const*, int, int) () from /opt/mtx/lib/libmongoclient.so
#11 0x00007f291f25b640 in mongo::DBClientInterface::findOne(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, mongo::Query const&, mongo::BSONObj const*, int) () from /opt/mtx/lib/libmongoclient.so
#12 0x00007f291f2551e0 in mongo::DBClientWithCommands::runCommand(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, mongo::BSONObj const&, mongo::BSONObj&, int) () from /opt/mtx/lib/libmongoclient.so
#13 0x00007f291f255353 in mongo::DBClientConnection::runCommand(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, mongo::BSONObj const&, mongo::BSONObj&, int) () from /opt/mtx/lib/libmongoclient.so
#14 0x00007f291f245488 in mongo::CommandWriter::_send(mongo::BSONObjBuilder*, mongo::WriteConcern const*, mongo::StringData const&) () from /opt/mtx/lib/libmongoclient.so
#15 0x00007f291f245f1c in mongo::CommandWriter::write(mongo::StringData const&, std::vector<mongo::WriteOperation*, std::allocator<mongo::WriteOperation*> > const&, bool, mongo::WriteConcern const*, mongo::WriteResult*) () from /opt/mtx/lib/libmongoclient.so
#16 0x00007f291f24a93d in mongo::DBClientBase::_write(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<mongo::WriteOperation*, std::allocator<mongo::WriteOperation*> > const&, bool, mongo::WriteConcern const*, mongo::WriteResult*) () from /opt/mtx/lib/libmongoclient.so
#17 0x00007f291f565b0f in EventLoader::EventLoaderWorkerTask::commitBulk(mongo::BulkOperationBuilder&, std::vector<mongo::BSONObj, std::allocator<mongo::BSONObj> >&, char const*) () from /opt/mtx/lib/libevent_loader.so
|