Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-24427

mongod out of memeory

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.0.7
    • Component/s: MMAPv1
    • Labels:
      None
    • ALL

      MongoDB version:

      Mon Jun  6 20:21:16.207 I CONTROL  [conn301539] db version v3.0.7
      Mon Jun  6 20:21:16.207 I CONTROL  [conn301539] git version: 6ce7cbe8c6b899552dadd907604559806aa2e9bd
      Mon Jun  6 20:21:16.207 I CONTROL  [conn301539] build info: Linux build16.ny.cbi.10gen.cc 2.6.32-431.3.1.el6.x86_64 #1 SMP Fri Jan 3 21:39:27 UTC 2014 x86_64 BOOST_LIB_VERSION=1_49
      Mon Jun  6 20:21:16.207 I CONTROL  [conn301539] allocator: tcmalloc
      

      System:

      32GB memory, 2T ssd, 16cores
      

      MongoDB configure:

      storage:
          dbPath: /data1/xxxx
          directoryPerDB: true
          syncPeriodSecs: 1
          mmapv1:
              nsSize: 1
              smallFiles: false
      
      replication:
          oplogSizeMB: 245760
      

      Backtrace:

      Tue Jun  7 08:13:30.524 F -        [conn309767] out of memory.
      
       0xf5e979 0xf5e259 0x1410eaf 0x9a3b64 0x9f6f94 0x9ea53d 0xbc6464 0xbc6814 0xb92272 0xa9f66e 0xaa4a1d 0x7e9eed 0xf1be6b 0x7f75db29cdf3 0x7f75da39f1bd
      ----- BEGIN BACKTRACE -----
      {"backtrace":[{"b":"400000","o":"B5E979"},{"b":"400000","o":"B5E259"},{"b":"400000","o":"1010EAF"},{"b":"400000","o":"5A3B64"},{"b":"400000","o":"5F6F94"},{"b":"400000","o":"5EA53D"},{"b":"400000","o":"7C6464"},{"b":"400000","o":"7C6814"},{"b":"400000","o":"792272"},{"b":"400000","o":"69F66E"},{"b":"400000","o":"6A4A1D"},{"b":"400000","o":"3E9EED"},{"b":"400000","o":"B1BE6B"},{"b":"7F75DB295000","o":"7DF3"},{"b":"7F75DA2A9000","o":"F61BD"}],"processInfo":{ "mongodbVersion" : "3.0.7", "gitVersion" : "6ce7cbe8c6b899552dadd907604559806aa2e9bd", "uname" : { "sysname" : "Linux", "release" : "3.10.101-1-tlinux2-0037.tl2", "version" : "#1 SMP Fri Apr 8 15:05:28 CST 2016", "machine" : "x86_64" }, "somap" : [ { "elfType" : 2, "b" : "400000" }, { "b" : "7FFFCBDC4000", "elfType" : 3 }, { "b" : "7F75DB5C1000", "path" : "/lib64/libonion.so", "elfType" : 3 }, { "b" : "7F75DB295000", "path" : "/lib64/libpthread.so.0", "elfType" : 3 }, { "b" : "7F75DB08D000", "path" : "/lib64/librt.so.1", "elfType" : 3 }, { "b" : "7F75DAE89000", "path" : "/lib64/libdl.so.2", "elfType" : 3 }, { "b" : "7F75DAB82000", "path" : "/lib64/libstdc++.so.6", "elfType" : 3 }, { "b" : "7F75DA880000", "path" : "/lib64/libm.so.6", "elfType" : 3 }, { "b" : "7F75DA66A000", "path" : "/lib64/libgcc_s.so.1", "elfType" : 3 }, { "b" : "7F75DA2A9000", "path" : "/lib64/libc.so.6", "elfType" : 3 }, { "b" : "7F75DB4B1000", "path" : "/lib64/ld-linux-x86-64.so.2", "elfType" : 3 } ] }}
       mongod(_ZN5mongo15printStackTraceERSo+0x29) [0xf5e979]
       mongod(_ZN5mongo29reportOutOfMemoryErrorAndExitEv+0x49) [0xf5e259]
       mongod(tc_new+0x1AF) [0x1410eaf]
       mongod(_ZNSt6vectorImSaImEE19_M_emplace_back_auxIIRKmEEEvDpOT_+0x34) [0x9a3b64]
       mongod(_ZN5mongo9IndexScan4workEPm+0x2D4) [0x9f6f94]
       mongod(_ZN5mongo10FetchStage4workEPm+0xCD) [0x9ea53d]
       mongod(_ZN5mongo12PlanExecutor18getNextSnapshottedEPNS_11SnapshottedINS_7BSONObjEEEPNS_8RecordIdE+0xA4) [0xbc6464]
       mongod(_ZN5mongo12PlanExecutor7getNextEPNS_7BSONObjEPNS_8RecordIdE+0x34) [0xbc6814]
       mongod(_ZN5mongo7getMoreEPNS_16OperationContextEPKcixRNS_5CurOpEiRbPb+0x522) [0xb92272]
       mongod(_ZN5mongo15receivedGetMoreEPNS_16OperationContextERNS_10DbResponseERNS_7MessageERNS_5CurOpE+0x35E) [0xa9f66e]
       mongod(_ZN5mongo16assembleResponseEPNS_16OperationContextERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0x13CD) [0xaa4a1d]
       mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0xDD) [0x7e9eed]
       mongod(_ZN5mongo17PortMessageServer17handleIncomingMsgEPv+0x34B) [0xf1be6b]
       libpthread.so.0(+0x7DF3) [0x7f75db29cdf3]
       libc.so.6(clone+0x6D) [0x7f75da39f1bd]
      -----  END BACKTRACE  -----
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            hustchensi chensi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: