Page 2 of 2

Re: RevPi Crash

Posted: 28 Feb 2022, 17:43
by nicolaiB
How does the memory usage look like (free -mt)?

Re: RevPi Crash

Posted: 01 Mar 2022, 13:53
by EcoMan
Doesnt look bad, but this is of course after a reboot..

total used free shared buff/cache available
Mem: 925 135 612 32 177 704
Swap: 99 0 99
Total: 1025 135 712

Re: RevPi Crash

Posted: 01 Mar 2022, 15:20
by nicolaiB
Indeed. It could be helpfull to monitor the memory consumption during the runtime (for example in a logfile). Maybe you can write a simple bash script which periodically write the memory consumption combined with a timestamp to a log file?

Nicolai

Re: RevPi Crash

Posted: 01 Mar 2022, 16:30
by EcoMan
So I actually do have a component in my app that monitors cpu, ram, etc.
It logs it to RAM and rolls it to persistent storage once it reaches a certain size.
The problem with that is that I don't have the logs of the minutes before the crash, as they are gone the moment the RevPi freezes and reboots.
That specific day, before the crash , the avg ram usage was below 27%.