Skip to content

Commit

Permalink
Merge pull request #5399 from filecoin-project/fix/watchdog-heapprof
Browse files Browse the repository at this point in the history
watchdog: increase heapprof capture threshold to 90%.
  • Loading branch information
magik6k authored Jan 21, 2021
2 parents e5efe57 + b9adf95 commit 143164f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/modules/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func MemoryWatchdog(lr repo.LockedRepo, lc fx.Lifecycle, constraints system.Memo
// will be captured during life of this process.
watchdog.HeapProfileDir = filepath.Join(lr.Path(), "heapprof")
watchdog.HeapProfileMaxCaptures = 10
watchdog.HeapProfileThreshold = 0.1
watchdog.HeapProfileThreshold = 0.9
watchdog.Logger = logWatchdog

policy := watchdog.NewWatermarkPolicy(0.50, 0.60, 0.70, 0.85, 0.90, 0.925, 0.95)
Expand Down

0 comments on commit 143164f

Please sign in to comment.