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

Stop profiler on regular system shutdown

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.6.0-rc0
    • Component/s: Diagnostics
    • None
    • Storage Execution
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      Problem:
      If profiling has been enabled, during a regular shutdown the profiler is not turned off. This leads to profiling information that cannot be used by google-pprof because of an incomplete file writes.

      Solution:
      As part of the regular shutdown process call ::ProfilerStop() from dbexit().

      This would preserve any profile collection that may have been running and this avoid the "darn it, did not stop the profiling before I terminated the mongod process".

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            alvin Alvin Richards (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: