-------------------------------------------------------------------------------- Command: /data/mongo/mongo/mongod -port 10001 --dbpath /data/mongodb/shard1/ --logpath /data/mongodb/shard1/log.txt --replSet shard0000 Massif arguments: (none) ms_print arguments: massif.out.31190 -------------------------------------------------------------------------------- MB 76.19^ : | ::::::::::::::# | @::@:::::::@::@: : : :: ::: :# | @::::::::::::@: @: : : :@: @: : : :: ::: :# | :::@::::::::::::@: ::: :::: :@: @: : : :@: @: : : :: ::: :# | ::@@@::::::@: :@: : ::: :: @: ::: :::: :@: @: : : :@: @: : : :: ::: :# | : @@ :: :: @: :@: : ::: :: @: ::: :::: :@: @: : : :@: @: : : :: ::: :# | : @@ :: :: @: :@: : ::: :: @: ::: :::: :@: @: : : :@: @: : : :: ::: :# | : @@ :: :: @: :@: : ::: :: @: ::: :::: :@: @: : : :@: @: : : :: ::: :# | : @@ :: :: @: :@: : ::: :: @: ::: :::: :@: @: : : :@: @: : : :: ::: :# | : @@ :: :: @: :@: : ::: :: @: ::: :::: :@: @: : : :@: @: : : :: ::: :# | : @@ :: :: @: :@: : ::: :: @: ::: :::: :@: @: : : :@: @: : : :: ::: :# | : @@ :: :: @: :@: : ::: :: @: ::: :::: :@: @: : : :@: @: : : :: ::: :# | : @@ :: :: @: :@: : ::: :: @: ::: :::: :@: @: : : :@: @: : : :: ::: :# | : @@ :: :: @: :@: : ::: :: @: ::: :::: :@: @: : : :@: @: : : :: ::: :# | : @@ :: :: @: :@: : ::: :: @: ::: :::: :@: @: : : :@: @: : : :: ::: :# | : @@ :: :: @: :@: : ::: :: @: ::: :::: :@: @: : : :@: @: : : :: ::: :# | : @@ :: :: @: :@: : ::: :: @: ::: :::: :@: @: : : :@: @: : : :: ::: :# | : @@ :: :: @: :@: : ::: :: @: ::: :::: :@: @: : : :@: @: : : :: ::: :# | : @@ :: :: @: :@: : ::: :: @: ::: :::: :@: @: : : :@: @: : : :: ::: :# 0 +----------------------------------------------------------------------->Gi 0 182.5 Number of snapshots: 50 Detailed snapshots: [2, 3, 8, 11, 19, 29, 31, 36, 38, 48 (peak)] -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 0 0 0 0 0 0 1 5,037,219,833 60,778,104 60,605,113 172,991 0 2 9,933,457,506 61,359,824 61,156,481 203,343 0 99.67% (61,156,481B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->61.52% (37,748,736B) 0xD4DA27: mongo::AlignedBuilder::_malloc(unsigned int) (alignedbuilder.cpp:108) | ->61.52% (37,748,736B) 0xD4D679: mongo::AlignedBuilder::AlignedBuilder(unsigned int) (alignedbuilder.cpp:26) | ->54.68% (33,554,432B) 0xACB7FD: mongo::dur::Journal::journal(mongo::dur::JSectHeader const&, mongo::AlignedBuilder const&) (dur_journal.cpp:705) | | ->54.68% (33,554,432B) 0xACB68E: mongo::dur::WRITETOJOURNAL(mongo::dur::JSectHeader, mongo::AlignedBuilder&) (dur_journal.cpp:700) | | ->54.68% (33,554,432B) 0xAC1C9C: mongo::dur::_groupCommitWithLimitedLocks() (dur.cpp:584) | | ->54.68% (33,554,432B) 0xAC1DC7: mongo::dur::groupCommitWithLimitedLocks() (dur.cpp:608) | | ->54.68% (33,554,432B) 0xAC26BA: mongo::dur::durThreadGroupCommit() (dur.cpp:743) | | ->54.68% (33,554,432B) 0xAC2A1A: mongo::dur::durThread() (dur.cpp:814) | | ->54.68% (33,554,432B) 0x9854ED: boost::detail::thread_data::run() (thread.hpp:62) | | ->54.68% (33,554,432B) 0xDB7CA4: thread_proxy (thread.cpp:121) | | ->54.68% (33,554,432B) 0x4E35E98: start_thread (pthread_create.c:308) | | ->54.68% (33,554,432B) 0x5950CBB: clone (clone.S:112) | | | ->06.84% (4,194,304B) 0xAC2FF9: __static_initialization_and_destruction_0(int, int) (dur.cpp:546) | | ->06.84% (4,194,304B) 0xAC304A: _GLOBAL__sub_I_dur.cpp (dur.cpp:893) | | ->06.84% (4,194,304B) 0xEF172B: __libc_csu_init (in /data/mongo/mongo/mongod) | | ->06.84% (4,194,304B) 0x587E6FE: (below main) (libc-start.c:185) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->34.19% (20,978,696B) 0xC29B46: __static_initialization_and_destruction_0(int, int) (record.cpp:198) | ->34.19% (20,978,696B) 0xC29BFD: _GLOBAL__sub_I_record.cpp (record.cpp:453) | ->34.19% (20,978,696B) 0xEF172B: __libc_csu_init (in /data/mongo/mongo/mongod) | ->34.19% (20,978,696B) 0x587E6FE: (below main) (libc-start.c:185) | ->02.95% (1,811,201B) in 483 places, all below massif's threshold (01.00%) | ->01.01% (617,848B) 0x96F7C9: mongo::ourmalloc(unsigned long) (allocator.h:28) ->01.01% (617,848B) in 4 places, all below massif's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 3 13,403,944,592 61,643,520 61,418,128 225,392 0 99.63% (61,418,128B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->61.24% (37,748,736B) 0xD4DA27: mongo::AlignedBuilder::_malloc(unsigned int) (alignedbuilder.cpp:108) | ->61.24% (37,748,736B) 0xD4D679: mongo::AlignedBuilder::AlignedBuilder(unsigned int) (alignedbuilder.cpp:26) | ->54.43% (33,554,432B) 0xACB7FD: mongo::dur::Journal::journal(mongo::dur::JSectHeader const&, mongo::AlignedBuilder const&) (dur_journal.cpp:705) | | ->54.43% (33,554,432B) 0xACB68E: mongo::dur::WRITETOJOURNAL(mongo::dur::JSectHeader, mongo::AlignedBuilder&) (dur_journal.cpp:700) | | ->54.43% (33,554,432B) 0xAC1C9C: mongo::dur::_groupCommitWithLimitedLocks() (dur.cpp:584) | | ->54.43% (33,554,432B) 0xAC1DC7: mongo::dur::groupCommitWithLimitedLocks() (dur.cpp:608) | | ->54.43% (33,554,432B) 0xAC26BA: mongo::dur::durThreadGroupCommit() (dur.cpp:743) | | ->54.43% (33,554,432B) 0xAC2A1A: mongo::dur::durThread() (dur.cpp:814) | | ->54.43% (33,554,432B) 0x9854ED: boost::detail::thread_data::run() (thread.hpp:62) | | ->54.43% (33,554,432B) 0xDB7CA4: thread_proxy (thread.cpp:121) | | ->54.43% (33,554,432B) 0x4E35E98: start_thread (pthread_create.c:308) | | ->54.43% (33,554,432B) 0x5950CBB: clone (clone.S:112) | | | ->06.80% (4,194,304B) 0xAC2FF9: __static_initialization_and_destruction_0(int, int) (dur.cpp:546) | | ->06.80% (4,194,304B) 0xAC304A: _GLOBAL__sub_I_dur.cpp (dur.cpp:893) | | ->06.80% (4,194,304B) 0xEF172B: __libc_csu_init (in /data/mongo/mongo/mongod) | | ->06.80% (4,194,304B) 0x587E6FE: (below main) (libc-start.c:185) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->34.03% (20,978,696B) 0xC29B46: __static_initialization_and_destruction_0(int, int) (record.cpp:198) | ->34.03% (20,978,696B) 0xC29BFD: _GLOBAL__sub_I_record.cpp (record.cpp:453) | ->34.03% (20,978,696B) 0xEF172B: __libc_csu_init (in /data/mongo/mongo/mongod) | ->34.03% (20,978,696B) 0x587E6FE: (below main) (libc-start.c:185) | ->03.13% (1,927,529B) in 483 places, all below massif's threshold (01.00%) | ->01.24% (763,167B) 0x96F7C9: mongo::ourmalloc(unsigned long) (allocator.h:28) ->01.24% (763,167B) in 4 places, all below massif's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 4 18,372,307,366 62,167,720 61,911,978 255,742 0 5 20,973,880,466 62,443,624 62,172,606 271,018 0 6 24,727,975,668 62,891,336 62,595,583 295,753 0 7 28,469,199,421 63,009,032 62,749,441 259,591 0 8 33,921,863,738 63,878,608 63,529,577 349,031 0 99.45% (63,529,577B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->59.09% (37,748,736B) 0xD4DA27: mongo::AlignedBuilder::_malloc(unsigned int) (alignedbuilder.cpp:108) | ->59.09% (37,748,736B) 0xD4D679: mongo::AlignedBuilder::AlignedBuilder(unsigned int) (alignedbuilder.cpp:26) | ->52.53% (33,554,432B) 0xACB7FD: mongo::dur::Journal::journal(mongo::dur::JSectHeader const&, mongo::AlignedBuilder const&) (dur_journal.cpp:705) | | ->52.53% (33,554,432B) 0xACB68E: mongo::dur::WRITETOJOURNAL(mongo::dur::JSectHeader, mongo::AlignedBuilder&) (dur_journal.cpp:700) | | ->52.53% (33,554,432B) 0xAC1C9C: mongo::dur::_groupCommitWithLimitedLocks() (dur.cpp:584) | | ->52.53% (33,554,432B) 0xAC1DC7: mongo::dur::groupCommitWithLimitedLocks() (dur.cpp:608) | | ->52.53% (33,554,432B) 0xAC26BA: mongo::dur::durThreadGroupCommit() (dur.cpp:743) | | ->52.53% (33,554,432B) 0xAC2A1A: mongo::dur::durThread() (dur.cpp:814) | | ->52.53% (33,554,432B) 0x9854ED: boost::detail::thread_data::run() (thread.hpp:62) | | ->52.53% (33,554,432B) 0xDB7CA4: thread_proxy (thread.cpp:121) | | ->52.53% (33,554,432B) 0x4E35E98: start_thread (pthread_create.c:308) | | ->52.53% (33,554,432B) 0x5950CBB: clone (clone.S:112) | | | ->06.57% (4,194,304B) 0xAC2FF9: __static_initialization_and_destruction_0(int, int) (dur.cpp:546) | | ->06.57% (4,194,304B) 0xAC304A: _GLOBAL__sub_I_dur.cpp (dur.cpp:893) | | ->06.57% (4,194,304B) 0xEF172B: __libc_csu_init (in /data/mongo/mongo/mongod) | | ->06.57% (4,194,304B) 0x587E6FE: (below main) (libc-start.c:185) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->32.84% (20,978,696B) 0xC29B46: __static_initialization_and_destruction_0(int, int) (record.cpp:198) | ->32.84% (20,978,696B) 0xC29BFD: _GLOBAL__sub_I_record.cpp (record.cpp:453) | ->32.84% (20,978,696B) 0xEF172B: __libc_csu_init (in /data/mongo/mongo/mongod) | ->32.84% (20,978,696B) 0x587E6FE: (below main) (libc-start.c:185) | ->04.63% (2,958,613B) in 484 places, all below massif's threshold (01.00%) | ->02.89% (1,843,532B) 0x96F7C9: mongo::ourmalloc(unsigned long) (allocator.h:28) ->01.86% (1,189,888B) 0xD6C6B1: mongo::MessagingPort::recv(mongo::Message&) (message_port.cpp:188) | ->01.86% (1,188,864B) 0x9AF673: mongo::DBClientConnection::recv(mongo::Message&) (dbclient.cpp:1145) | | ->01.86% (1,188,864B) 0x9D2D29: mongo::DBClientCursor::initLazyFinish(bool&) (dbclientcursor.cpp:89) | | ->01.86% (1,188,864B) 0x9FC29E: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1425) | | ->01.86% (1,188,864B) 0x9FB507: mongo::ParallelSortClusteredCursor::_init() (parallel.cpp:1282) | | ->01.86% (1,188,864B) 0x9F0DD3: mongo::ClusteredCursor::init() (parallel.cpp:83) | | ->01.86% (1,188,864B) 0xA7CADB: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1311) | | ->01.86% (1,188,864B) 0xA98918: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | ->01.86% (1,188,864B) 0xA9968A: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | ->01.86% (1,188,864B) 0xA9A0E3: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | ->01.86% (1,188,864B) 0xB8F3CC: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | ->01.86% (1,188,864B) 0xB93DAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | ->01.86% (1,188,864B) 0xB1E974: mongo::receivedQuery(mongo::Client&, mongo::DbResponse&, mongo::Message&) (instance.cpp:244) | | ->01.86% (1,188,864B) 0xB1F922: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:390) | | ->01.86% (1,188,864B) 0x9757F1: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:192) | | ->01.86% (1,188,864B) 0xD6F2A8: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | ->01.86% (1,188,864B) 0x4E35E98: start_thread (pthread_create.c:308) | | ->01.86% (1,188,864B) 0x5950CBB: clone (clone.S:112) | | | ->00.00% (1,024B) in 1+ places, all below ms_print's threshold (01.00%) | ->01.02% (652,216B) 0x96F8F2: mongo::TrivialAllocator::Malloc(unsigned long) (builder.h:66) | ->01.02% (652,216B) 0x977447: mongo::_BufBuilder::_BufBuilder(int) (builder.h:106) | ->01.02% (652,216B) in 10 places, all below massif's threshold (01.00%) | ->00.00% (1,428B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 9 36,259,736,882 64,049,072 63,687,034 362,038 0 10 41,279,099,926 64,544,568 64,153,906 390,662 0 11 44,581,951,652 64,623,024 64,285,673 337,351 0 99.48% (64,285,673B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->58.41% (37,748,736B) 0xD4DA27: mongo::AlignedBuilder::_malloc(unsigned int) (alignedbuilder.cpp:108) | ->58.41% (37,748,736B) 0xD4D679: mongo::AlignedBuilder::AlignedBuilder(unsigned int) (alignedbuilder.cpp:26) | ->51.92% (33,554,432B) 0xACB7FD: mongo::dur::Journal::journal(mongo::dur::JSectHeader const&, mongo::AlignedBuilder const&) (dur_journal.cpp:705) | | ->51.92% (33,554,432B) 0xACB68E: mongo::dur::WRITETOJOURNAL(mongo::dur::JSectHeader, mongo::AlignedBuilder&) (dur_journal.cpp:700) | | ->51.92% (33,554,432B) 0xAC1C9C: mongo::dur::_groupCommitWithLimitedLocks() (dur.cpp:584) | | ->51.92% (33,554,432B) 0xAC1DC7: mongo::dur::groupCommitWithLimitedLocks() (dur.cpp:608) | | ->51.92% (33,554,432B) 0xAC26BA: mongo::dur::durThreadGroupCommit() (dur.cpp:743) | | ->51.92% (33,554,432B) 0xAC2A1A: mongo::dur::durThread() (dur.cpp:814) | | ->51.92% (33,554,432B) 0x9854ED: boost::detail::thread_data::run() (thread.hpp:62) | | ->51.92% (33,554,432B) 0xDB7CA4: thread_proxy (thread.cpp:121) | | ->51.92% (33,554,432B) 0x4E35E98: start_thread (pthread_create.c:308) | | ->51.92% (33,554,432B) 0x5950CBB: clone (clone.S:112) | | | ->06.49% (4,194,304B) 0xAC2FF9: __static_initialization_and_destruction_0(int, int) (dur.cpp:546) | | ->06.49% (4,194,304B) 0xAC304A: _GLOBAL__sub_I_dur.cpp (dur.cpp:893) | | ->06.49% (4,194,304B) 0xEF172B: __libc_csu_init (in /data/mongo/mongo/mongod) | | ->06.49% (4,194,304B) 0x587E6FE: (below main) (libc-start.c:185) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->32.46% (20,978,696B) 0xC29B46: __static_initialization_and_destruction_0(int, int) (record.cpp:198) | ->32.46% (20,978,696B) 0xC29BFD: _GLOBAL__sub_I_record.cpp (record.cpp:453) | ->32.46% (20,978,696B) 0xEF172B: __libc_csu_init (in /data/mongo/mongo/mongod) | ->32.46% (20,978,696B) 0x587E6FE: (below main) (libc-start.c:185) | ->03.74% (2,416,822B) 0x96F7C9: mongo::ourmalloc(unsigned long) (allocator.h:28) | ->02.44% (1,573,888B) 0xD6C6B1: mongo::MessagingPort::recv(mongo::Message&) (message_port.cpp:188) | | ->02.43% (1,572,864B) 0x9AF673: mongo::DBClientConnection::recv(mongo::Message&) (dbclient.cpp:1145) | | | ->02.43% (1,572,864B) 0x9D2D29: mongo::DBClientCursor::initLazyFinish(bool&) (dbclientcursor.cpp:89) | | | ->02.43% (1,572,864B) 0x9FC29E: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1425) | | | ->02.43% (1,572,864B) 0x9FB507: mongo::ParallelSortClusteredCursor::_init() (parallel.cpp:1282) | | | ->02.43% (1,572,864B) 0x9F0DD3: mongo::ClusteredCursor::init() (parallel.cpp:83) | | | ->02.43% (1,572,864B) 0xA7CADB: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1311) | | | ->02.43% (1,572,864B) 0xA98918: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | ->02.43% (1,572,864B) 0xA9968A: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | ->02.43% (1,572,864B) 0xA9A0E3: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | ->02.43% (1,572,864B) 0xB8F3CC: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | ->02.43% (1,572,864B) 0xB93DAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | ->02.43% (1,572,864B) 0xB1E974: mongo::receivedQuery(mongo::Client&, mongo::DbResponse&, mongo::Message&) (instance.cpp:244) | | | ->02.43% (1,572,864B) 0xB1F922: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:390) | | | ->02.43% (1,572,864B) 0x9757F1: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:192) | | | ->02.43% (1,572,864B) 0xD6F2A8: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | ->02.43% (1,572,864B) 0x4E35E98: start_thread (pthread_create.c:308) | | | ->02.43% (1,572,864B) 0x5950CBB: clone (clone.S:112) | | | | | ->00.00% (1,024B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->01.30% (841,588B) 0x96F8F2: mongo::TrivialAllocator::Malloc(unsigned long) (builder.h:66) | | ->01.30% (841,588B) 0x977447: mongo::_BufBuilder::_BufBuilder(int) (builder.h:106) | | ->01.27% (823,156B) 0x9710EE: mongo::BSONObjBuilder::BSONObjBuilder(int) (bsonobjbuilder.h:93) | | | ->01.23% (792,576B) 0x9B4EB8: void mongo::Query::appendComplex(char const*, mongo::BSONObj const&) (dbclientinterface.h:403) | | | | ->01.23% (792,576B) 0x9A804B: mongo::Query::sort(mongo::BSONObj const&) (dbclient.cpp:225) | | | | ->01.23% (792,576B) 0xA7CA7E: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1310) | | | | | ->01.23% (792,576B) 0xA98918: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | | | ->01.23% (792,576B) 0xA9968A: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | | | ->01.23% (792,576B) 0xA9A0E3: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | | | ->01.23% (792,576B) 0xB8F3CC: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | | | ->01.23% (792,576B) 0xB93DAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | | | ->01.23% (792,576B) 0xB1E974: mongo::receivedQuery(mongo::Client&, mongo::DbResponse&, mongo::Message&) (instance.cpp:244) | | | | | ->01.23% (792,576B) 0xB1F922: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:390) | | | | | ->01.23% (792,576B) 0x9757F1: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:192) | | | | | ->01.23% (792,576B) 0xD6F2A8: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | | | ->01.23% (792,576B) 0x4E35E98: start_thread (pthread_create.c:308) | | | | | ->01.23% (792,576B) 0x5950CBB: clone (clone.S:112) | | | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | | | ->00.05% (30,580B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.03% (18,432B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.00% (1,346B) in 1+ places, all below ms_print's threshold (01.00%) | ->03.64% (2,354,475B) in 483 places, all below massif's threshold (01.00%) | ->01.22% (786,944B) 0x9B9CAA: __gnu_cxx::new_allocator::allocate(unsigned long, void const*) (new_allocator.h:92) ->01.22% (786,944B) 0x9B98C5: std::_Deque_base >::_M_allocate_node() (stl_deque.h:525) | ->01.22% (786,944B) 0x9B9A39: std::_Deque_base >::_M_create_nodes(mongo::BSONObj**, mongo::BSONObj**) (stl_deque.h:619) | ->01.22% (786,944B) 0x9B8059: std::_Deque_base >::_M_initialize_map(unsigned long) (stl_deque.h:593) | ->01.22% (786,944B) 0x9B833F: std::_Deque_base >::_Deque_base(std::allocator const&, unsigned long) (stl_deque.h:460) | | ->01.22% (786,944B) 0x9B67FC: std::deque >::deque(std::deque > const&) (stl_deque.h:831) | | ->01.22% (786,432B) 0x9B4A49: std::stack > >::stack(std::deque > const&) (stl_stack.h:130) | | | ->01.22% (786,432B) 0x9B215E: mongo::DBClientCursor::DBClientCursor(mongo::DBClientBase*, std::string const&, mongo::BSONObj, int, int, mongo::BSONObj const*, int, int) (dbclientcursor.h:143) | | | ->01.22% (786,432B) 0x9FBF65: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1384) | | | | ->01.22% (786,432B) 0x9FB507: mongo::ParallelSortClusteredCursor::_init() (parallel.cpp:1282) | | | | ->01.22% (786,432B) 0x9F0DD3: mongo::ClusteredCursor::init() (parallel.cpp:83) | | | | ->01.22% (786,432B) 0xA7CADB: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1311) | | | | ->01.22% (786,432B) 0xA98918: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | | ->01.22% (786,432B) 0xA9968A: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | | ->01.22% (786,432B) 0xA9A0E3: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | | ->01.22% (786,432B) 0xB8F3CC: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | | ->01.22% (786,432B) 0xB93DAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | | ->01.22% (786,432B) 0xB1E974: mongo::receivedQuery(mongo::Client&, mongo::DbResponse&, mongo::Message&) (instance.cpp:244) | | | | ->01.22% (786,432B) 0xB1F922: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:390) | | | | ->01.22% (786,432B) 0x9757F1: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:192) | | | | ->01.22% (786,432B) 0xD6F2A8: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | | ->01.22% (786,432B) 0x4E35E98: start_thread (pthread_create.c:308) | | | | ->01.22% (786,432B) 0x5950CBB: clone (clone.S:112) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.00% (512B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 12 48,024,729,524 65,039,792 64,656,704 383,088 0 13 53,751,315,588 65,839,968 65,378,359 461,609 0 14 57,476,216,574 65,595,584 65,218,162 377,422 0 15 60,127,032,396 66,328,304 65,857,050 471,254 0 16 64,881,109,113 66,967,048 66,446,151 520,897 0 17 68,490,442,385 66,954,960 66,506,073 448,887 0 18 73,407,051,378 67,786,136 67,238,879 547,257 0 19 79,201,657,265 68,538,720 67,938,086 600,634 0 99.12% (67,938,086B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->55.08% (37,748,736B) 0xD4DA27: mongo::AlignedBuilder::_malloc(unsigned int) (alignedbuilder.cpp:108) | ->55.08% (37,748,736B) 0xD4D679: mongo::AlignedBuilder::AlignedBuilder(unsigned int) (alignedbuilder.cpp:26) | ->48.96% (33,554,432B) 0xACB7FD: mongo::dur::Journal::journal(mongo::dur::JSectHeader const&, mongo::AlignedBuilder const&) (dur_journal.cpp:705) | | ->48.96% (33,554,432B) 0xACB68E: mongo::dur::WRITETOJOURNAL(mongo::dur::JSectHeader, mongo::AlignedBuilder&) (dur_journal.cpp:700) | | ->48.96% (33,554,432B) 0xAC1C9C: mongo::dur::_groupCommitWithLimitedLocks() (dur.cpp:584) | | ->48.96% (33,554,432B) 0xAC1DC7: mongo::dur::groupCommitWithLimitedLocks() (dur.cpp:608) | | ->48.96% (33,554,432B) 0xAC26BA: mongo::dur::durThreadGroupCommit() (dur.cpp:743) | | ->48.96% (33,554,432B) 0xAC2A1A: mongo::dur::durThread() (dur.cpp:814) | | ->48.96% (33,554,432B) 0x9854ED: boost::detail::thread_data::run() (thread.hpp:62) | | ->48.96% (33,554,432B) 0xDB7CA4: thread_proxy (thread.cpp:121) | | ->48.96% (33,554,432B) 0x4E35E98: start_thread (pthread_create.c:308) | | ->48.96% (33,554,432B) 0x5950CBB: clone (clone.S:112) | | | ->06.12% (4,194,304B) 0xAC2FF9: __static_initialization_and_destruction_0(int, int) (dur.cpp:546) | | ->06.12% (4,194,304B) 0xAC304A: _GLOBAL__sub_I_dur.cpp (dur.cpp:893) | | ->06.12% (4,194,304B) 0xEF172B: __libc_csu_init (in /data/mongo/mongo/mongod) | | ->06.12% (4,194,304B) 0x587E6FE: (below main) (libc-start.c:185) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->30.61% (20,978,696B) 0xC29B46: __static_initialization_and_destruction_0(int, int) (record.cpp:198) | ->30.61% (20,978,696B) 0xC29BFD: _GLOBAL__sub_I_record.cpp (record.cpp:453) | ->30.61% (20,978,696B) 0xEF172B: __libc_csu_init (in /data/mongo/mongo/mongod) | ->30.61% (20,978,696B) 0x587E6FE: (below main) (libc-start.c:185) | ->06.28% (4,301,184B) 0x96F7C9: mongo::ourmalloc(unsigned long) (allocator.h:28) | ->04.09% (2,803,712B) 0xD6C6B1: mongo::MessagingPort::recv(mongo::Message&) (message_port.cpp:188) | | ->04.09% (2,800,640B) 0x9AF673: mongo::DBClientConnection::recv(mongo::Message&) (dbclient.cpp:1145) | | | ->04.09% (2,800,640B) 0x9D2D29: mongo::DBClientCursor::initLazyFinish(bool&) (dbclientcursor.cpp:89) | | | ->04.09% (2,800,640B) 0x9FC29E: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1425) | | | ->04.09% (2,800,640B) 0x9FB507: mongo::ParallelSortClusteredCursor::_init() (parallel.cpp:1282) | | | ->04.09% (2,800,640B) 0x9F0DD3: mongo::ClusteredCursor::init() (parallel.cpp:83) | | | ->04.09% (2,800,640B) 0xA7CADB: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1311) | | | ->04.09% (2,800,640B) 0xA98918: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | ->04.09% (2,800,640B) 0xA9968A: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | ->04.09% (2,800,640B) 0xA9A0E3: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | ->04.09% (2,800,640B) 0xB8F3CC: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | ->04.09% (2,800,640B) 0xB93DAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | ->04.09% (2,800,640B) 0xB1E974: mongo::receivedQuery(mongo::Client&, mongo::DbResponse&, mongo::Message&) (instance.cpp:244) | | | ->04.09% (2,800,640B) 0xB1F922: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:390) | | | ->04.09% (2,800,640B) 0x9757F1: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:192) | | | ->04.09% (2,800,640B) 0xD6F2A8: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | ->04.09% (2,800,640B) 0x4E35E98: start_thread (pthread_create.c:308) | | | ->04.09% (2,800,640B) 0x5950CBB: clone (clone.S:112) | | | | | ->00.00% (3,072B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->02.18% (1,495,172B) 0x96F8F2: mongo::TrivialAllocator::Malloc(unsigned long) (builder.h:66) | | ->02.18% (1,495,172B) 0x977447: mongo::_BufBuilder::_BufBuilder(int) (builder.h:106) | | ->02.11% (1,443,972B) 0x9710EE: mongo::BSONObjBuilder::BSONObjBuilder(int) (bsonobjbuilder.h:93) | | | ->02.06% (1,411,776B) 0x9B4EB8: void mongo::Query::appendComplex(char const*, mongo::BSONObj const&) (dbclientinterface.h:403) | | | | ->02.06% (1,411,776B) 0x9A804B: mongo::Query::sort(mongo::BSONObj const&) (dbclient.cpp:225) | | | | ->02.06% (1,411,776B) 0xA7CA7E: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1310) | | | | | ->02.06% (1,411,776B) 0xA98918: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | | | ->02.06% (1,411,776B) 0xA9968A: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | | | ->02.06% (1,411,776B) 0xA9A0E3: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | | | ->02.06% (1,411,776B) 0xB8F3CC: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | | | ->02.06% (1,411,776B) 0xB93DAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | | | ->02.06% (1,411,776B) 0xB1E974: mongo::receivedQuery(mongo::Client&, mongo::DbResponse&, mongo::Message&) (instance.cpp:244) | | | | | ->02.06% (1,411,776B) 0xB1F922: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:390) | | | | | ->02.06% (1,411,776B) 0x9757F1: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:192) | | | | | ->02.06% (1,411,776B) 0xD6F2A8: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | | | ->02.06% (1,411,776B) 0x4E35E98: start_thread (pthread_create.c:308) | | | | | ->02.06% (1,411,776B) 0x5950CBB: clone (clone.S:112) | | | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | | | ->00.05% (32,196B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.07% (51,200B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.00% (2,300B) in 1+ places, all below ms_print's threshold (01.00%) | ->05.12% (3,508,126B) in 483 places, all below massif's threshold (01.00%) | ->02.04% (1,401,344B) 0x9B9CAA: __gnu_cxx::new_allocator::allocate(unsigned long, void const*) (new_allocator.h:92) ->02.04% (1,401,344B) 0x9B98C5: std::_Deque_base >::_M_allocate_node() (stl_deque.h:525) | ->02.04% (1,401,344B) 0x9B9A39: std::_Deque_base >::_M_create_nodes(mongo::BSONObj**, mongo::BSONObj**) (stl_deque.h:619) | ->02.04% (1,401,344B) 0x9B8059: std::_Deque_base >::_M_initialize_map(unsigned long) (stl_deque.h:593) | ->02.04% (1,401,344B) 0x9B833F: std::_Deque_base >::_Deque_base(std::allocator const&, unsigned long) (stl_deque.h:460) | | ->02.04% (1,401,344B) 0x9B67FC: std::deque >::deque(std::deque > const&) (stl_deque.h:831) | | ->02.04% (1,400,832B) 0x9B4A49: std::stack > >::stack(std::deque > const&) (stl_stack.h:130) | | | ->02.04% (1,400,832B) 0x9B215E: mongo::DBClientCursor::DBClientCursor(mongo::DBClientBase*, std::string const&, mongo::BSONObj, int, int, mongo::BSONObj const*, int, int) (dbclientcursor.h:143) | | | ->02.04% (1,400,832B) 0x9FBF65: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1384) | | | | ->02.04% (1,400,832B) 0x9FB507: mongo::ParallelSortClusteredCursor::_init() (parallel.cpp:1282) | | | | ->02.04% (1,400,832B) 0x9F0DD3: mongo::ClusteredCursor::init() (parallel.cpp:83) | | | | ->02.04% (1,400,832B) 0xA7CADB: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1311) | | | | ->02.04% (1,400,832B) 0xA98918: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | | ->02.04% (1,400,832B) 0xA9968A: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | | ->02.04% (1,400,832B) 0xA9A0E3: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | | ->02.04% (1,400,832B) 0xB8F3CC: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | | ->02.04% (1,400,832B) 0xB93DAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | | ->02.04% (1,400,832B) 0xB1E974: mongo::receivedQuery(mongo::Client&, mongo::DbResponse&, mongo::Message&) (instance.cpp:244) | | | | ->02.04% (1,400,832B) 0xB1F922: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:390) | | | | ->02.04% (1,400,832B) 0x9757F1: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:192) | | | | ->02.04% (1,400,832B) 0xD6F2A8: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | | ->02.04% (1,400,832B) 0x4E35E98: start_thread (pthread_create.c:308) | | | | ->02.04% (1,400,832B) 0x5950CBB: clone (clone.S:112) | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.00% (512B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 20 83,338,881,697 68,866,944 68,244,955 621,989 0 21 87,118,967,440 69,001,384 68,429,393 571,991 0 22 89,901,533,831 69,526,688 68,870,095 656,593 0 23 93,872,180,142 69,525,632 68,934,374 591,258 0 24 98,509,884,638 70,358,088 69,657,686 700,402 0 25 101,507,978,170 70,380,736 69,738,586 642,150 0 26 105,218,093,874 70,989,352 70,255,742 733,610 0 27 108,647,035,940 71,317,200 70,582,954 734,246 0 28 112,366,963,007 71,698,872 70,929,419 769,453 0 29 114,675,269,331 72,071,440 71,285,996 785,444 0 98.91% (71,285,996B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->52.38% (37,748,736B) 0xD4DA27: mongo::AlignedBuilder::_malloc(unsigned int) (alignedbuilder.cpp:108) | ->52.38% (37,748,736B) 0xD4D679: mongo::AlignedBuilder::AlignedBuilder(unsigned int) (alignedbuilder.cpp:26) | ->46.56% (33,554,432B) 0xACB7FD: mongo::dur::Journal::journal(mongo::dur::JSectHeader const&, mongo::AlignedBuilder const&) (dur_journal.cpp:705) | | ->46.56% (33,554,432B) 0xACB68E: mongo::dur::WRITETOJOURNAL(mongo::dur::JSectHeader, mongo::AlignedBuilder&) (dur_journal.cpp:700) | | ->46.56% (33,554,432B) 0xAC1C9C: mongo::dur::_groupCommitWithLimitedLocks() (dur.cpp:584) | | ->46.56% (33,554,432B) 0xAC1DC7: mongo::dur::groupCommitWithLimitedLocks() (dur.cpp:608) | | ->46.56% (33,554,432B) 0xAC26BA: mongo::dur::durThreadGroupCommit() (dur.cpp:743) | | ->46.56% (33,554,432B) 0xAC2A1A: mongo::dur::durThread() (dur.cpp:814) | | ->46.56% (33,554,432B) 0x9854ED: boost::detail::thread_data::run() (thread.hpp:62) | | ->46.56% (33,554,432B) 0xDB7CA4: thread_proxy (thread.cpp:121) | | ->46.56% (33,554,432B) 0x4E35E98: start_thread (pthread_create.c:308) | | ->46.56% (33,554,432B) 0x5950CBB: clone (clone.S:112) | | | ->05.82% (4,194,304B) 0xAC2FF9: __static_initialization_and_destruction_0(int, int) (dur.cpp:546) | | ->05.82% (4,194,304B) 0xAC304A: _GLOBAL__sub_I_dur.cpp (dur.cpp:893) | | ->05.82% (4,194,304B) 0xEF172B: __libc_csu_init (in /data/mongo/mongo/mongod) | | ->05.82% (4,194,304B) 0x587E6FE: (below main) (libc-start.c:185) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->29.11% (20,978,696B) 0xC29B46: __static_initialization_and_destruction_0(int, int) (record.cpp:198) | ->29.11% (20,978,696B) 0xC29BFD: _GLOBAL__sub_I_record.cpp (record.cpp:453) | ->29.11% (20,978,696B) 0xEF172B: __libc_csu_init (in /data/mongo/mongo/mongod) | ->29.11% (20,978,696B) 0x587E6FE: (below main) (libc-start.c:185) | ->08.61% (6,203,499B) 0x96F7C9: mongo::ourmalloc(unsigned long) (allocator.h:28) | ->05.64% (4,067,328B) 0xD6C6B1: mongo::MessagingPort::recv(mongo::Message&) (message_port.cpp:188) | | ->05.64% (4,066,304B) 0x9AF673: mongo::DBClientConnection::recv(mongo::Message&) (dbclient.cpp:1145) | | | ->05.64% (4,066,304B) 0x9D2D29: mongo::DBClientCursor::initLazyFinish(bool&) (dbclientcursor.cpp:89) | | | ->05.64% (4,066,304B) 0x9FC29E: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1425) | | | ->05.64% (4,066,304B) 0x9FB507: mongo::ParallelSortClusteredCursor::_init() (parallel.cpp:1282) | | | ->05.64% (4,066,304B) 0x9F0DD3: mongo::ClusteredCursor::init() (parallel.cpp:83) | | | ->05.64% (4,066,304B) 0xA7CADB: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1311) | | | ->05.64% (4,066,304B) 0xA98918: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | ->05.64% (4,066,304B) 0xA9968A: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | ->05.64% (4,066,304B) 0xA9A0E3: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | ->05.64% (4,066,304B) 0xB8F3CC: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | ->05.64% (4,066,304B) 0xB93DAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | ->05.64% (4,066,304B) 0xB1E974: mongo::receivedQuery(mongo::Client&, mongo::DbResponse&, mongo::Message&) (instance.cpp:244) | | | ->05.64% (4,066,304B) 0xB1F922: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:390) | | | ->05.64% (4,066,304B) 0x9757F1: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:192) | | | ->05.64% (4,066,304B) 0xD6F2A8: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | ->05.64% (4,066,304B) 0x4E35E98: start_thread (pthread_create.c:308) | | | ->05.64% (4,066,304B) 0x5950CBB: clone (clone.S:112) | | | | | ->00.00% (1,024B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->02.96% (2,134,628B) 0x96F8F2: mongo::TrivialAllocator::Malloc(unsigned long) (builder.h:66) | | ->02.96% (2,134,628B) 0x977447: mongo::_BufBuilder::_BufBuilder(int) (builder.h:106) | | ->02.89% (2,082,916B) 0x9710EE: mongo::BSONObjBuilder::BSONObjBuilder(int) (bsonobjbuilder.h:93) | | | ->02.84% (2,049,036B) 0x9B4EB8: void mongo::Query::appendComplex(char const*, mongo::BSONObj const&) (dbclientinterface.h:403) | | | | ->02.84% (2,049,036B) 0x9A804B: mongo::Query::sort(mongo::BSONObj const&) (dbclient.cpp:225) | | | | ->02.84% (2,049,036B) 0xA7CA7E: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1310) | | | | | ->02.84% (2,049,036B) 0xA98918: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | | | ->02.84% (2,049,036B) 0xA9968A: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | | | ->02.84% (2,049,036B) 0xA9A0E3: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | | | ->02.84% (2,049,036B) 0xB8F3CC: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | | | ->02.84% (2,049,036B) 0xB93DAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | | | ->02.84% (2,049,036B) 0xB1E974: mongo::receivedQuery(mongo::Client&, mongo::DbResponse&, mongo::Message&) (instance.cpp:244) | | | | | ->02.84% (2,049,036B) 0xB1F922: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:390) | | | | | ->02.84% (2,049,036B) 0x9757F1: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:192) | | | | | ->02.84% (2,049,036B) 0xD6F2A8: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | | | ->02.84% (2,049,036B) 0x4E35E98: start_thread (pthread_create.c:308) | | | | | ->02.84% (2,049,036B) 0x5950CBB: clone (clone.S:112) | | | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | | | ->00.05% (33,880B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.07% (51,712B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.00% (1,543B) in 1+ places, all below ms_print's threshold (01.00%) | ->04.72% (3,399,601B) in 482 places, all below massif's threshold (01.00%) | ->02.82% (2,034,192B) 0x9B9CAA: __gnu_cxx::new_allocator::allocate(unsigned long, void const*) (new_allocator.h:92) | ->02.82% (2,034,176B) 0x9B98C5: std::_Deque_base >::_M_allocate_node() (stl_deque.h:525) | | ->02.82% (2,034,176B) 0x9B9A39: std::_Deque_base >::_M_create_nodes(mongo::BSONObj**, mongo::BSONObj**) (stl_deque.h:619) | | ->02.82% (2,034,176B) 0x9B8059: std::_Deque_base >::_M_initialize_map(unsigned long) (stl_deque.h:593) | | ->02.82% (2,034,176B) 0x9B833F: std::_Deque_base >::_Deque_base(std::allocator const&, unsigned long) (stl_deque.h:460) | | | ->02.82% (2,034,176B) 0x9B67FC: std::deque >::deque(std::deque > const&) (stl_deque.h:831) | | | ->02.82% (2,033,664B) 0x9B4A49: std::stack > >::stack(std::deque > const&) (stl_stack.h:130) | | | | ->02.82% (2,033,664B) 0x9B215E: mongo::DBClientCursor::DBClientCursor(mongo::DBClientBase*, std::string const&, mongo::BSONObj, int, int, mongo::BSONObj const*, int, int) (dbclientcursor.h:143) | | | | ->02.82% (2,033,152B) 0x9FBF65: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1384) | | | | | ->02.82% (2,033,152B) 0x9FB507: mongo::ParallelSortClusteredCursor::_init() (parallel.cpp:1282) | | | | | ->02.82% (2,033,152B) 0x9F0DD3: mongo::ClusteredCursor::init() (parallel.cpp:83) | | | | | ->02.82% (2,033,152B) 0xA7CADB: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1311) | | | | | ->02.82% (2,033,152B) 0xA98918: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | | | ->02.82% (2,033,152B) 0xA9968A: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | | | ->02.82% (2,033,152B) 0xA9A0E3: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | | | ->02.82% (2,033,152B) 0xB8F3CC: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | | | ->02.82% (2,033,152B) 0xB93DAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | | | ->02.82% (2,033,152B) 0xB1E974: mongo::receivedQuery(mongo::Client&, mongo::DbResponse&, mongo::Message&) (instance.cpp:244) | | | | | ->02.82% (2,033,152B) 0xB1F922: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:390) | | | | | ->02.82% (2,033,152B) 0x9757F1: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:192) | | | | | ->02.82% (2,033,152B) 0xD6F2A8: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | | | ->02.82% (2,033,152B) 0x4E35E98: start_thread (pthread_create.c:308) | | | | | ->02.82% (2,033,152B) 0x5950CBB: clone (clone.S:112) | | | | | | | | | ->00.00% (512B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | | | ->00.00% (512B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.00% (16B) in 1+ places, all below ms_print's threshold (01.00%) | ->01.28% (921,272B) 0x9FBEF6: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1384) ->01.28% (921,272B) 0x9FB507: mongo::ParallelSortClusteredCursor::_init() (parallel.cpp:1282) ->01.28% (921,272B) 0x9F0DD3: mongo::ClusteredCursor::init() (parallel.cpp:83) ->01.28% (921,272B) 0xA7CADB: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1311) ->01.28% (921,272B) 0xA98918: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) ->01.28% (921,272B) 0xA9968A: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) ->01.28% (921,272B) 0xA9A0E3: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) ->01.28% (921,272B) 0xB8F3CC: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) ->01.28% (921,272B) 0xB93DAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) ->01.28% (921,272B) 0xB1E974: mongo::receivedQuery(mongo::Client&, mongo::DbResponse&, mongo::Message&) (instance.cpp:244) ->01.28% (921,272B) 0xB1F922: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:390) ->01.28% (921,272B) 0x9757F1: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:192) ->01.28% (921,272B) 0xD6F2A8: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) ->01.28% (921,272B) 0x4E35E98: start_thread (pthread_create.c:308) ->01.28% (921,272B) 0x5950CBB: clone (clone.S:112) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 30 119,313,157,046 72,423,656 71,615,240 808,416 0 31 122,632,228,012 72,799,960 71,975,380 824,580 0 98.87% (71,975,380B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->51.85% (37,748,736B) 0xD4DA27: mongo::AlignedBuilder::_malloc(unsigned int) (alignedbuilder.cpp:108) | ->51.85% (37,748,736B) 0xD4D679: mongo::AlignedBuilder::AlignedBuilder(unsigned int) (alignedbuilder.cpp:26) | ->46.09% (33,554,432B) 0xACB7FD: mongo::dur::Journal::journal(mongo::dur::JSectHeader const&, mongo::AlignedBuilder const&) (dur_journal.cpp:705) | | ->46.09% (33,554,432B) 0xACB68E: mongo::dur::WRITETOJOURNAL(mongo::dur::JSectHeader, mongo::AlignedBuilder&) (dur_journal.cpp:700) | | ->46.09% (33,554,432B) 0xAC1C9C: mongo::dur::_groupCommitWithLimitedLocks() (dur.cpp:584) | | ->46.09% (33,554,432B) 0xAC1DC7: mongo::dur::groupCommitWithLimitedLocks() (dur.cpp:608) | | ->46.09% (33,554,432B) 0xAC26BA: mongo::dur::durThreadGroupCommit() (dur.cpp:743) | | ->46.09% (33,554,432B) 0xAC2A1A: mongo::dur::durThread() (dur.cpp:814) | | ->46.09% (33,554,432B) 0x9854ED: boost::detail::thread_data::run() (thread.hpp:62) | | ->46.09% (33,554,432B) 0xDB7CA4: thread_proxy (thread.cpp:121) | | ->46.09% (33,554,432B) 0x4E35E98: start_thread (pthread_create.c:308) | | ->46.09% (33,554,432B) 0x5950CBB: clone (clone.S:112) | | | ->05.76% (4,194,304B) 0xAC2FF9: __static_initialization_and_destruction_0(int, int) (dur.cpp:546) | | ->05.76% (4,194,304B) 0xAC304A: _GLOBAL__sub_I_dur.cpp (dur.cpp:893) | | ->05.76% (4,194,304B) 0xEF172B: __libc_csu_init (in /data/mongo/mongo/mongod) | | ->05.76% (4,194,304B) 0x587E6FE: (below main) (libc-start.c:185) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->28.82% (20,978,696B) 0xC29B46: __static_initialization_and_destruction_0(int, int) (record.cpp:198) | ->28.82% (20,978,696B) 0xC29BFD: _GLOBAL__sub_I_record.cpp (record.cpp:453) | ->28.82% (20,978,696B) 0xEF172B: __libc_csu_init (in /data/mongo/mongo/mongod) | ->28.82% (20,978,696B) 0x587E6FE: (below main) (libc-start.c:185) | ->09.04% (6,581,392B) 0x96F7C9: mongo::ourmalloc(unsigned long) (allocator.h:28) | ->05.97% (4,343,808B) 0xD6C6B1: mongo::MessagingPort::recv(mongo::Message&) (message_port.cpp:188) | | ->05.97% (4,342,784B) 0x9AF673: mongo::DBClientConnection::recv(mongo::Message&) (dbclient.cpp:1145) | | | ->05.97% (4,342,784B) 0x9D2D29: mongo::DBClientCursor::initLazyFinish(bool&) (dbclientcursor.cpp:89) | | | ->05.97% (4,342,784B) 0x9FC29E: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1425) | | | ->05.97% (4,342,784B) 0x9FB507: mongo::ParallelSortClusteredCursor::_init() (parallel.cpp:1282) | | | ->05.97% (4,342,784B) 0x9F0DD3: mongo::ClusteredCursor::init() (parallel.cpp:83) | | | ->05.97% (4,342,784B) 0xA7CADB: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1311) | | | ->05.97% (4,342,784B) 0xA98918: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | ->05.97% (4,342,784B) 0xA9968A: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | ->05.97% (4,342,784B) 0xA9A0E3: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | ->05.97% (4,342,784B) 0xB8F3CC: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | ->05.97% (4,342,784B) 0xB93DAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | ->05.97% (4,342,784B) 0xB1E974: mongo::receivedQuery(mongo::Client&, mongo::DbResponse&, mongo::Message&) (instance.cpp:244) | | | ->05.97% (4,342,784B) 0xB1F922: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:390) | | | ->05.97% (4,342,784B) 0x9757F1: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:192) | | | ->05.97% (4,342,784B) 0xD6F2A8: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | ->05.97% (4,342,784B) 0x4E35E98: start_thread (pthread_create.c:308) | | | ->05.97% (4,342,784B) 0x5950CBB: clone (clone.S:112) | | | | | ->00.00% (1,024B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->03.07% (2,236,332B) 0x96F8F2: mongo::TrivialAllocator::Malloc(unsigned long) (builder.h:66) | | ->03.07% (2,236,332B) 0x977447: mongo::_BufBuilder::_BufBuilder(int) (builder.h:106) | | ->03.05% (2,217,388B) 0x9710EE: mongo::BSONObjBuilder::BSONObjBuilder(int) (bsonobjbuilder.h:93) | | | ->03.01% (2,188,356B) 0x9B4EB8: void mongo::Query::appendComplex(char const*, mongo::BSONObj const&) (dbclientinterface.h:403) | | | | ->03.01% (2,188,356B) 0x9A804B: mongo::Query::sort(mongo::BSONObj const&) (dbclient.cpp:225) | | | | ->03.01% (2,188,356B) 0xA7CA7E: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1310) | | | | | ->03.01% (2,188,356B) 0xA98918: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | | | ->03.01% (2,188,356B) 0xA9968A: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | | | ->03.01% (2,188,356B) 0xA9A0E3: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | | | ->03.01% (2,188,356B) 0xB8F3CC: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | | | ->03.01% (2,188,356B) 0xB93DAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | | | ->03.01% (2,188,356B) 0xB1E974: mongo::receivedQuery(mongo::Client&, mongo::DbResponse&, mongo::Message&) (instance.cpp:244) | | | | | ->03.01% (2,188,356B) 0xB1F922: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:390) | | | | | ->03.01% (2,188,356B) 0x9757F1: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:192) | | | | | ->03.01% (2,188,356B) 0xD6F2A8: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | | | ->03.01% (2,188,356B) 0x4E35E98: start_thread (pthread_create.c:308) | | | | | ->03.01% (2,188,356B) 0x5950CBB: clone (clone.S:112) | | | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | | | ->00.04% (29,032B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.03% (18,944B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.00% (1,252B) in 1+ places, all below ms_print's threshold (01.00%) | ->03.80% (2,764,324B) in 481 places, all below massif's threshold (01.00%) | ->02.98% (2,171,904B) 0x9B9CAA: __gnu_cxx::new_allocator::allocate(unsigned long, void const*) (new_allocator.h:92) | ->02.98% (2,171,904B) 0x9B98C5: std::_Deque_base >::_M_allocate_node() (stl_deque.h:525) | | ->02.98% (2,171,904B) 0x9B9A39: std::_Deque_base >::_M_create_nodes(mongo::BSONObj**, mongo::BSONObj**) (stl_deque.h:619) | | ->02.98% (2,171,904B) 0x9B8059: std::_Deque_base >::_M_initialize_map(unsigned long) (stl_deque.h:593) | | ->02.98% (2,171,904B) 0x9B833F: std::_Deque_base >::_Deque_base(std::allocator const&, unsigned long) (stl_deque.h:460) | | | ->02.98% (2,171,904B) 0x9B67FC: std::deque >::deque(std::deque > const&) (stl_deque.h:831) | | | ->02.98% (2,171,392B) 0x9B4A49: std::stack > >::stack(std::deque > const&) (stl_stack.h:130) | | | | ->02.98% (2,171,392B) 0x9B215E: mongo::DBClientCursor::DBClientCursor(mongo::DBClientBase*, std::string const&, mongo::BSONObj, int, int, mongo::BSONObj const*, int, int) (dbclientcursor.h:143) | | | | ->02.98% (2,171,392B) 0x9FBF65: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1384) | | | | | ->02.98% (2,171,392B) 0x9FB507: mongo::ParallelSortClusteredCursor::_init() (parallel.cpp:1282) | | | | | ->02.98% (2,171,392B) 0x9F0DD3: mongo::ClusteredCursor::init() (parallel.cpp:83) | | | | | ->02.98% (2,171,392B) 0xA7CADB: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1311) | | | | | ->02.98% (2,171,392B) 0xA98918: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | | | ->02.98% (2,171,392B) 0xA9968A: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | | | ->02.98% (2,171,392B) 0xA9A0E3: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | | | ->02.98% (2,171,392B) 0xB8F3CC: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | | | ->02.98% (2,171,392B) 0xB93DAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | | | ->02.98% (2,171,392B) 0xB1E974: mongo::receivedQuery(mongo::Client&, mongo::DbResponse&, mongo::Message&) (instance.cpp:244) | | | | | ->02.98% (2,171,392B) 0xB1F922: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:390) | | | | | ->02.98% (2,171,392B) 0x9757F1: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:192) | | | | | ->02.98% (2,171,392B) 0xD6F2A8: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | | | ->02.98% (2,171,392B) 0x4E35E98: start_thread (pthread_create.c:308) | | | | | ->02.98% (2,171,392B) 0x5950CBB: clone (clone.S:112) | | | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | | | ->00.00% (512B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->01.35% (983,912B) 0x9FBEF6: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1384) | ->01.35% (983,912B) 0x9FB507: mongo::ParallelSortClusteredCursor::_init() (parallel.cpp:1282) | ->01.35% (983,912B) 0x9F0DD3: mongo::ClusteredCursor::init() (parallel.cpp:83) | ->01.35% (983,912B) 0xA7CADB: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1311) | ->01.35% (983,912B) 0xA98918: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | ->01.35% (983,912B) 0xA9968A: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | ->01.35% (983,912B) 0xA9A0E3: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | ->01.35% (983,912B) 0xB8F3CC: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | ->01.35% (983,912B) 0xB93DAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | ->01.35% (983,912B) 0xB1E974: mongo::receivedQuery(mongo::Client&, mongo::DbResponse&, mongo::Message&) (instance.cpp:244) | ->01.35% (983,912B) 0xB1F922: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:390) | ->01.35% (983,912B) 0x9757F1: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:192) | ->01.35% (983,912B) 0xD6F2A8: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | ->01.35% (983,912B) 0x4E35E98: start_thread (pthread_create.c:308) | ->01.35% (983,912B) 0x5950CBB: clone (clone.S:112) | ->01.03% (746,416B) 0x9B24F3: mongo::DBClientCursor::Batch::Batch() (in /data/mongo/mongo/mongod) ->01.03% (746,416B) 0x9B2084: mongo::DBClientCursor::DBClientCursor(mongo::DBClientBase*, std::string const&, mongo::BSONObj, int, int, mongo::BSONObj const*, int, int) (dbclientcursor.h:143) ->01.03% (746,416B) 0x9FBF65: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1384) | ->01.03% (746,416B) 0x9FB507: mongo::ParallelSortClusteredCursor::_init() (parallel.cpp:1282) | ->01.03% (746,416B) 0x9F0DD3: mongo::ClusteredCursor::init() (parallel.cpp:83) | ->01.03% (746,416B) 0xA7CADB: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1311) | ->01.03% (746,416B) 0xA98918: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | ->01.03% (746,416B) 0xA9968A: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | ->01.03% (746,416B) 0xA9A0E3: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | ->01.03% (746,416B) 0xB8F3CC: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | ->01.03% (746,416B) 0xB93DAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | ->01.03% (746,416B) 0xB1E974: mongo::receivedQuery(mongo::Client&, mongo::DbResponse&, mongo::Message&) (instance.cpp:244) | ->01.03% (746,416B) 0xB1F922: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:390) | ->01.03% (746,416B) 0x9757F1: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:192) | ->01.03% (746,416B) 0xD6F2A8: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | ->01.03% (746,416B) 0x4E35E98: start_thread (pthread_create.c:308) | ->01.03% (746,416B) 0x5950CBB: clone (clone.S:112) | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 32 126,343,094,008 73,076,440 72,234,267 842,173 0 33 131,565,923,874 73,614,720 72,745,241 869,479 0 34 137,253,058,131 74,142,352 73,244,066 898,286 0 35 141,896,095,322 74,602,592 73,682,312 920,280 0 36 145,493,042,773 75,049,800 74,108,368 941,432 0 98.75% (74,108,368B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->50.30% (37,748,736B) 0xD4DA27: mongo::AlignedBuilder::_malloc(unsigned int) (alignedbuilder.cpp:108) | ->50.30% (37,748,736B) 0xD4D679: mongo::AlignedBuilder::AlignedBuilder(unsigned int) (alignedbuilder.cpp:26) | ->44.71% (33,554,432B) 0xACB7FD: mongo::dur::Journal::journal(mongo::dur::JSectHeader const&, mongo::AlignedBuilder const&) (dur_journal.cpp:705) | | ->44.71% (33,554,432B) 0xACB68E: mongo::dur::WRITETOJOURNAL(mongo::dur::JSectHeader, mongo::AlignedBuilder&) (dur_journal.cpp:700) | | ->44.71% (33,554,432B) 0xAC1C9C: mongo::dur::_groupCommitWithLimitedLocks() (dur.cpp:584) | | ->44.71% (33,554,432B) 0xAC1DC7: mongo::dur::groupCommitWithLimitedLocks() (dur.cpp:608) | | ->44.71% (33,554,432B) 0xAC26BA: mongo::dur::durThreadGroupCommit() (dur.cpp:743) | | ->44.71% (33,554,432B) 0xAC2A1A: mongo::dur::durThread() (dur.cpp:814) | | ->44.71% (33,554,432B) 0x9854ED: boost::detail::thread_data::run() (thread.hpp:62) | | ->44.71% (33,554,432B) 0xDB7CA4: thread_proxy (thread.cpp:121) | | ->44.71% (33,554,432B) 0x4E35E98: start_thread (pthread_create.c:308) | | ->44.71% (33,554,432B) 0x5950CBB: clone (clone.S:112) | | | ->05.59% (4,194,304B) 0xAC2FF9: __static_initialization_and_destruction_0(int, int) (dur.cpp:546) | | ->05.59% (4,194,304B) 0xAC304A: _GLOBAL__sub_I_dur.cpp (dur.cpp:893) | | ->05.59% (4,194,304B) 0xEF172B: __libc_csu_init (in /data/mongo/mongo/mongod) | | ->05.59% (4,194,304B) 0x587E6FE: (below main) (libc-start.c:185) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->27.95% (20,978,696B) 0xC29B46: __static_initialization_and_destruction_0(int, int) (record.cpp:198) | ->27.95% (20,978,696B) 0xC29BFD: _GLOBAL__sub_I_record.cpp (record.cpp:453) | ->27.95% (20,978,696B) 0xEF172B: __libc_csu_init (in /data/mongo/mongo/mongod) | ->27.95% (20,978,696B) 0x587E6FE: (below main) (libc-start.c:185) | ->10.41% (7,811,258B) 0x96F7C9: mongo::ourmalloc(unsigned long) (allocator.h:28) | ->06.85% (5,137,408B) 0xD6C6B1: mongo::MessagingPort::recv(mongo::Message&) (message_port.cpp:188) | | ->06.84% (5,135,360B) 0x9AF673: mongo::DBClientConnection::recv(mongo::Message&) (dbclient.cpp:1145) | | | ->06.84% (5,135,360B) 0x9D2D29: mongo::DBClientCursor::initLazyFinish(bool&) (dbclientcursor.cpp:89) | | | ->06.84% (5,135,360B) 0x9FC29E: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1425) | | | ->06.84% (5,135,360B) 0x9FB507: mongo::ParallelSortClusteredCursor::_init() (parallel.cpp:1282) | | | ->06.84% (5,135,360B) 0x9F0DD3: mongo::ClusteredCursor::init() (parallel.cpp:83) | | | ->06.84% (5,135,360B) 0xA7CADB: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1311) | | | ->06.84% (5,135,360B) 0xA98918: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | ->06.84% (5,135,360B) 0xA9968A: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | ->06.84% (5,135,360B) 0xA9A0E3: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | ->06.84% (5,135,360B) 0xB8F3CC: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | ->06.84% (5,135,360B) 0xB93DAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | ->06.84% (5,135,360B) 0xB1E974: mongo::receivedQuery(mongo::Client&, mongo::DbResponse&, mongo::Message&) (instance.cpp:244) | | | ->06.84% (5,135,360B) 0xB1F922: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:390) | | | ->06.84% (5,135,360B) 0x9757F1: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:192) | | | ->06.84% (5,135,360B) 0xD6F2A8: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | ->06.84% (5,135,360B) 0x4E35E98: start_thread (pthread_create.c:308) | | | ->06.84% (5,135,360B) 0x5950CBB: clone (clone.S:112) | | | | | ->00.00% (2,048B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->03.56% (2,671,652B) 0x96F8F2: mongo::TrivialAllocator::Malloc(unsigned long) (builder.h:66) | | ->03.56% (2,671,652B) 0x977447: mongo::_BufBuilder::_BufBuilder(int) (builder.h:106) | | ->03.49% (2,620,452B) 0x9710EE: mongo::BSONObjBuilder::BSONObjBuilder(int) (bsonobjbuilder.h:93) | | | ->03.45% (2,588,256B) 0x9B4EB8: void mongo::Query::appendComplex(char const*, mongo::BSONObj const&) (dbclientinterface.h:403) | | | | ->03.45% (2,588,256B) 0x9A804B: mongo::Query::sort(mongo::BSONObj const&) (dbclient.cpp:225) | | | | ->03.45% (2,588,256B) 0xA7CA7E: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1310) | | | | | ->03.45% (2,588,256B) 0xA98918: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | | | ->03.45% (2,588,256B) 0xA9968A: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | | | ->03.45% (2,588,256B) 0xA9A0E3: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | | | ->03.45% (2,588,256B) 0xB8F3CC: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | | | ->03.45% (2,588,256B) 0xB93DAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | | | ->03.45% (2,588,256B) 0xB1E974: mongo::receivedQuery(mongo::Client&, mongo::DbResponse&, mongo::Message&) (instance.cpp:244) | | | | | ->03.45% (2,588,256B) 0xB1F922: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:390) | | | | | ->03.45% (2,588,256B) 0x9757F1: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:192) | | | | | ->03.45% (2,588,256B) 0xD6F2A8: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | | | ->03.45% (2,588,256B) 0x4E35E98: start_thread (pthread_create.c:308) | | | | | ->03.45% (2,588,256B) 0x5950CBB: clone (clone.S:112) | | | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | | | ->00.04% (32,196B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.07% (51,200B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.00% (2,198B) in 1+ places, all below ms_print's threshold (01.00%) | ->03.42% (2,568,704B) 0x9B9CAA: __gnu_cxx::new_allocator::allocate(unsigned long, void const*) (new_allocator.h:92) | ->03.42% (2,568,704B) 0x9B98C5: std::_Deque_base >::_M_allocate_node() (stl_deque.h:525) | | ->03.42% (2,568,704B) 0x9B9A39: std::_Deque_base >::_M_create_nodes(mongo::BSONObj**, mongo::BSONObj**) (stl_deque.h:619) | | ->03.42% (2,568,704B) 0x9B8059: std::_Deque_base >::_M_initialize_map(unsigned long) (stl_deque.h:593) | | ->03.42% (2,568,704B) 0x9B833F: std::_Deque_base >::_Deque_base(std::allocator const&, unsigned long) (stl_deque.h:460) | | | ->03.42% (2,568,704B) 0x9B67FC: std::deque >::deque(std::deque > const&) (stl_deque.h:831) | | | ->03.42% (2,568,192B) 0x9B4A49: std::stack > >::stack(std::deque > const&) (stl_stack.h:130) | | | | ->03.42% (2,568,192B) 0x9B215E: mongo::DBClientCursor::DBClientCursor(mongo::DBClientBase*, std::string const&, mongo::BSONObj, int, int, mongo::BSONObj const*, int, int) (dbclientcursor.h:143) | | | | ->03.42% (2,568,192B) 0x9FBF65: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1384) | | | | | ->03.42% (2,568,192B) 0x9FB507: mongo::ParallelSortClusteredCursor::_init() (parallel.cpp:1282) | | | | | ->03.42% (2,568,192B) 0x9F0DD3: mongo::ClusteredCursor::init() (parallel.cpp:83) | | | | | ->03.42% (2,568,192B) 0xA7CADB: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1311) | | | | | ->03.42% (2,568,192B) 0xA98918: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | | | ->03.42% (2,568,192B) 0xA9968A: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | | | ->03.42% (2,568,192B) 0xA9A0E3: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | | | ->03.42% (2,568,192B) 0xB8F3CC: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | | | ->03.42% (2,568,192B) 0xB93DAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | | | ->03.42% (2,568,192B) 0xB1E974: mongo::receivedQuery(mongo::Client&, mongo::DbResponse&, mongo::Message&) (instance.cpp:244) | | | | | ->03.42% (2,568,192B) 0xB1F922: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:390) | | | | | ->03.42% (2,568,192B) 0x9757F1: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:192) | | | | | ->03.42% (2,568,192B) 0xD6F2A8: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | | | ->03.42% (2,568,192B) 0x4E35E98: start_thread (pthread_create.c:308) | | | | | ->03.42% (2,568,192B) 0x5950CBB: clone (clone.S:112) | | | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | | | ->00.00% (512B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->02.92% (2,190,548B) in 480 places, all below massif's threshold (01.00%) | ->01.55% (1,163,712B) 0x9FBEF6: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1384) | ->01.55% (1,163,712B) 0x9FB507: mongo::ParallelSortClusteredCursor::_init() (parallel.cpp:1282) | ->01.55% (1,163,712B) 0x9F0DD3: mongo::ClusteredCursor::init() (parallel.cpp:83) | ->01.55% (1,163,712B) 0xA7CADB: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1311) | ->01.55% (1,163,712B) 0xA98918: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | ->01.55% (1,163,712B) 0xA9968A: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | ->01.55% (1,163,712B) 0xA9A0E3: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | ->01.55% (1,163,712B) 0xB8F3CC: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | ->01.55% (1,163,712B) 0xB93DAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | ->01.55% (1,163,712B) 0xB1E974: mongo::receivedQuery(mongo::Client&, mongo::DbResponse&, mongo::Message&) (instance.cpp:244) | ->01.55% (1,163,712B) 0xB1F922: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:390) | ->01.55% (1,163,712B) 0x9757F1: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:192) | ->01.55% (1,163,712B) 0xD6F2A8: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | ->01.55% (1,163,712B) 0x4E35E98: start_thread (pthread_create.c:308) | ->01.55% (1,163,712B) 0x5950CBB: clone (clone.S:112) | ->01.18% (882,816B) 0x9B24F3: mongo::DBClientCursor::Batch::Batch() (in /data/mongo/mongo/mongod) | ->01.18% (882,816B) 0x9B2084: mongo::DBClientCursor::DBClientCursor(mongo::DBClientBase*, std::string const&, mongo::BSONObj, int, int, mongo::BSONObj const*, int, int) (dbclientcursor.h:143) | ->01.18% (882,816B) 0x9FBF65: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1384) | | ->01.18% (882,816B) 0x9FB507: mongo::ParallelSortClusteredCursor::_init() (parallel.cpp:1282) | | ->01.18% (882,816B) 0x9F0DD3: mongo::ClusteredCursor::init() (parallel.cpp:83) | | ->01.18% (882,816B) 0xA7CADB: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1311) | | ->01.18% (882,816B) 0xA98918: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | ->01.18% (882,816B) 0xA9968A: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | ->01.18% (882,816B) 0xA9A0E3: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | ->01.18% (882,816B) 0xB8F3CC: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | ->01.18% (882,816B) 0xB93DAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | ->01.18% (882,816B) 0xB1E974: mongo::receivedQuery(mongo::Client&, mongo::DbResponse&, mongo::Message&) (instance.cpp:244) | | ->01.18% (882,816B) 0xB1F922: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:390) | | ->01.18% (882,816B) 0x9757F1: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:192) | | ->01.18% (882,816B) 0xD6F2A8: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | ->01.18% (882,816B) 0x4E35E98: start_thread (pthread_create.c:308) | | ->01.18% (882,816B) 0x5950CBB: clone (clone.S:112) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->01.02% (763,898B) 0x50E9A87: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) ->01.02% (763,898B) in 4 places, all below massif's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 37 148,335,594,825 75,171,664 74,219,197 952,467 0 38 153,409,356,284 75,839,112 74,857,105 982,007 0 98.71% (74,857,105B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->49.77% (37,748,736B) 0xD4DA27: mongo::AlignedBuilder::_malloc(unsigned int) (alignedbuilder.cpp:108) | ->49.77% (37,748,736B) 0xD4D679: mongo::AlignedBuilder::AlignedBuilder(unsigned int) (alignedbuilder.cpp:26) | ->44.24% (33,554,432B) 0xACB7FD: mongo::dur::Journal::journal(mongo::dur::JSectHeader const&, mongo::AlignedBuilder const&) (dur_journal.cpp:705) | | ->44.24% (33,554,432B) 0xACB68E: mongo::dur::WRITETOJOURNAL(mongo::dur::JSectHeader, mongo::AlignedBuilder&) (dur_journal.cpp:700) | | ->44.24% (33,554,432B) 0xAC1C9C: mongo::dur::_groupCommitWithLimitedLocks() (dur.cpp:584) | | ->44.24% (33,554,432B) 0xAC1DC7: mongo::dur::groupCommitWithLimitedLocks() (dur.cpp:608) | | ->44.24% (33,554,432B) 0xAC26BA: mongo::dur::durThreadGroupCommit() (dur.cpp:743) | | ->44.24% (33,554,432B) 0xAC2A1A: mongo::dur::durThread() (dur.cpp:814) | | ->44.24% (33,554,432B) 0x9854ED: boost::detail::thread_data::run() (thread.hpp:62) | | ->44.24% (33,554,432B) 0xDB7CA4: thread_proxy (thread.cpp:121) | | ->44.24% (33,554,432B) 0x4E35E98: start_thread (pthread_create.c:308) | | ->44.24% (33,554,432B) 0x5950CBB: clone (clone.S:112) | | | ->05.53% (4,194,304B) 0xAC2FF9: __static_initialization_and_destruction_0(int, int) (dur.cpp:546) | | ->05.53% (4,194,304B) 0xAC304A: _GLOBAL__sub_I_dur.cpp (dur.cpp:893) | | ->05.53% (4,194,304B) 0xEF172B: __libc_csu_init (in /data/mongo/mongo/mongod) | | ->05.53% (4,194,304B) 0x587E6FE: (below main) (libc-start.c:185) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->27.66% (20,978,696B) 0xC29B46: __static_initialization_and_destruction_0(int, int) (record.cpp:198) | ->27.66% (20,978,696B) 0xC29BFD: _GLOBAL__sub_I_record.cpp (record.cpp:453) | ->27.66% (20,978,696B) 0xEF172B: __libc_csu_init (in /data/mongo/mongo/mongod) | ->27.66% (20,978,696B) 0x587E6FE: (below main) (libc-start.c:185) | ->10.86% (8,237,424B) 0x96F7C9: mongo::ourmalloc(unsigned long) (allocator.h:28) | ->07.15% (5,421,056B) 0xD6C6B1: mongo::MessagingPort::recv(mongo::Message&) (message_port.cpp:188) | | ->07.14% (5,417,984B) 0x9AF673: mongo::DBClientConnection::recv(mongo::Message&) (dbclient.cpp:1145) | | | ->07.14% (5,417,984B) 0x9D2D29: mongo::DBClientCursor::initLazyFinish(bool&) (dbclientcursor.cpp:89) | | | ->07.14% (5,417,984B) 0x9FC29E: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1425) | | | ->07.14% (5,417,984B) 0x9FB507: mongo::ParallelSortClusteredCursor::_init() (parallel.cpp:1282) | | | ->07.14% (5,417,984B) 0x9F0DD3: mongo::ClusteredCursor::init() (parallel.cpp:83) | | | ->07.14% (5,417,984B) 0xA7CADB: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1311) | | | ->07.14% (5,417,984B) 0xA98918: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | ->07.14% (5,417,984B) 0xA9968A: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | ->07.14% (5,417,984B) 0xA9A0E3: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | ->07.14% (5,417,984B) 0xB8F3CC: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | ->07.14% (5,417,984B) 0xB93DAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | ->07.14% (5,417,984B) 0xB1E974: mongo::receivedQuery(mongo::Client&, mongo::DbResponse&, mongo::Message&) (instance.cpp:244) | | | ->07.14% (5,417,984B) 0xB1F922: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:390) | | | ->07.14% (5,417,984B) 0x9757F1: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:192) | | | ->07.14% (5,417,984B) 0xD6F2A8: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | ->07.14% (5,417,984B) 0x4E35E98: start_thread (pthread_create.c:308) | | | ->07.14% (5,417,984B) 0x5950CBB: clone (clone.S:112) | | | | | ->00.00% (3,072B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->03.71% (2,814,068B) 0x96F8F2: mongo::TrivialAllocator::Malloc(unsigned long) (builder.h:66) | | ->03.71% (2,814,068B) 0x977447: mongo::_BufBuilder::_BufBuilder(int) (builder.h:106) | | ->03.64% (2,762,868B) 0x9710EE: mongo::BSONObjBuilder::BSONObjBuilder(int) (bsonobjbuilder.h:93) | | | ->03.60% (2,730,672B) 0x9B4EB8: void mongo::Query::appendComplex(char const*, mongo::BSONObj const&) (dbclientinterface.h:403) | | | | ->03.60% (2,730,672B) 0x9A804B: mongo::Query::sort(mongo::BSONObj const&) (dbclient.cpp:225) | | | | ->03.60% (2,730,672B) 0xA7CA7E: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1310) | | | | | ->03.60% (2,730,672B) 0xA98918: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | | | ->03.60% (2,730,672B) 0xA9968A: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | | | ->03.60% (2,730,672B) 0xA9A0E3: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | | | ->03.60% (2,730,672B) 0xB8F3CC: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | | | ->03.60% (2,730,672B) 0xB93DAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | | | ->03.60% (2,730,672B) 0xB1E974: mongo::receivedQuery(mongo::Client&, mongo::DbResponse&, mongo::Message&) (instance.cpp:244) | | | | | ->03.60% (2,730,672B) 0xB1F922: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:390) | | | | | ->03.60% (2,730,672B) 0x9757F1: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:192) | | | | | ->03.60% (2,730,672B) 0xD6F2A8: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | | | ->03.60% (2,730,672B) 0x4E35E98: start_thread (pthread_create.c:308) | | | | | ->03.60% (2,730,672B) 0x5950CBB: clone (clone.S:112) | | | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | | | ->00.04% (32,196B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.07% (51,200B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.00% (2,300B) in 1+ places, all below ms_print's threshold (01.00%) | ->03.57% (2,710,016B) 0x9B9CAA: __gnu_cxx::new_allocator::allocate(unsigned long, void const*) (new_allocator.h:92) | ->03.57% (2,710,016B) 0x9B98C5: std::_Deque_base >::_M_allocate_node() (stl_deque.h:525) | | ->03.57% (2,710,016B) 0x9B9A39: std::_Deque_base >::_M_create_nodes(mongo::BSONObj**, mongo::BSONObj**) (stl_deque.h:619) | | ->03.57% (2,710,016B) 0x9B8059: std::_Deque_base >::_M_initialize_map(unsigned long) (stl_deque.h:593) | | ->03.57% (2,710,016B) 0x9B833F: std::_Deque_base >::_Deque_base(std::allocator const&, unsigned long) (stl_deque.h:460) | | | ->03.57% (2,710,016B) 0x9B67FC: std::deque >::deque(std::deque > const&) (stl_deque.h:831) | | | ->03.57% (2,709,504B) 0x9B4A49: std::stack > >::stack(std::deque > const&) (stl_stack.h:130) | | | | ->03.57% (2,709,504B) 0x9B215E: mongo::DBClientCursor::DBClientCursor(mongo::DBClientBase*, std::string const&, mongo::BSONObj, int, int, mongo::BSONObj const*, int, int) (dbclientcursor.h:143) | | | | ->03.57% (2,709,504B) 0x9FBF65: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1384) | | | | | ->03.57% (2,709,504B) 0x9FB507: mongo::ParallelSortClusteredCursor::_init() (parallel.cpp:1282) | | | | | ->03.57% (2,709,504B) 0x9F0DD3: mongo::ClusteredCursor::init() (parallel.cpp:83) | | | | | ->03.57% (2,709,504B) 0xA7CADB: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1311) | | | | | ->03.57% (2,709,504B) 0xA98918: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | | | ->03.57% (2,709,504B) 0xA9968A: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | | | ->03.57% (2,709,504B) 0xA9A0E3: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | | | ->03.57% (2,709,504B) 0xB8F3CC: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | | | ->03.57% (2,709,504B) 0xB93DAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | | | ->03.57% (2,709,504B) 0xB1E974: mongo::receivedQuery(mongo::Client&, mongo::DbResponse&, mongo::Message&) (instance.cpp:244) | | | | | ->03.57% (2,709,504B) 0xB1F922: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:390) | | | | | ->03.57% (2,709,504B) 0x9757F1: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:192) | | | | | ->03.57% (2,709,504B) 0xD6F2A8: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | | | ->03.57% (2,709,504B) 0x4E35E98: start_thread (pthread_create.c:308) | | | | | ->03.57% (2,709,504B) 0x5950CBB: clone (clone.S:112) | | | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | | | ->00.00% (512B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->02.93% (2,219,408B) in 480 places, all below massif's threshold (01.00%) | ->01.62% (1,227,744B) 0x9FBEF6: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1384) | ->01.62% (1,227,744B) 0x9FB507: mongo::ParallelSortClusteredCursor::_init() (parallel.cpp:1282) | ->01.62% (1,227,744B) 0x9F0DD3: mongo::ClusteredCursor::init() (parallel.cpp:83) | ->01.62% (1,227,744B) 0xA7CADB: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1311) | ->01.62% (1,227,744B) 0xA98918: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | ->01.62% (1,227,744B) 0xA9968A: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | ->01.62% (1,227,744B) 0xA9A0E3: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | ->01.62% (1,227,744B) 0xB8F3CC: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | ->01.62% (1,227,744B) 0xB93DAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | ->01.62% (1,227,744B) 0xB1E974: mongo::receivedQuery(mongo::Client&, mongo::DbResponse&, mongo::Message&) (instance.cpp:244) | ->01.62% (1,227,744B) 0xB1F922: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:390) | ->01.62% (1,227,744B) 0x9757F1: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:192) | ->01.62% (1,227,744B) 0xD6F2A8: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | ->01.62% (1,227,744B) 0x4E35E98: start_thread (pthread_create.c:308) | ->01.62% (1,227,744B) 0x5950CBB: clone (clone.S:112) | ->01.23% (931,392B) 0x9B24F3: mongo::DBClientCursor::Batch::Batch() (in /data/mongo/mongo/mongod) | ->01.23% (931,392B) 0x9B2084: mongo::DBClientCursor::DBClientCursor(mongo::DBClientBase*, std::string const&, mongo::BSONObj, int, int, mongo::BSONObj const*, int, int) (dbclientcursor.h:143) | ->01.23% (931,392B) 0x9FBF65: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1384) | | ->01.23% (931,392B) 0x9FB507: mongo::ParallelSortClusteredCursor::_init() (parallel.cpp:1282) | | ->01.23% (931,392B) 0x9F0DD3: mongo::ClusteredCursor::init() (parallel.cpp:83) | | ->01.23% (931,392B) 0xA7CADB: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1311) | | ->01.23% (931,392B) 0xA98918: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | ->01.23% (931,392B) 0xA9968A: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | ->01.23% (931,392B) 0xA9A0E3: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | ->01.23% (931,392B) 0xB8F3CC: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | ->01.23% (931,392B) 0xB93DAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | ->01.23% (931,392B) 0xB1E974: mongo::receivedQuery(mongo::Client&, mongo::DbResponse&, mongo::Message&) (instance.cpp:244) | | ->01.23% (931,392B) 0xB1F922: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:390) | | ->01.23% (931,392B) 0x9757F1: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:192) | | ->01.23% (931,392B) 0xD6F2A8: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | ->01.23% (931,392B) 0x4E35E98: start_thread (pthread_create.c:308) | | ->01.23% (931,392B) 0x5950CBB: clone (clone.S:112) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->01.06% (803,689B) 0x50E9A87: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) ->01.06% (803,689B) in 4 places, all below massif's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 39 157,656,685,589 76,162,728 75,159,290 1,003,438 0 40 162,985,754,784 76,516,696 75,509,828 1,006,868 0 41 168,665,815,488 77,197,120 76,140,273 1,056,847 0 42 173,787,030,060 77,522,208 76,485,767 1,036,441 0 43 176,618,627,135 77,772,816 76,716,719 1,056,097 0 44 180,649,095,549 78,330,224 77,214,433 1,115,791 0 45 183,480,641,462 78,684,224 77,550,034 1,134,190 0 46 187,724,420,672 78,860,696 77,758,754 1,101,942 0 47 191,990,031,597 79,529,640 78,354,551 1,175,089 0 48 194,500,781,551 79,808,040 78,619,767 1,188,273 0 98.51% (78,619,767B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->47.30% (37,748,736B) 0xD4DA27: mongo::AlignedBuilder::_malloc(unsigned int) (alignedbuilder.cpp:108) | ->47.30% (37,748,736B) 0xD4D679: mongo::AlignedBuilder::AlignedBuilder(unsigned int) (alignedbuilder.cpp:26) | ->42.04% (33,554,432B) 0xACB7FD: mongo::dur::Journal::journal(mongo::dur::JSectHeader const&, mongo::AlignedBuilder const&) (dur_journal.cpp:705) | | ->42.04% (33,554,432B) 0xACB68E: mongo::dur::WRITETOJOURNAL(mongo::dur::JSectHeader, mongo::AlignedBuilder&) (dur_journal.cpp:700) | | ->42.04% (33,554,432B) 0xAC1C9C: mongo::dur::_groupCommitWithLimitedLocks() (dur.cpp:584) | | ->42.04% (33,554,432B) 0xAC1DC7: mongo::dur::groupCommitWithLimitedLocks() (dur.cpp:608) | | ->42.04% (33,554,432B) 0xAC26BA: mongo::dur::durThreadGroupCommit() (dur.cpp:743) | | ->42.04% (33,554,432B) 0xAC2A1A: mongo::dur::durThread() (dur.cpp:814) | | ->42.04% (33,554,432B) 0x9854ED: boost::detail::thread_data::run() (thread.hpp:62) | | ->42.04% (33,554,432B) 0xDB7CA4: thread_proxy (thread.cpp:121) | | ->42.04% (33,554,432B) 0x4E35E98: start_thread (pthread_create.c:308) | | ->42.04% (33,554,432B) 0x5950CBB: clone (clone.S:112) | | | ->05.26% (4,194,304B) 0xAC2FF9: __static_initialization_and_destruction_0(int, int) (dur.cpp:546) | | ->05.26% (4,194,304B) 0xAC304A: _GLOBAL__sub_I_dur.cpp (dur.cpp:893) | | ->05.26% (4,194,304B) 0xEF172B: __libc_csu_init (in /data/mongo/mongo/mongod) | | ->05.26% (4,194,304B) 0x587E6FE: (below main) (libc-start.c:185) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->26.29% (20,978,696B) 0xC29B46: __static_initialization_and_destruction_0(int, int) (record.cpp:198) | ->26.29% (20,978,696B) 0xC29BFD: _GLOBAL__sub_I_record.cpp (record.cpp:453) | ->26.29% (20,978,696B) 0xEF172B: __libc_csu_init (in /data/mongo/mongo/mongod) | ->26.29% (20,978,696B) 0x587E6FE: (below main) (libc-start.c:185) | ->12.98% (10,360,855B) 0x96F7C9: mongo::ourmalloc(unsigned long) (allocator.h:28) | ->08.59% (6,855,680B) 0xD6C6B1: mongo::MessagingPort::recv(mongo::Message&) (message_port.cpp:188) | | ->08.59% (6,854,656B) 0x9AF673: mongo::DBClientConnection::recv(mongo::Message&) (dbclient.cpp:1145) | | | ->08.59% (6,854,656B) 0x9D2D29: mongo::DBClientCursor::initLazyFinish(bool&) (dbclientcursor.cpp:89) | | | ->08.59% (6,854,656B) 0x9FC29E: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1425) | | | ->08.59% (6,854,656B) 0x9FB507: mongo::ParallelSortClusteredCursor::_init() (parallel.cpp:1282) | | | ->08.59% (6,854,656B) 0x9F0DD3: mongo::ClusteredCursor::init() (parallel.cpp:83) | | | ->08.59% (6,854,656B) 0xA7CADB: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1311) | | | ->08.59% (6,854,656B) 0xA98918: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | ->08.59% (6,854,656B) 0xA9968A: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | ->08.59% (6,854,656B) 0xA9A0E3: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | ->08.59% (6,854,656B) 0xB8F3CC: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | ->08.59% (6,854,656B) 0xB93DAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | ->08.59% (6,854,656B) 0xB1E974: mongo::receivedQuery(mongo::Client&, mongo::DbResponse&, mongo::Message&) (instance.cpp:244) | | | ->08.59% (6,854,656B) 0xB1F922: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:390) | | | ->08.59% (6,854,656B) 0x9757F1: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:192) | | | ->08.59% (6,854,656B) 0xD6F2A8: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | ->08.59% (6,854,656B) 0x4E35E98: start_thread (pthread_create.c:308) | | | ->08.59% (6,854,656B) 0x5950CBB: clone (clone.S:112) | | | | | ->00.00% (1,024B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->04.39% (3,503,692B) 0x96F8F2: mongo::TrivialAllocator::Malloc(unsigned long) (builder.h:66) | | ->04.39% (3,503,692B) 0x977447: mongo::_BufBuilder::_BufBuilder(int) (builder.h:106) | | ->04.37% (3,484,236B) 0x9710EE: mongo::BSONObjBuilder::BSONObjBuilder(int) (bsonobjbuilder.h:93) | | | ->04.33% (3,454,104B) 0x9B4EB8: void mongo::Query::appendComplex(char const*, mongo::BSONObj const&) (dbclientinterface.h:403) | | | | ->04.33% (3,454,104B) 0x9A804B: mongo::Query::sort(mongo::BSONObj const&) (dbclient.cpp:225) | | | | ->04.33% (3,454,104B) 0xA7CA7E: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1310) | | | | | ->04.33% (3,454,104B) 0xA98918: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | | | ->04.33% (3,454,104B) 0xA9968A: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | | | ->04.33% (3,454,104B) 0xA9A0E3: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | | | ->04.33% (3,454,104B) 0xB8F3CC: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | | | ->04.33% (3,454,104B) 0xB93DAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | | | ->04.33% (3,454,104B) 0xB1E974: mongo::receivedQuery(mongo::Client&, mongo::DbResponse&, mongo::Message&) (instance.cpp:244) | | | | | ->04.33% (3,454,104B) 0xB1F922: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:390) | | | | | ->04.33% (3,454,104B) 0x9757F1: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:192) | | | | | ->04.33% (3,454,104B) 0xD6F2A8: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | | | ->04.33% (3,454,104B) 0x4E35E98: start_thread (pthread_create.c:308) | | | | | ->04.33% (3,454,104B) 0x5950CBB: clone (clone.S:112) | | | | | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | | | ->00.04% (30,132B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.02% (19,456B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.00% (1,483B) in 1+ places, all below ms_print's threshold (01.00%) | ->04.30% (3,428,368B) 0x9B9CAA: __gnu_cxx::new_allocator::allocate(unsigned long, void const*) (new_allocator.h:92) | ->04.30% (3,428,352B) 0x9B98C5: std::_Deque_base >::_M_allocate_node() (stl_deque.h:525) | | ->04.30% (3,428,352B) 0x9B9A39: std::_Deque_base >::_M_create_nodes(mongo::BSONObj**, mongo::BSONObj**) (stl_deque.h:619) | | ->04.30% (3,428,352B) 0x9B8059: std::_Deque_base >::_M_initialize_map(unsigned long) (stl_deque.h:593) | | ->04.30% (3,428,352B) 0x9B833F: std::_Deque_base >::_Deque_base(std::allocator const&, unsigned long) (stl_deque.h:460) | | | ->04.30% (3,428,352B) 0x9B67FC: std::deque >::deque(std::deque > const&) (stl_deque.h:831) | | | ->04.30% (3,427,840B) 0x9B4A49: std::stack > >::stack(std::deque > const&) (stl_stack.h:130) | | | | ->04.30% (3,427,840B) 0x9B215E: mongo::DBClientCursor::DBClientCursor(mongo::DBClientBase*, std::string const&, mongo::BSONObj, int, int, mongo::BSONObj const*, int, int) (dbclientcursor.h:143) | | | | ->04.29% (3,427,328B) 0x9FBF65: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1384) | | | | | ->04.29% (3,427,328B) 0x9FB507: mongo::ParallelSortClusteredCursor::_init() (parallel.cpp:1282) | | | | | ->04.29% (3,427,328B) 0x9F0DD3: mongo::ClusteredCursor::init() (parallel.cpp:83) | | | | | ->04.29% (3,427,328B) 0xA7CADB: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1311) | | | | | ->04.29% (3,427,328B) 0xA98918: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | | | ->04.29% (3,427,328B) 0xA9968A: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | | | ->04.29% (3,427,328B) 0xA9A0E3: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | | | ->04.29% (3,427,328B) 0xB8F3CC: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | | | ->04.29% (3,427,328B) 0xB93DAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | | | ->04.29% (3,427,328B) 0xB1E974: mongo::receivedQuery(mongo::Client&, mongo::DbResponse&, mongo::Message&) (instance.cpp:244) | | | | | ->04.29% (3,427,328B) 0xB1F922: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:390) | | | | | ->04.29% (3,427,328B) 0x9757F1: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:192) | | | | | ->04.29% (3,427,328B) 0xD6F2A8: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | | | ->04.29% (3,427,328B) 0x4E35E98: start_thread (pthread_create.c:308) | | | | | ->04.29% (3,427,328B) 0x5950CBB: clone (clone.S:112) | | | | | | | | | ->00.00% (512B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | | | ->00.00% (512B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.00% (16B) in 1+ places, all below ms_print's threshold (01.00%) | ->02.96% (2,365,190B) in 480 places, all below massif's threshold (01.00%) | ->01.95% (1,553,008B) 0x9FBEF6: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1384) | ->01.95% (1,553,008B) 0x9FB507: mongo::ParallelSortClusteredCursor::_init() (parallel.cpp:1282) | ->01.95% (1,553,008B) 0x9F0DD3: mongo::ClusteredCursor::init() (parallel.cpp:83) | ->01.95% (1,553,008B) 0xA7CADB: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1311) | ->01.95% (1,553,008B) 0xA98918: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | ->01.95% (1,553,008B) 0xA9968A: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | ->01.95% (1,553,008B) 0xA9A0E3: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | ->01.95% (1,553,008B) 0xB8F3CC: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | ->01.95% (1,553,008B) 0xB93DAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | ->01.95% (1,553,008B) 0xB1E974: mongo::receivedQuery(mongo::Client&, mongo::DbResponse&, mongo::Message&) (instance.cpp:244) | ->01.95% (1,553,008B) 0xB1F922: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:390) | ->01.95% (1,553,008B) 0x9757F1: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:192) | ->01.95% (1,553,008B) 0xD6F2A8: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | ->01.95% (1,553,008B) 0x4E35E98: start_thread (pthread_create.c:308) | ->01.95% (1,553,008B) 0x5950CBB: clone (clone.S:112) | ->01.48% (1,178,320B) 0x9B24F3: mongo::DBClientCursor::Batch::Batch() (in /data/mongo/mongo/mongod) | ->01.48% (1,178,320B) 0x9B2084: mongo::DBClientCursor::DBClientCursor(mongo::DBClientBase*, std::string const&, mongo::BSONObj, int, int, mongo::BSONObj const*, int, int) (dbclientcursor.h:143) | ->01.48% (1,178,144B) 0x9FBF65: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1384) | | ->01.48% (1,178,144B) 0x9FB507: mongo::ParallelSortClusteredCursor::_init() (parallel.cpp:1282) | | ->01.48% (1,178,144B) 0x9F0DD3: mongo::ClusteredCursor::init() (parallel.cpp:83) | | ->01.48% (1,178,144B) 0xA7CADB: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1311) | | ->01.48% (1,178,144B) 0xA98918: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | ->01.48% (1,178,144B) 0xA9968A: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | ->01.48% (1,178,144B) 0xA9A0E3: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | ->01.48% (1,178,144B) 0xB8F3CC: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | ->01.48% (1,178,144B) 0xB93DAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | ->01.48% (1,178,144B) 0xB1E974: mongo::receivedQuery(mongo::Client&, mongo::DbResponse&, mongo::Message&) (instance.cpp:244) | | ->01.48% (1,178,144B) 0xB1F922: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:390) | | ->01.48% (1,178,144B) 0x9757F1: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:192) | | ->01.48% (1,178,144B) 0xD6F2A8: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | ->01.48% (1,178,144B) 0x4E35E98: start_thread (pthread_create.c:308) | | ->01.48% (1,178,144B) 0x5950CBB: clone (clone.S:112) | | | ->00.00% (176B) in 1+ places, all below ms_print's threshold (01.00%) | ->01.26% (1,006,594B) 0x50E9A87: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) ->01.26% (1,006,594B) in 4 places, all below massif's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 49 195,916,745,480 79,892,136 78,697,981 1,194,155 0