Closed xf- closed 7 years ago
If it is the disk usage, it is not problem here.
Maybe my math for usage could be interprated on a other way (https://github.com/FreifunkBremen/yanic/blob/master/meshviewer/meshviewer.go#L74):
For memory we recieve cached
, total
, buffers"
, free
(https://github.com/FreifunkBremen/yanic/blob/master/data/statistics.go#L67)
and for the meshviewer we calc the usage by (total- free) / total
Maybe its not the disk usage, but it always around 90% and red. Looks not so good. Cache isn't really used. I think used should be in nodes.json.
do you have ffmap-backend also running? or the statuspage of the node? how looks there?
I did not know how to handle either - ffmap-backend make it same way - https://github.com/ffnord/ffmap-backend/blob/detailed-rrds/lib/nodes.py#L93 -> 1-free/total
Do you mean we should use buffers/total
??
yanic
vs ffmap-backend
htop and other only show used as number or % in system monitor
buffers and cache can be cleaned and used otherwise then system needs the ram.
lets try 1 - (free + buffers + cached) / total
it look realistic
Memory usage is always really high. I think it is disk usage and not RAM.