-------------------------------------------------------------------------------- Command: /data/code/mongo/mongod --dbpath /data/db/ --logpath /data/log/mongod.log --port 27017 Massif arguments: (none) ms_print arguments: massif.out.1456 -------------------------------------------------------------------------------- MB 70.03^ # | ::::::::::@@:@@@:@# | ::::@:::::::::::::@:::: ::: :: @@:@@@:@# | :::::::::::::::::::@::: @: : :::: ::: @: :: ::: :: @@:@@@:@# |::::@::::::::: : :::: ::::: :::@::: @: : :::: ::: @: :: ::: :: @@:@@@:@# |:: :@:: :: ::: : :::: ::::: :::@::: @: : :::: ::: @: :: ::: :: @@:@@@:@# |:: :@:: :: ::: : :::: ::::: :::@::: @: : :::: ::: @: :: ::: :: @@:@@@:@# |:: :@:: :: ::: : :::: ::::: :::@::: @: : :::: ::: @: :: ::: :: @@:@@@:@# |:: :@:: :: ::: : :::: ::::: :::@::: @: : :::: ::: @: :: ::: :: @@:@@@:@# |:: :@:: :: ::: : :::: ::::: :::@::: @: : :::: ::: @: :: ::: :: @@:@@@:@# |:: :@:: :: ::: : :::: ::::: :::@::: @: : :::: ::: @: :: ::: :: @@:@@@:@# |:: :@:: :: ::: : :::: ::::: :::@::: @: : :::: ::: @: :: ::: :: @@:@@@:@# |:: :@:: :: ::: : :::: ::::: :::@::: @: : :::: ::: @: :: ::: :: @@:@@@:@# |:: :@:: :: ::: : :::: ::::: :::@::: @: : :::: ::: @: :: ::: :: @@:@@@:@# |:: :@:: :: ::: : :::: ::::: :::@::: @: : :::: ::: @: :: ::: :: @@:@@@:@# |:: :@:: :: ::: : :::: ::::: :::@::: @: : :::: ::: @: :: ::: :: @@:@@@:@# |:: :@:: :: ::: : :::: ::::: :::@::: @: : :::: ::: @: :: ::: :: @@:@@@:@# |:: :@:: :: ::: : :::: ::::: :::@::: @: : :::: ::: @: :: ::: :: @@:@@@:@# |:: :@:: :: ::: : :::: ::::: :::@::: @: : :::: ::: @: :: ::: :: @@:@@@:@# |:: :@:: :: ::: : :::: ::::: :::@::: @: : :::: ::: @: :: ::: :: @@:@@@:@# 0 +----------------------------------------------------------------------->Gi 0 941.5 Number of snapshots: 99 Detailed snapshots: [4, 25, 29, 39, 48, 49, 59, 64, 74, 84, 93 (peak)] -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 0 0 0 0 0 0 1 11,624,480,627 60,245,640 60,074,567 171,073 0 2 25,758,625,720 60,162,432 60,004,889 157,543 0 3 45,759,863,012 60,663,680 60,394,893 268,787 0 4 56,431,589,383 60,998,208 60,656,752 341,456 0 99.44% (60,656,752B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->61.88% (37,748,736B) 0x8E9620: mongo::AlignedBuilder::_malloc(unsigned int) (alignedbuilder.cpp:108) | ->61.88% (37,748,736B) 0x8E965E: mongo::AlignedBuilder::AlignedBuilder(unsigned int) (alignedbuilder.cpp:26) | ->55.01% (33,554,432B) 0x6B03E7: mongo::dur::Journal::journal(mongo::dur::JSectHeader const&, mongo::AlignedBuilder const&) (dur_journal.cpp:705) | | ->55.01% (33,554,432B) 0x6B05B0: mongo::dur::WRITETOJOURNAL(mongo::dur::JSectHeader, mongo::AlignedBuilder&) (dur_journal.cpp:700) | | ->55.01% (33,554,432B) 0x6A97FA: mongo::dur::groupCommitWithLimitedLocks() (dur.cpp:584) | | ->55.01% (33,554,432B) 0x6A9DB8: mongo::dur::durThread() (dur.cpp:743) | | ->55.01% (33,554,432B) 0x963919: thread_proxy (thread.cpp:121) | | ->55.01% (33,554,432B) 0x4E35E98: start_thread (pthread_create.c:308) | | ->55.01% (33,554,432B) 0x5950CCB: clone (clone.S:112) | | | ->06.88% (4,194,304B) 0x57918D: _GLOBAL__sub_I_dur.cpp (dur.cpp:546) | | ->06.88% (4,194,304B) 0xA3007B: __libc_csu_init (in /data/code/mongo/mongod) | | ->06.88% (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.39% (20,978,696B) 0x57C92F: _GLOBAL__sub_I_record.cpp (record.cpp:198) | ->34.39% (20,978,696B) 0xA3007B: __libc_csu_init (in /data/code/mongo/mongod) | ->34.39% (20,978,696B) 0x587E6FE: (below main) (libc-start.c:185) | ->03.16% (1,929,320B) in 594 places, all below massif's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 5 75,964,389,137 60,774,688 60,471,257 303,431 0 6 96,720,873,203 61,282,160 60,883,707 398,453 0 7 114,747,788,530 61,846,104 61,303,970 542,134 0 8 131,223,573,647 61,488,344 61,004,925 483,419 0 9 155,704,373,291 62,304,696 61,630,575 674,121 0 10 177,274,166,425 62,551,912 61,805,228 746,684 0 11 195,253,422,051 62,842,304 62,040,830 801,474 0 12 214,966,055,436 63,016,200 62,160,893 855,307 0 13 238,684,110,547 63,251,384 62,335,901 915,483 0 14 252,914,963,673 63,288,096 62,356,606 931,490 0 15 275,679,293,096 63,644,568 62,625,444 1,019,124 0 16 294,653,699,925 63,930,336 62,838,725 1,091,611 0 17 312,781,860,594 64,077,880 62,914,314 1,163,566 0 18 335,521,433,705 64,178,776 62,977,003 1,201,773 0 19 350,681,019,564 64,620,584 63,340,208 1,280,376 0 20 363,083,265,563 64,778,688 63,436,332 1,342,356 0 21 378,242,809,096 64,980,128 63,583,243 1,396,885 0 22 400,982,116,101 64,835,712 63,414,744 1,420,968 0 23 417,124,168,104 65,558,720 64,036,887 1,521,833 0 24 428,493,993,161 65,848,416 64,255,102 1,593,314 0 25 443,653,554,492 66,075,512 64,426,987 1,648,525 0 97.51% (64,426,987B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->57.13% (37,748,736B) 0x8E9620: mongo::AlignedBuilder::_malloc(unsigned int) (alignedbuilder.cpp:108) | ->57.13% (37,748,736B) 0x8E965E: mongo::AlignedBuilder::AlignedBuilder(unsigned int) (alignedbuilder.cpp:26) | ->50.78% (33,554,432B) 0x6B03E7: mongo::dur::Journal::journal(mongo::dur::JSectHeader const&, mongo::AlignedBuilder const&) (dur_journal.cpp:705) | | ->50.78% (33,554,432B) 0x6B05B0: mongo::dur::WRITETOJOURNAL(mongo::dur::JSectHeader, mongo::AlignedBuilder&) (dur_journal.cpp:700) | | ->50.78% (33,554,432B) 0x6A97FA: mongo::dur::groupCommitWithLimitedLocks() (dur.cpp:584) | | ->50.78% (33,554,432B) 0x6A9DB8: mongo::dur::durThread() (dur.cpp:743) | | ->50.78% (33,554,432B) 0x963919: thread_proxy (thread.cpp:121) | | ->50.78% (33,554,432B) 0x4E35E98: start_thread (pthread_create.c:308) | | ->50.78% (33,554,432B) 0x5950CCB: clone (clone.S:112) | | | ->06.35% (4,194,304B) 0x57918D: _GLOBAL__sub_I_dur.cpp (dur.cpp:546) | | ->06.35% (4,194,304B) 0xA3007B: __libc_csu_init (in /data/code/mongo/mongod) | | ->06.35% (4,194,304B) 0x587E6FE: (below main) (libc-start.c:185) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->31.75% (20,978,696B) 0x57C92F: _GLOBAL__sub_I_record.cpp (record.cpp:198) | ->31.75% (20,978,696B) 0xA3007B: __libc_csu_init (in /data/code/mongo/mongod) | ->31.75% (20,978,696B) 0x587E6FE: (below main) (libc-start.c:185) | ->04.21% (2,783,861B) 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) | ->04.16% (2,751,723B) 0x50EA7F9: std::string::_Rep::_M_clone(std::allocator const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) | | ->04.16% (2,751,689B) 0x50EA8DE: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) | | | ->04.15% (2,744,810B) 0x50EAE0B: std::string::append(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) | | | | ->04.15% (2,744,334B) 0x66A933: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (basic_string.h:2310) | | | | | ->04.15% (2,744,334B) 0x67DBFD: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | | | ->04.15% (2,744,334B) 0x67E684: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | | | ->04.15% (2,744,334B) 0x67F58B: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | | | ->04.15% (2,744,334B) 0x74CFC8: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | | | ->04.15% (2,744,334B) 0x750AAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | | | ->04.15% (2,744,334B) 0x6FB166: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:244) | | | | | ->04.15% (2,744,334B) 0x592777: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:193) | | | | | ->04.15% (2,744,334B) 0x90DDC9: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | | | ->04.15% (2,744,334B) 0x4E35E98: start_thread (pthread_create.c:308) | | | | | ->04.15% (2,744,334B) 0x5950CCB: clone (clone.S:112) | | | | | | | | | ->00.00% (476B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | | | ->00.01% (6,879B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.00% (34B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.05% (32,138B) in 1+ places, all below ms_print's threshold (01.00%) | ->02.33% (1,539,160B) 0x5A8F4E: std::_Rb_tree, std::less, std::allocator >::_M_insert_(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base const*, std::string const&) (new_allocator.h:92) | ->02.33% (1,538,920B) 0x5BAA50: std::_Rb_tree, std::less, std::allocator >::_M_insert_unique(std::string const&) (stl_tree.h:1291) | | ->02.33% (1,538,880B) 0x8B5BA7: mongo::ClientConnections::_check(std::string const&) (stl_set.h:410) | | | ->02.33% (1,538,880B) 0x8B5C28: mongo::ClientConnections::get(std::string const&, std::string const&) (shardconnection.cpp:149) | | | ->02.33% (1,538,880B) 0x8B4142: mongo::ShardConnection::_init() (shardconnection.cpp:323) | | | ->02.33% (1,538,880B) 0x8B420C: mongo::ShardConnection::ShardConnection(std::string const&, std::string const&, boost::shared_ptr) (shardconnection.cpp:316) | | | ->02.33% (1,538,880B) 0x5F8E86: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1377) | | | ->02.33% (1,538,880B) 0x669753: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1308) | | | ->02.33% (1,538,880B) 0x67DBFD: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | ->02.33% (1,538,880B) 0x67E684: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | ->02.33% (1,538,880B) 0x67F58B: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | ->02.33% (1,538,880B) 0x74CFC8: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | ->02.33% (1,538,880B) 0x750AAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | ->02.33% (1,538,880B) 0x6FB166: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:244) | | | ->02.33% (1,538,880B) 0x592777: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:193) | | | ->02.33% (1,538,880B) 0x90DDC9: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | ->02.33% (1,538,880B) 0x4E35E98: start_thread (pthread_create.c:308) | | | ->02.33% (1,538,880B) 0x5950CCB: clone (clone.S:112) | | | | | ->00.00% (40B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.00% (240B) in 1+ places, all below ms_print's threshold (01.00%) | ->02.08% (1,376,534B) in 593 places, all below massif's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 26 455,023,525,400 66,255,464 64,557,802 1,697,662 0 27 471,236,599,833 66,244,608 64,542,476 1,702,132 0 28 489,786,045,819 66,457,976 64,678,789 1,779,187 0 29 512,112,808,633 67,061,304 65,169,953 1,891,351 0 97.18% (65,169,953B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->56.29% (37,748,736B) 0x8E9620: mongo::AlignedBuilder::_malloc(unsigned int) (alignedbuilder.cpp:108) | ->56.29% (37,748,736B) 0x8E965E: mongo::AlignedBuilder::AlignedBuilder(unsigned int) (alignedbuilder.cpp:26) | ->50.04% (33,554,432B) 0x6B03E7: mongo::dur::Journal::journal(mongo::dur::JSectHeader const&, mongo::AlignedBuilder const&) (dur_journal.cpp:705) | | ->50.04% (33,554,432B) 0x6B05B0: mongo::dur::WRITETOJOURNAL(mongo::dur::JSectHeader, mongo::AlignedBuilder&) (dur_journal.cpp:700) | | ->50.04% (33,554,432B) 0x6A97FA: mongo::dur::groupCommitWithLimitedLocks() (dur.cpp:584) | | ->50.04% (33,554,432B) 0x6A9DB8: mongo::dur::durThread() (dur.cpp:743) | | ->50.04% (33,554,432B) 0x963919: thread_proxy (thread.cpp:121) | | ->50.04% (33,554,432B) 0x4E35E98: start_thread (pthread_create.c:308) | | ->50.04% (33,554,432B) 0x5950CCB: clone (clone.S:112) | | | ->06.25% (4,194,304B) 0x57918D: _GLOBAL__sub_I_dur.cpp (dur.cpp:546) | | ->06.25% (4,194,304B) 0xA3007B: __libc_csu_init (in /data/code/mongo/mongod) | | ->06.25% (4,194,304B) 0x587E6FE: (below main) (libc-start.c:185) | | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | ->31.28% (20,978,696B) 0x57C92F: _GLOBAL__sub_I_record.cpp (record.cpp:198) | ->31.28% (20,978,696B) 0xA3007B: __libc_csu_init (in /data/code/mongo/mongod) | ->31.28% (20,978,696B) 0x587E6FE: (below main) (libc-start.c:185) | ->04.79% (3,209,872B) 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) | ->04.74% (3,176,367B) 0x50EA7F9: std::string::_Rep::_M_clone(std::allocator const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) | | ->04.74% (3,176,333B) 0x50EA8DE: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) | | | ->04.72% (3,168,459B) 0x50EAE0B: std::string::append(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) | | | | ->04.72% (3,167,983B) 0x66A933: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (basic_string.h:2310) | | | | | ->04.72% (3,167,983B) 0x67DBFD: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | | | ->04.72% (3,167,983B) 0x67E684: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | | | ->04.72% (3,167,983B) 0x67F58B: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | | | ->04.72% (3,167,983B) 0x74CFC8: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | | | ->04.72% (3,167,983B) 0x750AAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | | | ->04.72% (3,167,983B) 0x6FB166: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:244) | | | | | ->04.72% (3,167,983B) 0x592777: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:193) | | | | | ->04.72% (3,167,983B) 0x90DDC9: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | | | ->04.72% (3,167,983B) 0x4E35E98: start_thread (pthread_create.c:308) | | | | | ->04.72% (3,167,983B) 0x5950CCB: clone (clone.S:112) | | | | | | | | | ->00.00% (476B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | | | ->00.01% (7,874B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.00% (34B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.05% (33,505B) in 1+ places, all below ms_print's threshold (01.00%) | ->02.65% (1,776,720B) 0x5A8F4E: std::_Rb_tree, std::less, std::allocator >::_M_insert_(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base const*, std::string const&) (new_allocator.h:92) | ->02.65% (1,776,480B) 0x5BAA50: std::_Rb_tree, std::less, std::allocator >::_M_insert_unique(std::string const&) (stl_tree.h:1291) | | ->02.65% (1,776,440B) 0x8B5BA7: mongo::ClientConnections::_check(std::string const&) (stl_set.h:410) | | | ->02.65% (1,776,440B) 0x8B5C28: mongo::ClientConnections::get(std::string const&, std::string const&) (shardconnection.cpp:149) | | | ->02.65% (1,776,440B) 0x8B4142: mongo::ShardConnection::_init() (shardconnection.cpp:323) | | | ->02.65% (1,776,440B) 0x8B420C: mongo::ShardConnection::ShardConnection(std::string const&, std::string const&, boost::shared_ptr) (shardconnection.cpp:316) | | | ->02.65% (1,776,440B) 0x5F8E86: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1377) | | | ->02.65% (1,776,440B) 0x669753: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1308) | | | ->02.65% (1,776,440B) 0x67DBFD: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | ->02.65% (1,776,440B) 0x67E684: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | ->02.65% (1,776,440B) 0x67F58B: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | ->02.65% (1,776,440B) 0x74CFC8: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | ->02.65% (1,776,440B) 0x750AAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | ->02.65% (1,776,440B) 0x6FB166: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:244) | | | ->02.65% (1,776,440B) 0x592777: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:193) | | | ->02.65% (1,776,440B) 0x90DDC9: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | ->02.65% (1,776,440B) 0x4E35E98: start_thread (pthread_create.c:308) | | | ->02.65% (1,776,440B) 0x5950CCB: clone (clone.S:112) | | | | | ->00.00% (40B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.00% (240B) in 1+ places, all below ms_print's threshold (01.00%) | ->02.17% (1,455,929B) in 593 places, all below massif's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 30 533,503,640,795 66,802,840 64,918,398 1,884,442 0 31 554,893,924,423 67,292,520 65,313,759 1,978,761 0 32 578,133,214,705 67,559,312 65,493,017 2,066,295 0 33 593,776,145,398 67,559,648 65,473,634 2,086,014 0 34 607,680,970,568 67,395,376 65,275,170 2,120,206 0 35 630,224,581,821 68,508,496 66,217,026 2,291,470 0 36 647,605,967,547 68,778,776 66,424,686 2,354,090 0 37 660,745,230,372 68,909,904 66,514,790 2,395,114 0 38 684,133,583,085 69,240,384 66,764,014 2,476,370 0 39 703,842,415,419 69,469,752 66,928,384 2,541,368 0 96.34% (66,928,384B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->54.34% (37,748,736B) 0x8E9620: mongo::AlignedBuilder::_malloc(unsigned int) (alignedbuilder.cpp:108) | ->54.34% (37,748,736B) 0x8E965E: mongo::AlignedBuilder::AlignedBuilder(unsigned int) (alignedbuilder.cpp:26) | ->48.30% (33,554,432B) 0x6B03E7: mongo::dur::Journal::journal(mongo::dur::JSectHeader const&, mongo::AlignedBuilder const&) (dur_journal.cpp:705) | | ->48.30% (33,554,432B) 0x6B05B0: mongo::dur::WRITETOJOURNAL(mongo::dur::JSectHeader, mongo::AlignedBuilder&) (dur_journal.cpp:700) | | ->48.30% (33,554,432B) 0x6A97FA: mongo::dur::groupCommitWithLimitedLocks() (dur.cpp:584) | | ->48.30% (33,554,432B) 0x6A9DB8: mongo::dur::durThread() (dur.cpp:743) | | ->48.30% (33,554,432B) 0x963919: thread_proxy (thread.cpp:121) | | ->48.30% (33,554,432B) 0x4E35E98: start_thread (pthread_create.c:308) | | ->48.30% (33,554,432B) 0x5950CCB: clone (clone.S:112) | | | ->06.04% (4,194,304B) 0x57918D: _GLOBAL__sub_I_dur.cpp (dur.cpp:546) | | ->06.04% (4,194,304B) 0xA3007B: __libc_csu_init (in /data/code/mongo/mongod) | | ->06.04% (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.20% (20,978,696B) 0x57C92F: _GLOBAL__sub_I_record.cpp (record.cpp:198) | ->30.20% (20,978,696B) 0xA3007B: __libc_csu_init (in /data/code/mongo/mongod) | ->30.20% (20,978,696B) 0x587E6FE: (below main) (libc-start.c:185) | ->06.33% (4,394,366B) 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) | ->06.28% (4,362,326B) 0x50EA7F9: std::string::_Rep::_M_clone(std::allocator const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) | | ->06.28% (4,362,292B) 0x50EA8DE: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) | | | ->06.27% (4,354,338B) 0x50EAE0B: std::string::append(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) | | | | ->06.27% (4,353,757B) 0x66A933: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (basic_string.h:2310) | | | | | ->06.27% (4,353,757B) 0x67DBFD: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | | | ->06.27% (4,353,757B) 0x67E684: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | | | ->06.27% (4,353,757B) 0x67F58B: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | | | ->06.27% (4,353,757B) 0x74CFC8: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | | | ->06.27% (4,353,757B) 0x750AAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | | | ->06.27% (4,353,757B) 0x6FB166: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:244) | | | | | ->06.27% (4,353,757B) 0x592777: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:193) | | | | | ->06.27% (4,353,757B) 0x90DDC9: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | | | ->06.27% (4,353,757B) 0x4E35E98: start_thread (pthread_create.c:308) | | | | | ->06.27% (4,353,757B) 0x5950CCB: clone (clone.S:112) | | | | | | | | | ->00.00% (581B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | | | ->00.01% (7,954B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.00% (34B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.05% (32,040B) in 1+ places, all below ms_print's threshold (01.00%) | ->03.51% (2,441,680B) 0x5A8F4E: std::_Rb_tree, std::less, std::allocator >::_M_insert_(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base const*, std::string const&) (new_allocator.h:92) | ->03.51% (2,441,440B) 0x5BAA50: std::_Rb_tree, std::less, std::allocator >::_M_insert_unique(std::string const&) (stl_tree.h:1291) | | ->03.51% (2,441,360B) 0x8B5BA7: mongo::ClientConnections::_check(std::string const&) (stl_set.h:410) | | | ->03.51% (2,441,360B) 0x8B5C28: mongo::ClientConnections::get(std::string const&, std::string const&) (shardconnection.cpp:149) | | | ->03.51% (2,441,360B) 0x8B4142: mongo::ShardConnection::_init() (shardconnection.cpp:323) | | | ->03.51% (2,441,360B) 0x8B420C: mongo::ShardConnection::ShardConnection(std::string const&, std::string const&, boost::shared_ptr) (shardconnection.cpp:316) | | | ->03.51% (2,441,360B) 0x5F8E86: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1377) | | | ->03.51% (2,441,360B) 0x669753: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1308) | | | ->03.51% (2,441,360B) 0x67DBFD: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | ->03.51% (2,441,360B) 0x67E684: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | ->03.51% (2,441,360B) 0x67F58B: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | ->03.51% (2,441,360B) 0x74CFC8: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | ->03.51% (2,441,360B) 0x750AAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | ->03.51% (2,441,360B) 0x6FB166: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:244) | | | ->03.51% (2,441,360B) 0x592777: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:193) | | | ->03.51% (2,441,360B) 0x90DDC9: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | ->03.51% (2,441,360B) 0x4E35E98: start_thread (pthread_create.c:308) | | | ->03.51% (2,441,360B) 0x5950CCB: clone (clone.S:112) | | | | | ->00.00% (80B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.00% (240B) in 1+ places, all below ms_print's threshold (01.00%) | ->01.96% (1,364,906B) in 593 places, all below massif's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 40 727,899,039,044 69,649,296 67,055,437 2,593,859 0 41 750,892,704,008 70,069,544 67,368,300 2,701,244 0 42 764,032,015,583 70,238,728 67,504,061 2,734,667 0 43 787,547,336,359 70,325,280 67,535,372 2,789,908 0 44 803,971,387,381 70,758,200 67,887,029 2,871,171 0 45 822,814,597,045 71,039,384 68,091,839 2,947,545 0 46 848,034,020,463 71,141,600 68,151,360 2,990,240 0 47 867,001,299,214 71,373,752 68,331,173 3,042,579 0 48 885,803,435,770 71,972,984 68,812,005 3,160,979 0 95.61% (68,812,005B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->52.45% (37,748,736B) 0x8E9620: mongo::AlignedBuilder::_malloc(unsigned int) (alignedbuilder.cpp:108) | ->52.45% (37,748,736B) 0x8E965E: mongo::AlignedBuilder::AlignedBuilder(unsigned int) (alignedbuilder.cpp:26) | ->46.62% (33,554,432B) 0x6B03E7: mongo::dur::Journal::journal(mongo::dur::JSectHeader const&, mongo::AlignedBuilder const&) (dur_journal.cpp:705) | | ->46.62% (33,554,432B) 0x6B05B0: mongo::dur::WRITETOJOURNAL(mongo::dur::JSectHeader, mongo::AlignedBuilder&) (dur_journal.cpp:700) | | ->46.62% (33,554,432B) 0x6A97FA: mongo::dur::groupCommitWithLimitedLocks() (dur.cpp:584) | | ->46.62% (33,554,432B) 0x6A9DB8: mongo::dur::durThread() (dur.cpp:743) | | ->46.62% (33,554,432B) 0x963919: thread_proxy (thread.cpp:121) | | ->46.62% (33,554,432B) 0x4E35E98: start_thread (pthread_create.c:308) | | ->46.62% (33,554,432B) 0x5950CCB: clone (clone.S:112) | | | ->05.83% (4,194,304B) 0x57918D: _GLOBAL__sub_I_dur.cpp (dur.cpp:546) | | ->05.83% (4,194,304B) 0xA3007B: __libc_csu_init (in /data/code/mongo/mongod) | | ->05.83% (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.15% (20,978,696B) 0x57C92F: _GLOBAL__sub_I_record.cpp (record.cpp:198) | ->29.15% (20,978,696B) 0xA3007B: __libc_csu_init (in /data/code/mongo/mongod) | ->29.15% (20,978,696B) 0x587E6FE: (below main) (libc-start.c:185) | ->07.67% (5,521,904B) 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) | ->07.63% (5,489,261B) 0x50EA7F9: std::string::_Rep::_M_clone(std::allocator const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) | | ->07.63% (5,489,193B) 0x50EA8DE: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) | | | ->07.62% (5,481,238B) 0x50EAE0B: std::string::append(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) | | | | ->07.62% (5,480,762B) 0x66A933: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (basic_string.h:2310) | | | | | ->07.62% (5,480,762B) 0x67DBFD: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | | | ->07.62% (5,480,762B) 0x67E684: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | | | ->07.62% (5,480,762B) 0x67F58B: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | | | ->07.62% (5,480,762B) 0x74CFC8: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | | | ->07.62% (5,480,762B) 0x750AAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | | | ->07.62% (5,480,762B) 0x6FB166: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:244) | | | | | ->07.62% (5,480,762B) 0x592777: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:193) | | | | | ->07.62% (5,480,762B) 0x90DDC9: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | | | ->07.62% (5,480,762B) 0x4E35E98: start_thread (pthread_create.c:308) | | | | | ->07.62% (5,480,762B) 0x5950CCB: clone (clone.S:112) | | | | | | | | | ->00.00% (476B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | | | ->00.01% (7,955B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.00% (68B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.05% (32,643B) in 1+ places, all below ms_print's threshold (01.00%) | ->04.27% (3,072,640B) 0x5A8F4E: std::_Rb_tree, std::less, std::allocator >::_M_insert_(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base const*, std::string const&) (new_allocator.h:92) | ->04.27% (3,072,400B) 0x5BAA50: std::_Rb_tree, std::less, std::allocator >::_M_insert_unique(std::string const&) (stl_tree.h:1291) | | ->04.27% (3,072,360B) 0x8B5BA7: mongo::ClientConnections::_check(std::string const&) (stl_set.h:410) | | | ->04.27% (3,072,360B) 0x8B5C28: mongo::ClientConnections::get(std::string const&, std::string const&) (shardconnection.cpp:149) | | | ->04.27% (3,072,360B) 0x8B4142: mongo::ShardConnection::_init() (shardconnection.cpp:323) | | | ->04.27% (3,072,360B) 0x8B420C: mongo::ShardConnection::ShardConnection(std::string const&, std::string const&, boost::shared_ptr) (shardconnection.cpp:316) | | | ->04.27% (3,072,360B) 0x5F8E86: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1377) | | | ->04.27% (3,072,360B) 0x669753: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1308) | | | ->04.27% (3,072,360B) 0x67DBFD: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | ->04.27% (3,072,360B) 0x67E684: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | ->04.27% (3,072,360B) 0x67F58B: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | ->04.27% (3,072,360B) 0x74CFC8: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | ->04.27% (3,072,360B) 0x750AAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | ->04.27% (3,072,360B) 0x6FB166: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:244) | | | ->04.27% (3,072,360B) 0x592777: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:193) | | | ->04.27% (3,072,360B) 0x90DDC9: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | ->04.27% (3,072,360B) 0x4E35E98: start_thread (pthread_create.c:308) | | | ->04.27% (3,072,360B) 0x5950CCB: clone (clone.S:112) | | | | | ->00.00% (40B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.00% (240B) in 1+ places, all below ms_print's threshold (01.00%) | ->02.07% (1,490,029B) in 593 places, all below massif's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 49 911,093,222,870 72,007,136 68,808,198 3,198,938 0 95.56% (68,808,198B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->52.42% (37,748,736B) 0x8E9620: mongo::AlignedBuilder::_malloc(unsigned int) (alignedbuilder.cpp:108) | ->52.42% (37,748,736B) 0x8E965E: mongo::AlignedBuilder::AlignedBuilder(unsigned int) (alignedbuilder.cpp:26) | ->46.60% (33,554,432B) 0x6B03E7: mongo::dur::Journal::journal(mongo::dur::JSectHeader const&, mongo::AlignedBuilder const&) (dur_journal.cpp:705) | | ->46.60% (33,554,432B) 0x6B05B0: mongo::dur::WRITETOJOURNAL(mongo::dur::JSectHeader, mongo::AlignedBuilder&) (dur_journal.cpp:700) | | ->46.60% (33,554,432B) 0x6A97FA: mongo::dur::groupCommitWithLimitedLocks() (dur.cpp:584) | | ->46.60% (33,554,432B) 0x6A9DB8: mongo::dur::durThread() (dur.cpp:743) | | ->46.60% (33,554,432B) 0x963919: thread_proxy (thread.cpp:121) | | ->46.60% (33,554,432B) 0x4E35E98: start_thread (pthread_create.c:308) | | ->46.60% (33,554,432B) 0x5950CCB: clone (clone.S:112) | | | ->05.82% (4,194,304B) 0x57918D: _GLOBAL__sub_I_dur.cpp (dur.cpp:546) | | ->05.82% (4,194,304B) 0xA3007B: __libc_csu_init (in /data/code/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.13% (20,978,696B) 0x57C92F: _GLOBAL__sub_I_record.cpp (record.cpp:198) | ->29.13% (20,978,696B) 0xA3007B: __libc_csu_init (in /data/code/mongo/mongod) | ->29.13% (20,978,696B) 0x587E6FE: (below main) (libc-start.c:185) | ->07.89% (5,678,820B) 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) | ->07.84% (5,647,803B) 0x50EA7F9: std::string::_Rep::_M_clone(std::allocator const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) | | ->07.84% (5,647,769B) 0x50EA8DE: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) | | | ->07.83% (5,639,866B) 0x50EAE0B: std::string::append(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) | | | | ->07.83% (5,639,390B) 0x66A933: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (basic_string.h:2310) | | | | | ->07.83% (5,639,390B) 0x67DBFD: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | | | ->07.83% (5,639,390B) 0x67E684: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | | | ->07.83% (5,639,390B) 0x67F58B: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | | | ->07.83% (5,639,390B) 0x74CFC8: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | | | ->07.83% (5,639,390B) 0x750AAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | | | ->07.83% (5,639,390B) 0x6FB166: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:244) | | | | | ->07.83% (5,639,390B) 0x592777: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:193) | | | | | ->07.83% (5,639,390B) 0x90DDC9: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | | | ->07.83% (5,639,390B) 0x4E35E98: start_thread (pthread_create.c:308) | | | | | ->07.83% (5,639,390B) 0x5950CCB: clone (clone.S:112) | | | | | | | | | ->00.00% (476B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | | | ->00.01% (7,903B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.00% (34B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.04% (31,017B) in 1+ places, all below ms_print's threshold (01.00%) | ->04.39% (3,160,360B) 0x5A8F4E: std::_Rb_tree, std::less, std::allocator >::_M_insert_(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base const*, std::string const&) (new_allocator.h:92) | ->04.39% (3,160,120B) 0x5BAA50: std::_Rb_tree, std::less, std::allocator >::_M_insert_unique(std::string const&) (stl_tree.h:1291) | | ->04.39% (3,160,080B) 0x8B5BA7: mongo::ClientConnections::_check(std::string const&) (stl_set.h:410) | | | ->04.39% (3,160,080B) 0x8B5C28: mongo::ClientConnections::get(std::string const&, std::string const&) (shardconnection.cpp:149) | | | ->04.39% (3,160,080B) 0x8B4142: mongo::ShardConnection::_init() (shardconnection.cpp:323) | | | ->04.39% (3,160,080B) 0x8B420C: mongo::ShardConnection::ShardConnection(std::string const&, std::string const&, boost::shared_ptr) (shardconnection.cpp:316) | | | ->04.39% (3,160,080B) 0x5F8E86: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1377) | | | ->04.39% (3,160,080B) 0x669753: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1308) | | | ->04.39% (3,160,080B) 0x67DBFD: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | ->04.39% (3,160,080B) 0x67E684: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | ->04.39% (3,160,080B) 0x67F58B: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | ->04.39% (3,160,080B) 0x74CFC8: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | ->04.39% (3,160,080B) 0x750AAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | ->04.39% (3,160,080B) 0x6FB166: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:244) | | | ->04.39% (3,160,080B) 0x592777: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:193) | | | ->04.39% (3,160,080B) 0x90DDC9: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | ->04.39% (3,160,080B) 0x4E35E98: start_thread (pthread_create.c:308) | | | ->04.39% (3,160,080B) 0x5950CCB: clone (clone.S:112) | | | | | ->00.00% (40B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.00% (240B) in 1+ places, all below ms_print's threshold (01.00%) | ->01.72% (1,241,586B) in 593 places, all below massif's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 50 913,175,223,164 71,985,408 68,770,136 3,215,272 0 51 915,257,039,293 72,127,344 68,894,256 3,233,088 0 52 917,338,832,197 72,168,112 68,918,086 3,250,026 0 53 919,420,634,983 72,298,568 69,033,506 3,265,062 0 54 921,502,430,082 72,281,464 69,003,356 3,278,108 0 55 923,584,221,913 72,347,864 69,061,396 3,286,468 0 56 925,666,112,226 72,413,864 69,120,931 3,292,933 0 57 927,747,904,210 72,424,000 69,122,288 3,301,712 0 58 929,830,202,239 71,942,504 68,717,505 3,224,999 0 59 931,912,022,208 72,033,648 68,792,797 3,240,851 0 95.50% (68,792,797B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->52.40% (37,748,736B) 0x8E9620: mongo::AlignedBuilder::_malloc(unsigned int) (alignedbuilder.cpp:108) | ->52.40% (37,748,736B) 0x8E965E: mongo::AlignedBuilder::AlignedBuilder(unsigned int) (alignedbuilder.cpp:26) | ->46.58% (33,554,432B) 0x6B03E7: mongo::dur::Journal::journal(mongo::dur::JSectHeader const&, mongo::AlignedBuilder const&) (dur_journal.cpp:705) | | ->46.58% (33,554,432B) 0x6B05B0: mongo::dur::WRITETOJOURNAL(mongo::dur::JSectHeader, mongo::AlignedBuilder&) (dur_journal.cpp:700) | | ->46.58% (33,554,432B) 0x6A97FA: mongo::dur::groupCommitWithLimitedLocks() (dur.cpp:584) | | ->46.58% (33,554,432B) 0x6A9DB8: mongo::dur::durThread() (dur.cpp:743) | | ->46.58% (33,554,432B) 0x963919: thread_proxy (thread.cpp:121) | | ->46.58% (33,554,432B) 0x4E35E98: start_thread (pthread_create.c:308) | | ->46.58% (33,554,432B) 0x5950CCB: clone (clone.S:112) | | | ->05.82% (4,194,304B) 0x57918D: _GLOBAL__sub_I_dur.cpp (dur.cpp:546) | | ->05.82% (4,194,304B) 0xA3007B: __libc_csu_init (in /data/code/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.12% (20,978,696B) 0x57C92F: _GLOBAL__sub_I_record.cpp (record.cpp:198) | ->29.12% (20,978,696B) 0xA3007B: __libc_csu_init (in /data/code/mongo/mongod) | ->29.12% (20,978,696B) 0x587E6FE: (below main) (libc-start.c:185) | ->08.06% (5,809,246B) 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) | ->08.02% (5,778,436B) 0x50EA7F9: std::string::_Rep::_M_clone(std::allocator const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) | | ->08.02% (5,778,402B) 0x50EA8DE: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) | | | ->08.01% (5,770,498B) 0x50EAE0B: std::string::append(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) | | | | ->08.01% (5,770,022B) 0x66A933: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (basic_string.h:2310) | | | | | ->08.01% (5,770,022B) 0x67DBFD: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | | | ->08.01% (5,770,022B) 0x67E684: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | | | ->08.01% (5,770,022B) 0x67F58B: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | | | ->08.01% (5,770,022B) 0x74CFC8: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | | | ->08.01% (5,770,022B) 0x750AAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | | | ->08.01% (5,770,022B) 0x6FB166: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:244) | | | | | ->08.01% (5,770,022B) 0x592777: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:193) | | | | | ->08.01% (5,770,022B) 0x90DDC9: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | | | ->08.01% (5,770,022B) 0x4E35E98: start_thread (pthread_create.c:308) | | | | | ->08.01% (5,770,022B) 0x5950CCB: clone (clone.S:112) | | | | | | | | | ->00.00% (476B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | | | ->00.01% (7,904B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.00% (34B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.04% (30,810B) in 1+ places, all below ms_print's threshold (01.00%) | ->04.49% (3,232,600B) 0x5A8F4E: std::_Rb_tree, std::less, std::allocator >::_M_insert_(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base const*, std::string const&) (new_allocator.h:92) | ->04.49% (3,232,360B) 0x5BAA50: std::_Rb_tree, std::less, std::allocator >::_M_insert_unique(std::string const&) (stl_tree.h:1291) | | ->04.49% (3,232,320B) 0x8B5BA7: mongo::ClientConnections::_check(std::string const&) (stl_set.h:410) | | | ->04.49% (3,232,320B) 0x8B5C28: mongo::ClientConnections::get(std::string const&, std::string const&) (shardconnection.cpp:149) | | | ->04.49% (3,232,320B) 0x8B4142: mongo::ShardConnection::_init() (shardconnection.cpp:323) | | | ->04.49% (3,232,320B) 0x8B420C: mongo::ShardConnection::ShardConnection(std::string const&, std::string const&, boost::shared_ptr) (shardconnection.cpp:316) | | | ->04.49% (3,232,320B) 0x5F8E86: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1377) | | | ->04.49% (3,232,320B) 0x669753: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1308) | | | ->04.49% (3,232,320B) 0x67DBFD: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | ->04.49% (3,232,320B) 0x67E684: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | ->04.49% (3,232,320B) 0x67F58B: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | ->04.49% (3,232,320B) 0x74CFC8: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | ->04.49% (3,232,320B) 0x750AAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | ->04.49% (3,232,320B) 0x6FB166: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:244) | | | ->04.49% (3,232,320B) 0x592777: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:193) | | | ->04.49% (3,232,320B) 0x90DDC9: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | ->04.49% (3,232,320B) 0x4E35E98: start_thread (pthread_create.c:308) | | | ->04.49% (3,232,320B) 0x5950CCB: clone (clone.S:112) | | | | | ->00.00% (40B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.00% (240B) in 1+ places, all below ms_print's threshold (01.00%) | ->01.42% (1,023,519B) in 593 places, all below massif's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 60 933,993,821,952 72,190,616 68,932,506 3,258,110 0 61 936,075,645,849 72,298,000 69,021,511 3,276,489 0 62 938,157,447,833 72,251,304 68,956,971 3,294,333 0 63 940,239,239,646 72,404,152 69,095,187 3,308,965 0 64 941,247,651,603 72,700,048 69,352,880 3,347,168 0 95.40% (69,352,880B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->51.92% (37,748,736B) 0x8E9620: mongo::AlignedBuilder::_malloc(unsigned int) (alignedbuilder.cpp:108) | ->51.92% (37,748,736B) 0x8E965E: mongo::AlignedBuilder::AlignedBuilder(unsigned int) (alignedbuilder.cpp:26) | ->46.15% (33,554,432B) 0x6B03E7: mongo::dur::Journal::journal(mongo::dur::JSectHeader const&, mongo::AlignedBuilder const&) (dur_journal.cpp:705) | | ->46.15% (33,554,432B) 0x6B05B0: mongo::dur::WRITETOJOURNAL(mongo::dur::JSectHeader, mongo::AlignedBuilder&) (dur_journal.cpp:700) | | ->46.15% (33,554,432B) 0x6A97FA: mongo::dur::groupCommitWithLimitedLocks() (dur.cpp:584) | | ->46.15% (33,554,432B) 0x6A9DB8: mongo::dur::durThread() (dur.cpp:743) | | ->46.15% (33,554,432B) 0x963919: thread_proxy (thread.cpp:121) | | ->46.15% (33,554,432B) 0x4E35E98: start_thread (pthread_create.c:308) | | ->46.15% (33,554,432B) 0x5950CCB: clone (clone.S:112) | | | ->05.77% (4,194,304B) 0x57918D: _GLOBAL__sub_I_dur.cpp (dur.cpp:546) | | ->05.77% (4,194,304B) 0xA3007B: __libc_csu_init (in /data/code/mongo/mongod) | | ->05.77% (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.86% (20,978,696B) 0x57C92F: _GLOBAL__sub_I_record.cpp (record.cpp:198) | ->28.86% (20,978,696B) 0xA3007B: __libc_csu_init (in /data/code/mongo/mongod) | ->28.86% (20,978,696B) 0x587E6FE: (below main) (libc-start.c:185) | ->08.07% (5,869,435B) 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) | ->08.03% (5,836,996B) 0x50EA7F9: std::string::_Rep::_M_clone(std::allocator const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) | | ->08.03% (5,836,962B) 0x50EA8DE: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) | | | ->08.02% (5,829,088B) 0x50EAE0B: std::string::append(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) | | | | ->08.02% (5,828,612B) 0x66A933: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (basic_string.h:2310) | | | | | ->08.02% (5,828,612B) 0x67DBFD: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | | | ->08.02% (5,828,612B) 0x67E684: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | | | ->08.02% (5,828,612B) 0x67F58B: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | | | ->08.02% (5,828,612B) 0x74CFC8: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | | | ->08.02% (5,828,612B) 0x750AAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | | | ->08.02% (5,828,612B) 0x6FB166: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:244) | | | | | ->08.02% (5,828,612B) 0x592777: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:193) | | | | | ->08.02% (5,828,612B) 0x90DDC9: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | | | ->08.02% (5,828,612B) 0x4E35E98: start_thread (pthread_create.c:308) | | | | | ->08.02% (5,828,612B) 0x5950CCB: clone (clone.S:112) | | | | | | | | | ->00.00% (476B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | | | ->00.01% (7,874B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.00% (34B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.04% (32,439B) in 1+ places, all below ms_print's threshold (01.00%) | ->04.49% (3,265,000B) 0x5A8F4E: std::_Rb_tree, std::less, std::allocator >::_M_insert_(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base const*, std::string const&) (new_allocator.h:92) | ->04.49% (3,264,760B) 0x5BAA50: std::_Rb_tree, std::less, std::allocator >::_M_insert_unique(std::string const&) (stl_tree.h:1291) | | ->04.49% (3,264,720B) 0x8B5BA7: mongo::ClientConnections::_check(std::string const&) (stl_set.h:410) | | | ->04.49% (3,264,720B) 0x8B5C28: mongo::ClientConnections::get(std::string const&, std::string const&) (shardconnection.cpp:149) | | | ->04.49% (3,264,720B) 0x8B4142: mongo::ShardConnection::_init() (shardconnection.cpp:323) | | | ->04.49% (3,264,720B) 0x8B420C: mongo::ShardConnection::ShardConnection(std::string const&, std::string const&, boost::shared_ptr) (shardconnection.cpp:316) | | | ->04.49% (3,264,720B) 0x5F8E86: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1377) | | | ->04.49% (3,264,720B) 0x669753: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1308) | | | ->04.49% (3,264,720B) 0x67DBFD: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | ->04.49% (3,264,720B) 0x67E684: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | ->04.49% (3,264,720B) 0x67F58B: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | ->04.49% (3,264,720B) 0x74CFC8: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | ->04.49% (3,264,720B) 0x750AAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | ->04.49% (3,264,720B) 0x6FB166: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:244) | | | ->04.49% (3,264,720B) 0x592777: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:193) | | | ->04.49% (3,264,720B) 0x90DDC9: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | ->04.49% (3,264,720B) 0x4E35E98: start_thread (pthread_create.c:308) | | | ->04.49% (3,264,720B) 0x5950CCB: clone (clone.S:112) | | | | | ->00.00% (40B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.00% (240B) in 1+ places, all below ms_print's threshold (01.00%) | ->02.05% (1,491,013B) in 593 places, all below massif's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 65 943,329,450,295 72,135,128 68,863,881 3,271,247 0 66 945,411,242,975 72,269,288 68,977,567 3,291,721 0 67 947,493,036,772 72,428,000 69,117,030 3,310,970 0 68 949,574,835,036 72,521,552 69,192,272 3,329,280 0 69 951,656,628,148 72,498,672 69,154,073 3,344,599 0 70 953,738,434,885 72,652,632 69,290,253 3,362,379 0 71 955,820,244,858 72,670,656 69,292,566 3,378,090 0 72 957,902,037,698 72,797,536 69,404,639 3,392,897 0 73 959,983,838,769 72,802,768 69,396,314 3,406,454 0 74 962,065,640,095 72,851,392 69,436,022 3,415,370 0 95.31% (69,436,022B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->51.82% (37,748,736B) 0x8E9620: mongo::AlignedBuilder::_malloc(unsigned int) (alignedbuilder.cpp:108) | ->51.82% (37,748,736B) 0x8E965E: mongo::AlignedBuilder::AlignedBuilder(unsigned int) (alignedbuilder.cpp:26) | ->46.06% (33,554,432B) 0x6B03E7: mongo::dur::Journal::journal(mongo::dur::JSectHeader const&, mongo::AlignedBuilder const&) (dur_journal.cpp:705) | | ->46.06% (33,554,432B) 0x6B05B0: mongo::dur::WRITETOJOURNAL(mongo::dur::JSectHeader, mongo::AlignedBuilder&) (dur_journal.cpp:700) | | ->46.06% (33,554,432B) 0x6A97FA: mongo::dur::groupCommitWithLimitedLocks() (dur.cpp:584) | | ->46.06% (33,554,432B) 0x6A9DB8: mongo::dur::durThread() (dur.cpp:743) | | ->46.06% (33,554,432B) 0x963919: thread_proxy (thread.cpp:121) | | ->46.06% (33,554,432B) 0x4E35E98: start_thread (pthread_create.c:308) | | ->46.06% (33,554,432B) 0x5950CCB: clone (clone.S:112) | | | ->05.76% (4,194,304B) 0x57918D: _GLOBAL__sub_I_dur.cpp (dur.cpp:546) | | ->05.76% (4,194,304B) 0xA3007B: __libc_csu_init (in /data/code/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.80% (20,978,696B) 0x57C92F: _GLOBAL__sub_I_record.cpp (record.cpp:198) | ->28.80% (20,978,696B) 0xA3007B: __libc_csu_init (in /data/code/mongo/mongod) | ->28.80% (20,978,696B) 0x587E6FE: (below main) (libc-start.c:185) | ->08.24% (6,000,931B) 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) | ->08.19% (5,967,613B) 0x50EA7F9: std::string::_Rep::_M_clone(std::allocator const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) | | ->08.19% (5,967,545B) 0x50EA8DE: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) | | | ->08.18% (5,959,541B) 0x50EAE0B: std::string::append(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) | | | | ->08.18% (5,958,958B) 0x66A933: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (basic_string.h:2310) | | | | | ->08.18% (5,958,958B) 0x67DBFD: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | | | ->08.18% (5,958,958B) 0x67E684: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | | | ->08.18% (5,958,958B) 0x67F58B: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | | | ->08.18% (5,958,958B) 0x74CFC8: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | | | ->08.18% (5,958,958B) 0x750AAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | | | ->08.18% (5,958,958B) 0x6FB166: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:244) | | | | | ->08.18% (5,958,958B) 0x592777: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:193) | | | | | ->08.18% (5,958,958B) 0x90DDC9: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | | | ->08.18% (5,958,958B) 0x4E35E98: start_thread (pthread_create.c:308) | | | | | ->08.18% (5,958,958B) 0x5950CCB: clone (clone.S:112) | | | | | | | | | ->00.00% (583B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | | | ->00.01% (8,004B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.00% (68B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.05% (33,318B) in 1+ places, all below ms_print's threshold (01.00%) | ->04.58% (3,337,120B) 0x5A8F4E: std::_Rb_tree, std::less, std::allocator >::_M_insert_(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base const*, std::string const&) (new_allocator.h:92) | ->04.58% (3,336,880B) 0x5BAA50: std::_Rb_tree, std::less, std::allocator >::_M_insert_unique(std::string const&) (stl_tree.h:1291) | | ->04.58% (3,336,800B) 0x8B5BA7: mongo::ClientConnections::_check(std::string const&) (stl_set.h:410) | | | ->04.58% (3,336,800B) 0x8B5C28: mongo::ClientConnections::get(std::string const&, std::string const&) (shardconnection.cpp:149) | | | ->04.58% (3,336,800B) 0x8B4142: mongo::ShardConnection::_init() (shardconnection.cpp:323) | | | ->04.58% (3,336,800B) 0x8B420C: mongo::ShardConnection::ShardConnection(std::string const&, std::string const&, boost::shared_ptr) (shardconnection.cpp:316) | | | ->04.58% (3,336,800B) 0x5F8E86: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1377) | | | ->04.58% (3,336,800B) 0x669753: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1308) | | | ->04.58% (3,336,800B) 0x67DBFD: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | ->04.58% (3,336,800B) 0x67E684: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | ->04.58% (3,336,800B) 0x67F58B: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | ->04.58% (3,336,800B) 0x74CFC8: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | ->04.58% (3,336,800B) 0x750AAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | ->04.58% (3,336,800B) 0x6FB166: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:244) | | | ->04.58% (3,336,800B) 0x592777: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:193) | | | ->04.58% (3,336,800B) 0x90DDC9: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | ->04.58% (3,336,800B) 0x4E35E98: start_thread (pthread_create.c:308) | | | ->04.58% (3,336,800B) 0x5950CCB: clone (clone.S:112) | | | | | ->00.00% (80B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.00% (240B) in 1+ places, all below ms_print's threshold (01.00%) | ->01.88% (1,370,539B) in 593 places, all below massif's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 75 964,147,431,895 72,935,008 69,511,578 3,423,430 0 76 966,229,223,804 72,927,608 69,497,365 3,430,243 0 77 968,311,195,966 72,445,008 69,091,782 3,353,226 0 78 970,392,993,441 72,557,608 69,187,619 3,369,989 0 79 972,474,790,283 72,740,016 69,347,447 3,392,569 0 80 974,556,591,470 72,828,736 69,419,374 3,409,362 0 81 976,638,387,985 72,803,344 69,376,612 3,426,732 0 82 978,720,188,300 72,929,376 69,488,039 3,441,337 0 83 980,801,998,428 72,978,728 69,519,715 3,459,013 0 84 982,883,804,310 73,103,952 69,630,992 3,472,960 0 95.25% (69,630,992B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->51.64% (37,748,736B) 0x8E9620: mongo::AlignedBuilder::_malloc(unsigned int) (alignedbuilder.cpp:108) | ->51.64% (37,748,736B) 0x8E965E: mongo::AlignedBuilder::AlignedBuilder(unsigned int) (alignedbuilder.cpp:26) | ->45.90% (33,554,432B) 0x6B03E7: mongo::dur::Journal::journal(mongo::dur::JSectHeader const&, mongo::AlignedBuilder const&) (dur_journal.cpp:705) | | ->45.90% (33,554,432B) 0x6B05B0: mongo::dur::WRITETOJOURNAL(mongo::dur::JSectHeader, mongo::AlignedBuilder&) (dur_journal.cpp:700) | | ->45.90% (33,554,432B) 0x6A97FA: mongo::dur::groupCommitWithLimitedLocks() (dur.cpp:584) | | ->45.90% (33,554,432B) 0x6A9DB8: mongo::dur::durThread() (dur.cpp:743) | | ->45.90% (33,554,432B) 0x963919: thread_proxy (thread.cpp:121) | | ->45.90% (33,554,432B) 0x4E35E98: start_thread (pthread_create.c:308) | | ->45.90% (33,554,432B) 0x5950CCB: clone (clone.S:112) | | | ->05.74% (4,194,304B) 0x57918D: _GLOBAL__sub_I_dur.cpp (dur.cpp:546) | | ->05.74% (4,194,304B) 0xA3007B: __libc_csu_init (in /data/code/mongo/mongod) | | ->05.74% (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.70% (20,978,696B) 0x57C92F: _GLOBAL__sub_I_record.cpp (record.cpp:198) | ->28.70% (20,978,696B) 0xA3007B: __libc_csu_init (in /data/code/mongo/mongod) | ->28.70% (20,978,696B) 0x587E6FE: (below main) (libc-start.c:185) | ->08.38% (6,128,837B) 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) | ->08.34% (6,097,859B) 0x50EA7F9: std::string::_Rep::_M_clone(std::allocator const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) | | ->08.34% (6,097,825B) 0x50EA8DE: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) | | | ->08.33% (6,089,923B) 0x50EAE0B: std::string::append(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) | | | | ->08.33% (6,089,447B) 0x66A933: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (basic_string.h:2310) | | | | | ->08.33% (6,089,447B) 0x67DBFD: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | | | ->08.33% (6,089,447B) 0x67E684: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | | | ->08.33% (6,089,447B) 0x67F58B: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | | | ->08.33% (6,089,447B) 0x74CFC8: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | | | ->08.33% (6,089,447B) 0x750AAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | | | ->08.33% (6,089,447B) 0x6FB166: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:244) | | | | | ->08.33% (6,089,447B) 0x592777: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:193) | | | | | ->08.33% (6,089,447B) 0x90DDC9: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | | | ->08.33% (6,089,447B) 0x4E35E98: start_thread (pthread_create.c:308) | | | | | ->08.33% (6,089,447B) 0x5950CCB: clone (clone.S:112) | | | | | | | | | ->00.00% (476B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | | | ->00.01% (7,902B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.00% (34B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.04% (30,978B) in 1+ places, all below ms_print's threshold (01.00%) | ->04.66% (3,409,240B) 0x5A8F4E: std::_Rb_tree, std::less, std::allocator >::_M_insert_(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base const*, std::string const&) (new_allocator.h:92) | ->04.66% (3,409,000B) 0x5BAA50: std::_Rb_tree, std::less, std::allocator >::_M_insert_unique(std::string const&) (stl_tree.h:1291) | | ->04.66% (3,408,960B) 0x8B5BA7: mongo::ClientConnections::_check(std::string const&) (stl_set.h:410) | | | ->04.66% (3,408,960B) 0x8B5C28: mongo::ClientConnections::get(std::string const&, std::string const&) (shardconnection.cpp:149) | | | ->04.66% (3,408,960B) 0x8B4142: mongo::ShardConnection::_init() (shardconnection.cpp:323) | | | ->04.66% (3,408,960B) 0x8B420C: mongo::ShardConnection::ShardConnection(std::string const&, std::string const&, boost::shared_ptr) (shardconnection.cpp:316) | | | ->04.66% (3,408,960B) 0x5F8E86: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1377) | | | ->04.66% (3,408,960B) 0x669753: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1308) | | | ->04.66% (3,408,960B) 0x67DBFD: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | ->04.66% (3,408,960B) 0x67E684: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | ->04.66% (3,408,960B) 0x67F58B: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | ->04.66% (3,408,960B) 0x74CFC8: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | ->04.66% (3,408,960B) 0x750AAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | ->04.66% (3,408,960B) 0x6FB166: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:244) | | | ->04.66% (3,408,960B) 0x592777: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:193) | | | ->04.66% (3,408,960B) 0x90DDC9: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | ->04.66% (3,408,960B) 0x4E35E98: start_thread (pthread_create.c:308) | | | ->04.66% (3,408,960B) 0x5950CCB: clone (clone.S:112) | | | | | ->00.00% (40B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.00% (240B) in 1+ places, all below ms_print's threshold (01.00%) | ->01.87% (1,365,483B) in 593 places, all below massif's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 85 984,965,596,531 73,096,272 69,608,100 3,488,172 0 86 987,047,413,400 73,171,720 69,674,374 3,497,346 0 87 989,129,205,340 73,199,112 69,694,767 3,504,345 0 88 991,211,020,682 73,249,752 69,736,877 3,512,875 0 89 993,292,812,499 73,025,320 69,546,689 3,478,631 0 90 995,374,613,670 72,821,336 69,375,506 3,445,830 0 91 997,456,406,050 72,941,920 69,478,046 3,463,874 0 92 999,538,214,602 73,112,384 69,628,009 3,484,375 0 93 1,000,483,391,103 73,431,736 69,888,439 3,543,297 0 95.17% (69,888,439B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->51.41% (37,748,736B) 0x8E9620: mongo::AlignedBuilder::_malloc(unsigned int) (alignedbuilder.cpp:108) | ->51.41% (37,748,736B) 0x8E965E: mongo::AlignedBuilder::AlignedBuilder(unsigned int) (alignedbuilder.cpp:26) | ->45.69% (33,554,432B) 0x6B03E7: mongo::dur::Journal::journal(mongo::dur::JSectHeader const&, mongo::AlignedBuilder const&) (dur_journal.cpp:705) | | ->45.69% (33,554,432B) 0x6B05B0: mongo::dur::WRITETOJOURNAL(mongo::dur::JSectHeader, mongo::AlignedBuilder&) (dur_journal.cpp:700) | | ->45.69% (33,554,432B) 0x6A97FA: mongo::dur::groupCommitWithLimitedLocks() (dur.cpp:584) | | ->45.69% (33,554,432B) 0x6A9DB8: mongo::dur::durThread() (dur.cpp:743) | | ->45.69% (33,554,432B) 0x963919: thread_proxy (thread.cpp:121) | | ->45.69% (33,554,432B) 0x4E35E98: start_thread (pthread_create.c:308) | | ->45.69% (33,554,432B) 0x5950CCB: clone (clone.S:112) | | | ->05.71% (4,194,304B) 0x57918D: _GLOBAL__sub_I_dur.cpp (dur.cpp:546) | | ->05.71% (4,194,304B) 0xA3007B: __libc_csu_init (in /data/code/mongo/mongod) | | ->05.71% (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.57% (20,978,696B) 0x57C92F: _GLOBAL__sub_I_record.cpp (record.cpp:198) | ->28.57% (20,978,696B) 0xA3007B: __libc_csu_init (in /data/code/mongo/mongod) | ->28.57% (20,978,696B) 0x587E6FE: (below main) (libc-start.c:185) | ->08.50% (6,239,857B) 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) | ->08.45% (6,208,357B) 0x50EA7F9: std::string::_Rep::_M_clone(std::allocator const&, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) | | ->08.45% (6,208,323B) 0x50EA8DE: std::string::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) | | | ->08.44% (6,200,449B) 0x50EAE0B: std::string::append(std::string const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16) | | | | ->08.44% (6,199,973B) 0x66A933: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (basic_string.h:2310) | | | | | ->08.44% (6,199,973B) 0x67DBFD: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | | | ->08.44% (6,199,973B) 0x67E684: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | | | ->08.44% (6,199,973B) 0x67F58B: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | | | ->08.44% (6,199,973B) 0x74CFC8: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | | | ->08.44% (6,199,973B) 0x750AAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | | | ->08.44% (6,199,973B) 0x6FB166: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:244) | | | | | ->08.44% (6,199,973B) 0x592777: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:193) | | | | | ->08.44% (6,199,973B) 0x90DDC9: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | | | ->08.44% (6,199,973B) 0x4E35E98: start_thread (pthread_create.c:308) | | | | | ->08.44% (6,199,973B) 0x5950CCB: clone (clone.S:112) | | | | | | | | | ->00.00% (476B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | | | ->00.01% (7,874B) in 1+ places, all below ms_print's threshold (01.00%) | | | | | ->00.00% (34B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.04% (31,500B) in 1+ places, all below ms_print's threshold (01.00%) | ->04.73% (3,470,360B) 0x5A8F4E: std::_Rb_tree, std::less, std::allocator >::_M_insert_(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base const*, std::string const&) (new_allocator.h:92) | ->04.73% (3,470,120B) 0x5BAA50: std::_Rb_tree, std::less, std::allocator >::_M_insert_unique(std::string const&) (stl_tree.h:1291) | | ->04.73% (3,470,080B) 0x8B5BA7: mongo::ClientConnections::_check(std::string const&) (stl_set.h:410) | | | ->04.73% (3,470,080B) 0x8B5C28: mongo::ClientConnections::get(std::string const&, std::string const&) (shardconnection.cpp:149) | | | ->04.73% (3,470,080B) 0x8B4142: mongo::ShardConnection::_init() (shardconnection.cpp:323) | | | ->04.73% (3,470,080B) 0x8B420C: mongo::ShardConnection::ShardConnection(std::string const&, std::string const&, boost::shared_ptr) (shardconnection.cpp:316) | | | ->04.73% (3,470,080B) 0x5F8E86: mongo::ParallelSortClusteredCursor::_oldInit() (parallel.cpp:1377) | | | ->04.73% (3,470,080B) 0x669753: mongo::mr::MapReduceFinishCommand::run(std::string const&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder&, bool) (mr.cpp:1308) | | | ->04.73% (3,470,080B) 0x67DBFD: mongo::_execCommand(mongo::Command*, std::string const&, mongo::BSONObj&, int, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1859) | | | ->04.73% (3,470,080B) 0x67E684: mongo::execCommand(mongo::Command*, mongo::Client&, int, char const*, mongo::BSONObj&, mongo::BSONObjBuilder&, bool) (dbcommands.cpp:1985) | | | ->04.73% (3,470,080B) 0x67F58B: mongo::_runCommands(char const*, mongo::BSONObj&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (dbcommands.cpp:2069) | | | ->04.73% (3,470,080B) 0x74CFC8: mongo::runCommands(char const*, mongo::BSONObj&, mongo::CurOp&, mongo::_BufBuilder&, mongo::BSONObjBuilder&, bool, int) (query.cpp:43) | | | ->04.73% (3,470,080B) 0x750AAD: mongo::runQuery(mongo::Message&, mongo::QueryMessage&, mongo::CurOp&, mongo::Message&) (query.cpp:920) | | | ->04.73% (3,470,080B) 0x6FB166: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (instance.cpp:244) | | | ->04.73% (3,470,080B) 0x592777: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (db.cpp:193) | | | ->04.73% (3,470,080B) 0x90DDC9: mongo::pms::threadRun(mongo::MessagingPort*) (message_server_port.cpp:85) | | | ->04.73% (3,470,080B) 0x4E35E98: start_thread (pthread_create.c:308) | | | ->04.73% (3,470,080B) 0x5950CCB: clone (clone.S:112) | | | | | ->00.00% (40B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->00.00% (240B) in 1+ places, all below ms_print's threshold (01.00%) | ->01.98% (1,450,790B) in 593 places, all below massif's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 94 1,002,565,184,134 73,405,776 69,853,944 3,551,832 0 95 1,004,646,975,947 73,137,008 69,626,827 3,510,181 0 96 1,006,728,768,218 72,842,696 69,363,128 3,479,568 0 97 1,008,810,563,058 73,006,512 69,514,537 3,491,975 0 98 1,010,892,356,292 73,106,968 69,600,793 3,506,175 0