- changed status to resolved
Incorrect memory use value on 32bit PAE with Monit >=5.28.1
Issue #1002
resolved
Monit >= 5.28.1 on a 32bit PAE system with 8GB of RAM and typically ~800mb of RAM use reports impossibly high memory use:
mem usage of 449046937600.0% matches resource limit [mem usage > 90.0%]
as well as reporting total memory of 3.8GB.
I suspect that commit fc59051 introduced this as the memory update on every run (line 605) looks for an unsigned long whereas init_process_info_sysdep
and the SystemInfo_T
struct have it as an unsigned long long.
Comments (4)
-
repo owner -
reporter Thanks for sorting so quickly.
-
repo owner Fixed: Issue
#1002: 32-bit Linux with more then 4GB of RAM reported wrong system memory and swap value.→ <<cset 50ce16ec8ee3>>
-
repo owner Issue
#1022was marked as a duplicate of this issue. - Log in to comment
fix issue
#1002→ <<cset 27e04d06bd99>>