RevPi Crash

Topics about the Software of Revolution Pi
User avatar
nicolaiB
KUNBUS
Posts: 931
Joined: 21 Jun 2018, 10:33
Location: Berlin
Contact:

Re: RevPi Crash

Post by nicolaiB »

How does the memory usage look like (free -mt)?
EcoMan
Posts: 19
Joined: 10 Mar 2020, 10:15

Re: RevPi Crash

Post 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
User avatar
nicolaiB
KUNBUS
Posts: 931
Joined: 21 Jun 2018, 10:33
Location: Berlin
Contact:

Re: RevPi Crash

Post 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
EcoMan
Posts: 19
Joined: 10 Mar 2020, 10:15

Re: RevPi Crash

Post 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%.
Post Reply