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

Server shutdown frequently

    • Type: Icon: Question Question
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.2.9
    • Component/s: None
    • Labels:

      Hello i have live website and have a separate DB server for mongodb under aws t2 medium instance. The server does not respond after some frequent time and to fix it i do a restart of the instance. Following is the log encountered in mongodb log before it gets shutdown

      2017-10-10T07:20:54.722+0000 I NETWORK  [initandlisten] connection accepted from 52.221.108.123:49153 #23610 (3 connections now open)
      2017-10-10T07:20:54.938+0000 F -        [conn23610] out of memory.
      
       0x13225f2 0x1322049 0x12a7e11 0xded676 0xcd2a79 0xcd8525 0x9baeac 0x12cedb5 0x7f6ba821f184 0x7f6ba7f4c37d
      ----- BEGIN BACKTRACE -----
      {"backtrace":[{"b":"400000","o":"F225F2","s":"_ZN5mongo15printStackTraceERSo"},{"b":"400000","o":"F22049","s":"_ZN5mongo29reportOutOfMemoryErrorAndExitEv"},{"b":"400000","o":"EA7E11","s":"_ZN5mongo11mongoMallocEm"},{"b":"400000","o":"9ED676","s":"_ZN5mongo7getMoreEPNS_16OperationContextEPKcixPbS4_"},{"b":"400000","o":"8D2A79","s":"_ZN5mongo15receivedGetMoreEPNS_16OperationContextERNS_10DbResponseERNS_7MessageERNS_5CurOpE"},{"b":"400000","o":"8D8525","s":"_ZN5mongo16assembleResponseEPNS_16OperationContextERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE"},{"b":"400000","o":"5BAEAC","s":"_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortE"},{"b":"400000","o":"ECEDB5","s":"_ZN5mongo17PortMessageServer17handleIncomingMsgEPv"},{"b":"7F6BA8217000","o":"8184"},{"b":"7F6BA7E52000","o":"FA37D","s":"clone"}],"processInfo":{ "mongodbVersion" : "3.2.9", "gitVersion" : "22ec9e93b40c85fc7cae7d56e7d6a02fd811088c", "compiledModules" : [], "uname" : { "sysname" : "Linux", "release" : "3.13.0-100-generic", "version" : "#147-Ubuntu SMP Tue Oct 18 16:48:51 UTC 2016", "machine" : "x86_64" }, "somap" : [ { "elfType" : 2, "b" : "400000", "buildId" : "78E57AF736DDF3E8C558F60DB63F68BCF686D70A" }, { "b" : "7FFD6D048000", "elfType" : 3, "buildId" : "5C010C1F1414642D6C56D676B45F7D4040811DE9" }, { "b" : "7F6BA9139000", "path" : "/lib/x86_64-linux-gnu/libssl.so.1.0.0", "elfType" : 3, "buildId" : "15A6A69B862FAC0AA589921DB1B0DF8A673FEC81" }, { "b" : "7F6BA8D5D000", "path" : "/lib/x86_64-linux-gnu/libcrypto.so.1.0.0", "elfType" : 3, "buildId" : "607C4A6F3428B6F065D55691AFDC4E343786A8A5" }, { "b" : "7F6BA8B55000", "path" : "/lib/x86_64-linux-gnu/librt.so.1", "elfType" : 3, "buildId" : "E2A6DD5048A0A051FD61043BDB69D8CC68192AB7" }, { "b" : "7F6BA8951000", "path" : "/lib/x86_64-linux-gnu/libdl.so.2", "elfType" : 3, "buildId" : "DA9B8C234D0FE9FD8CAAC8970A7EC1B6C8F6623F" }, { "b" : "7F6BA864B000", "path" : "/lib/x86_64-linux-gnu/libm.so.6", "elfType" : 3, "buildId" : "D144258E614900B255A31F3FD2283A878670D5BC" }, { "b" : "7F6BA8435000", "path" : "/lib/x86_64-linux-gnu/libgcc_s.so.1", "elfType" : 3, "buildId" : "36311B4457710AE5578C4BF00791DED7359DBB92" }, { "b" : "7F6BA8217000", "path" : "/lib/x86_64-linux-gnu/libpthread.so.0", "elfType" : 3, "buildId" : "31E9F21AE8C10396171F1E13DA15780986FA696C" }, { "b" : "7F6BA7E52000", "path" : "/lib/x86_64-linux-gnu/libc.so.6", "elfType" : 3, "buildId" : "CF699A15CAAE64F50311FC4655B86DC39A479789" }, { "b" : "7F6BA9398000", "path" : "/lib64/ld-linux-x86-64.so.2", "elfType" : 3, "buildId" : "D0F537904076D73F29E4A37341F8A449E2EF6CD0" } ] }}
       mongod(_ZN5mongo15printStackTraceERSo+0x32) [0x13225f2]
       mongod(_ZN5mongo29reportOutOfMemoryErrorAndExitEv+0x79) [0x1322049]
       mongod(_ZN5mongo11mongoMallocEm+0x21) [0x12a7e11]
       mongod(_ZN5mongo7getMoreEPNS_16OperationContextEPKcixPbS4_+0x296) [0xded676]
       mongod(_ZN5mongo15receivedGetMoreEPNS_16OperationContextERNS_10DbResponseERNS_7MessageERNS_5CurOpE+0x1A9) [0xcd2a79]
       mongod(_ZN5mongo16assembleResponseEPNS_16OperationContextERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0xE35) [0xcd8525]
       mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortE+0xEC) [0x9baeac]
       mongod(_ZN5mongo17PortMessageServer17handleIncomingMsgEPv+0x325) [0x12cedb5]
       libpthread.so.0(+0x8184) [0x7f6ba821f184]
       libc.so.6(clone+0x6D) [0x7f6ba7f4c37d]
      -----  END BACKTRACE  -----
      

      Please help to overcome this issue

        1. diagnostic-and-log.zip
          101.83 MB
        2. ftdc.png
          ftdc.png
          47 kB

            Assignee:
            mark.agarunov Mark Agarunov
            Reporter:
            sharmasabhay Abhay
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: