-
Type:
Improvement
-
Resolution: Won't Fix
-
Priority:
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".