Stop profiler on regular system shutdown

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.6.0-rc0
    • Component/s: Diagnostics
    • None
    • Storage Execution
    • None
    • 3
    • 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:
            [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            Alvin Richards (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: