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

On out of memory condition we should issue a dump file before an attempt to format the problem to mogod logfile

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Diagnostics, Logging
    • Labels:

      Description

      On a single replica set mongod or SA

      Version:
      db version v3.1.6-pre-
      git version: 63863aefa21b33e6f84b8b466f70581dd921dba7
      OpenSSL version: OpenSSL 1.0.1p-fips 9 Jul 2015

      Environment: Windows

      When machine get to out of memory condition, we don't have the resources to format the symbols and print the problem to our trace file (required additional load module and string allocations...).

      It will be better if we will issue the dump before trying to format, this will help us to understand the problem

      currently implementation

      printWindowsStackTrace(contextCopy);
      doMinidumpWithException(excPointers);
      

      i suggest to switch the order minidump should be first

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              eitan.klein Eitan Klein
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: