Systemstats panics with 'attempt to subtract with overflow'
Closed this issue · 0 comments
de-sh commented
Following panic in system stats:
thread '<unnamed>' panicked at 'attempt to subtract with overflow', uplink/src/collector/systemstats.rs:64:28
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
After some debugging, figured out that total_memory
was initialized to 0 value. This is the first time I am facing the issue, but it seems to continue existing.
[DEBUG ] (24) uplink::collector::systemstats: total = 0, available = 5930037