-
Type:
Bug
-
Resolution: Done
-
Priority:
Minor - P4
-
None
-
Affects Version/s: 2.3.2, 2.4.0-rc0
-
None
-
ALL
-
- Add a bunch of data to a collection (a few hundred MB will suffice)
- Run diskStorageStats() on that collection with a low granularity (<= 100 for ~400MB of data)
-
None
-
0
-
None
-
None
-
None
-
None
-
None
-
None
mongoD output:
Thu Feb 7 18:28:40.037 [conn29] CMD: storageDetails storage_details.jstests_commands, analyze diskStorage Thu Feb 7 18:28:40.340 [conn29] Assertion: 13548:BufBuilder attempted to grow() to 134217728 bytes, past the 64MB limit. 0xc2c3b3 0xbf37f4 0x7161a7 0x716203 0x838c33 0x8393d9 0x83aa64 0x84cedf 0x84dbf4 0x84e977 0xa18fba 0xa1d0b1 0x9c5c5c 0x716e29 0xc19beb 0x7fb05c005e9a 0x7fb05b5234bd ./mongod(_ZN5mongo15printStackTraceERSo+0x23) [0xc2c3b3] ./mongod(_ZN5mongo11msgassertedEiPKc+0x94) [0xbf37f4] ./mongod(_ZN5mongo11_BufBuilderINS_16TrivialAllocatorEE15grow_reallocateEv+0xb7) [0x7161a7] ./mongod(_ZN5mongo11_BufBuilderINS_16TrivialAllocatorEE4growEi+0x23) [0x716203] ./mongod() [0x838c33] ./mongod() [0x8393d9] ./mongod() [0x83aa64] ./mongod(_ZN5mongo12_execCommandEPNS_7CommandERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x2f) [0x84cedf] ./mongod(_ZN5mongo7Command11execCommandEPS0_RNS_6ClientEiPKcRNS_7BSONObjERNS_14BSONObjBuilderEb+0xa14) [0x84dbf4] ./mongod(_ZN5mongo12_runCommandsEPKcRNS_7BSONObjERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x2a7) [0x84e977] ./mongod(_ZN5mongo11runCommandsEPKcRNS_7BSONObjERNS_5CurOpERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x3a) [0xa18fba] ./mongod(_ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1_+0xcf1) [0xa1d0b1] ./mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0xb4c) [0x9c5c5c] ./mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0x89) [0x716e29] ./mongod(_ZN5mongo17PortMessageServer17handleIncomingMsgEPv+0x41b) [0xc19beb] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a) [0x7fb05c005e9a] /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7fb05b5234bd] Thu Feb 7 18:28:40.344 [conn29] Assertion: 13548:BufBuilder attempted to grow() to 134217728 bytes, past the 64MB limit. 0xc2c3b3 0xbf37f4 0x7161a7 0x716203 0x719788 0x76766b 0x8390c1 0x8393d9 0x83aa64 0x84cedf 0x84dbf4 0x84e977 0xa18fba 0xa1d0b1 0x9c5c5c 0x716e29 0xc19beb 0x7fb05c005e9a 0x7fb05b5234bd ./mongod(_ZN5mongo15printStackTraceERSo+0x23) [0xc2c3b3] ./mongod(_ZN5mongo11msgassertedEiPKc+0x94) [0xbf37f4] ./mongod(_ZN5mongo11_BufBuilderINS_16TrivialAllocatorEE15grow_reallocateEv+0xb7) [0x7161a7] ./mongod(_ZN5mongo11_BufBuilderINS_16TrivialAllocatorEE4growEi+0x23) [0x716203] ./mongod(_ZN5mongo14BSONObjBuilderD1Ev+0x68) [0x719788] ./mongod(_ZN5mongo16BSONArrayBuilderD1Ev+0x1b) [0x76766b] ./mongod() [0x8390c1] ./mongod() [0x8393d9] ./mongod() [0x83aa64] ./mongod(_ZN5mongo12_execCommandEPNS_7CommandERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x2f) [0x84cedf] ./mongod(_ZN5mongo7Command11execCommandEPS0_RNS_6ClientEiPKcRNS_7BSONObjERNS_14BSONObjBuilderEb+0xa14) [0x84dbf4] ./mongod(_ZN5mongo12_runCommandsEPKcRNS_7BSONObjERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x2a7) [0x84e977] ./mongod(_ZN5mongo11runCommandsEPKcRNS_7BSONObjERNS_5CurOpERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x3a) [0xa18fba] ./mongod(_ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1_+0xcf1) [0xa1d0b1] ./mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0xb4c) [0x9c5c5c] ./mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0x89) [0x716e29] ./mongod(_ZN5mongo17PortMessageServer17handleIncomingMsgEPv+0x41b) [0xc19beb] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a) [0x7fb05c005e9a] /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7fb05b5234bd] Thu Feb 7 18:28:40.348 terminate() called, printing stack (if implemented for platform): 0xc2c3b3 0x7058aa 0x7fb05bdb3846 0x7fb05bdb28d9 0x7fb05bdb316d 0x7fb05b7fd71b 0x7fb05b7fdb78 0x767691 0x8390c1 0x8393d9 0x83aa64 0x84cedf 0x84dbf4 0x84e977 0xa18fba 0xa1d0b1 0x9c5c5c 0x716e29 0xc19beb 0x7fb05c005e9a ./mongod(_ZN5mongo15printStackTraceERSo+0x23) [0xc2c3b3] ./mongod(_ZN5mongo11myterminateEv+0x3a) [0x7058aa] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb5846) [0x7fb05bdb3846] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb48d9) [0x7fb05bdb28d9] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(__gxx_personality_v0+0x22d) [0x7fb05bdb316d] /lib/x86_64-linux-gnu/libgcc_s.so.1(+0xf71b) [0x7fb05b7fd71b] /lib/x86_64-linux-gnu/libgcc_s.so.1(_Unwind_Resume+0x68) [0x7fb05b7fdb78] ./mongod() [0x767691] ./mongod() [0x8390c1] ./mongod() [0x8393d9] ./mongod() [0x83aa64] ./mongod(_ZN5mongo12_execCommandEPNS_7CommandERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x2f) [0x84cedf] ./mongod(_ZN5mongo7Command11execCommandEPS0_RNS_6ClientEiPKcRNS_7BSONObjERNS_14BSONObjBuilderEb+0xa14) [0x84dbf4] ./mongod(_ZN5mongo12_runCommandsEPKcRNS_7BSONObjERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x2a7) [0x84e977] ./mongod(_ZN5mongo11runCommandsEPKcRNS_7BSONObjERNS_5CurOpERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x3a) [0xa18fba] ./mongod(_ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1_+0xcf1) [0xa1d0b1] ./mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0xb4c) [0x9c5c5c] ./mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0x89) [0x716e29] ./mongod(_ZN5mongo17PortMessageServer17handleIncomingMsgEPv+0x41b) [0xc19beb] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a) [0x7fb05c005e9a] Thu Feb 7 18:28:40.351 Got signal: 6 (Aborted). Thu Feb 7 18:28:40.354 Backtrace: 0xc2c3b3 0x7065ae 0x7fb05b4674c0 0x7fb05b467445 0x7fb05b46abab 0x7058af 0x7fb05bdb3846 0x7fb05bdb28d9 0x7fb05bdb316d 0x7fb05b7fd71b 0x7fb05b7fdb78 0x767691 0x8390c1 0x8393d9 0x83aa64 0x84cedf 0x84dbf4 0x84e977 0xa18fba 0xa1d0b1 ./mongod(_ZN5mongo15printStackTraceERSo+0x23) [0xc2c3b3] ./mongod(_ZN5mongo10abruptQuitEi+0x39e) [0x7065ae] /lib/x86_64-linux-gnu/libc.so.6(+0x364c0) [0x7fb05b4674c0] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7fb05b467445] /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b) [0x7fb05b46abab] ./mongod(_ZN5mongo11myterminateEv+0x3f) [0x7058af] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb5846) [0x7fb05bdb3846] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb48d9) [0x7fb05bdb28d9] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(__gxx_personality_v0+0x22d) [0x7fb05bdb316d] /lib/x86_64-linux-gnu/libgcc_s.so.1(+0xf71b) [0x7fb05b7fd71b] /lib/x86_64-linux-gnu/libgcc_s.so.1(_Unwind_Resume+0x68) [0x7fb05b7fdb78] ./mongod() [0x767691] ./mongod() [0x8390c1] ./mongod() [0x8393d9] ./mongod() [0x83aa64] ./mongod(_ZN5mongo12_execCommandEPNS_7CommandERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x2f) [0x84cedf] ./mongod(_ZN5mongo7Command11execCommandEPS0_RNS_6ClientEiPKcRNS_7BSONObjERNS_14BSONObjBuilderEb+0xa14) [0x84dbf4] ./mongod(_ZN5mongo12_runCommandsEPKcRNS_7BSONObjERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x2a7) [0x84e977] ./mongod(_ZN5mongo11runCommandsEPKcRNS_7BSONObjERNS_5CurOpERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x3a) [0xa18fba] ./mongod(_ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1_+0xcf1) [0xa1d0b1]
The stack trace for pagesInRAM:
Thu Feb 7 18:30:49.501 [conn1] CMD: storageDetails storage_details.jstests_commands, analyze pagesInRAM Thu Feb 7 18:30:52.209 [conn1] Assertion: 13548:BufBuilder attempted to grow() to 134217728 bytes, past the 64MB limit. 0xc2c3b3 0xbf37f4 0x7161a7 0x716203 0x836c0d 0x839700 0x83aa64 0x84cedf 0x84dbf4 0x84e977 0xa18fba 0xa1d0b1 0x9c5c5c 0x716e29 0xc19beb 0x7f6940d27e9a 0x7f69402454bd ./mongod(_ZN5mongo15printStackTraceERSo+0x23) [0xc2c3b3] ./mongod(_ZN5mongo11msgassertedEiPKc+0x94) [0xbf37f4] ./mongod(_ZN5mongo11_BufBuilderINS_16TrivialAllocatorEE15grow_reallocateEv+0xb7) [0x7161a7] ./mongod(_ZN5mongo11_BufBuilderINS_16TrivialAllocatorEE4growEi+0x23) [0x716203] ./mongod() [0x836c0d] ./mongod() [0x839700] ./mongod() [0x83aa64] ./mongod(_ZN5mongo12_execCommandEPNS_7CommandERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x2f) [0x84cedf] ./mongod(_ZN5mongo7Command11execCommandEPS0_RNS_6ClientEiPKcRNS_7BSONObjERNS_14BSONObjBuilderEb+0xa14) [0x84dbf4] ./mongod(_ZN5mongo12_runCommandsEPKcRNS_7BSONObjERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x2a7) [0x84e977] ./mongod(_ZN5mongo11runCommandsEPKcRNS_7BSONObjERNS_5CurOpERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x3a) [0xa18fba] ./mongod(_ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1_+0xcf1) [0xa1d0b1] ./mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0xb4c) [0x9c5c5c] ./mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0x89) [0x716e29] ./mongod(_ZN5mongo17PortMessageServer17handleIncomingMsgEPv+0x41b) [0xc19beb] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a) [0x7f6940d27e9a] /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f69402454bd] Thu Feb 7 18:30:52.213 [conn1] Assertion: 13548:BufBuilder attempted to grow() to 134217728 bytes, past the 64MB limit. 0xc2c3b3 0xbf37f4 0x7161a7 0x716203 0x719788 0x7676bb 0x839877 0x83aa64 0x84cedf 0x84dbf4 0x84e977 0xa18fba 0xa1d0b1 0x9c5c5c 0x716e29 0xc19beb 0x7f6940d27e9a 0x7f69402454bd ./mongod(_ZN5mongo15printStackTraceERSo+0x23) [0xc2c3b3] ./mongod(_ZN5mongo11msgassertedEiPKc+0x94) [0xbf37f4] ./mongod(_ZN5mongo11_BufBuilderINS_16TrivialAllocatorEE15grow_reallocateEv+0xb7) [0x7161a7] ./mongod(_ZN5mongo11_BufBuilderINS_16TrivialAllocatorEE4growEi+0x23) [0x716203] ./mongod(_ZN5mongo14BSONObjBuilderD1Ev+0x68) [0x719788] ./mongod(_ZN5mongo16BSONArrayBuilderD0Ev+0x1b) [0x7676bb] ./mongod() [0x839877] ./mongod() [0x83aa64] ./mongod(_ZN5mongo12_execCommandEPNS_7CommandERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x2f) [0x84cedf] ./mongod(_ZN5mongo7Command11execCommandEPS0_RNS_6ClientEiPKcRNS_7BSONObjERNS_14BSONObjBuilderEb+0xa14) [0x84dbf4] ./mongod(_ZN5mongo12_runCommandsEPKcRNS_7BSONObjERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x2a7) [0x84e977] ./mongod(_ZN5mongo11runCommandsEPKcRNS_7BSONObjERNS_5CurOpERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x3a) [0xa18fba] ./mongod(_ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1_+0xcf1) [0xa1d0b1] ./mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0xb4c) [0x9c5c5c] ./mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0x89) [0x716e29] ./mongod(_ZN5mongo17PortMessageServer17handleIncomingMsgEPv+0x41b) [0xc19beb] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a) [0x7f6940d27e9a] /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f69402454bd] Thu Feb 7 18:30:52.217 terminate() called, printing stack (if implemented for platform): 0xc2c3b3 0x7058aa 0x7f6940ad5846 0x7f6940ad48d9 0x7f6940ad516d 0x7f694051f71b 0x7f694051fb78 0x7676e8 0x839877 0x83aa64 0x84cedf 0x84dbf4 0x84e977 0xa18fba 0xa1d0b1 0x9c5c5c 0x716e29 0xc19beb 0x7f6940d27e9a 0x7f69402454bd ./mongod(_ZN5mongo15printStackTraceERSo+0x23) [0xc2c3b3] ./mongod(_ZN5mongo11myterminateEv+0x3a) [0x7058aa] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb5846) [0x7f6940ad5846] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb48d9) [0x7f6940ad48d9] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(__gxx_personality_v0+0x22d) [0x7f6940ad516d] /lib/x86_64-linux-gnu/libgcc_s.so.1(+0xf71b) [0x7f694051f71b] /lib/x86_64-linux-gnu/libgcc_s.so.1(_Unwind_Resume+0x68) [0x7f694051fb78] ./mongod() [0x7676e8] ./mongod() [0x839877] ./mongod() [0x83aa64] ./mongod(_ZN5mongo12_execCommandEPNS_7CommandERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x2f) [0x84cedf] ./mongod(_ZN5mongo7Command11execCommandEPS0_RNS_6ClientEiPKcRNS_7BSONObjERNS_14BSONObjBuilderEb+0xa14) [0x84dbf4] ./mongod(_ZN5mongo12_runCommandsEPKcRNS_7BSONObjERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x2a7) [0x84e977] ./mongod(_ZN5mongo11runCommandsEPKcRNS_7BSONObjERNS_5CurOpERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x3a) [0xa18fba] ./mongod(_ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1_+0xcf1) [0xa1d0b1] ./mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0xb4c) [0x9c5c5c] ./mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0x89) [0x716e29] ./mongod(_ZN5mongo17PortMessageServer17handleIncomingMsgEPv+0x41b) [0xc19beb] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a) [0x7f6940d27e9a] /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f69402454bd] Thu Feb 7 18:30:52.220 Got signal: 6 (Aborted). Thu Feb 7 18:30:52.223 Backtrace: 0xc2c3b3 0x7065ae 0x7f69401894c0 0x7f6940189445 0x7f694018cbab 0x7058af 0x7f6940ad5846 0x7f6940ad48d9 0x7f6940ad516d 0x7f694051f71b 0x7f694051fb78 0x7676e8 0x839877 0x83aa64 0x84cedf 0x84dbf4 0x84e977 0xa18fba 0xa1d0b1 0x9c5c5c ./mongod(_ZN5mongo15printStackTraceERSo+0x23) [0xc2c3b3] ./mongod(_ZN5mongo10abruptQuitEi+0x39e) [0x7065ae] /lib/x86_64-linux-gnu/libc.so.6(+0x364c0) [0x7f69401894c0] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7f6940189445] /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b) [0x7f694018cbab] ./mongod(_ZN5mongo11myterminateEv+0x3f) [0x7058af] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb5846) [0x7f6940ad5846] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb48d9) [0x7f6940ad48d9] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(__gxx_personality_v0+0x22d) [0x7f6940ad516d] /lib/x86_64-linux-gnu/libgcc_s.so.1(+0xf71b) [0x7f694051f71b] /lib/x86_64-linux-gnu/libgcc_s.so.1(_Unwind_Resume+0x68) [0x7f694051fb78] ./mongod() [0x7676e8] ./mongod() [0x839877] ./mongod() [0x83aa64] ./mongod(_ZN5mongo12_execCommandEPNS_7CommandERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x2f) [0x84cedf] ./mongod(_ZN5mongo7Command11execCommandEPS0_RNS_6ClientEiPKcRNS_7BSONObjERNS_14BSONObjBuilderEb+0xa14) [0x84dbf4] ./mongod(_ZN5mongo12_runCommandsEPKcRNS_7BSONObjERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x2a7) [0x84e977] ./mongod(_ZN5mongo11runCommandsEPKcRNS_7BSONObjERNS_5CurOpERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x3a) [0xa18fba] ./mongod(_ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1_+0xcf1) [0xa1d0b1] ./mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0xb4c) [0x9c5c5c]