Fixes
TotalUsageTowardLimit memory metric:
- Calculation now uses
total_rss
+total_cache
+total_swap
-total_inactive_file
frommemory.stat
in memory cgroup - Previously
total_swap
was excluded which can result in an integer underflow in the uint64 variable holding the value
Improvements
dontpanic
- New
--sigquit
flag to don't panic causesdontpanic
to send a QUIT signal to the gdn process, thus dumping gdn's goroutines in the garden.stderr.log file.