-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Closed
Labels
FrozenDueToAgeNeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone
Description
Using go1.7beta2
The pprof tool has at least two TMPDIRs:
- One that it can take from $PPROF_TMPDIR, and defaults to $HOME/pprof. As far as I can tell, this directory is only ever used when pprof is operating remotely. This pprof directory is never deleted after it is used. So if
pprofis used locally, it keeps generating empty pprof directories in a user $HOME directory and never cleans them up. - The other temporary directory, it generates on the fly when it needs to invoke some type of visualizer for HTML, SVG, GIF, etc... pprof now properly cleans this directory up.
Why have two different variations of TMPDIRs? Why doesn't pprof clean itself up?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.Feedback is required from experts, contributors, and/or the community before a change can be made.