From cbf5583d0650f9be0e76defcc31ab78b4002b77e Mon Sep 17 00:00:00 2001 From: _ <_@_> Date: Sun, 20 Dec 2020 20:41:02 -0600 Subject: [PATCH] update: tracing RSS MiB --- crates/ptth_server/src/file_server/metrics.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/ptth_server/src/file_server/metrics.rs b/crates/ptth_server/src/file_server/metrics.rs index 5535104..3853ff5 100644 --- a/crates/ptth_server/src/file_server/metrics.rs +++ b/crates/ptth_server/src/file_server/metrics.rs @@ -168,6 +168,9 @@ impl Interval { }, Ok (x) => x, }; + + trace! ("RSS: {} MiB", new_interval_metrics.rss_mib); + let new_interval_metrics = Arc::new (Some (new_interval_metrics)); for window in windows.iter_mut () {