Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4140

General discussion • Monitoring RO Overlay

$
0
0
I have a RPI 3B+ weather station at our cottage. I've enabled RO Overlay because power can go on/off depending on storms.

I was seeing heavy memory consumption to the point I felt it was what was impacting performance. I disabled it and as expected memory dropped down.

I recently re-enabled RO and have the following memory stats after 2 days

Code:

Before Enabling RO Overlaypi@wethCAM:~ $ free               total        used        free      shared  buff/cache   availableMem:          891312      294496      117700        2008      479116      534844Swap:         204796      112896       91900pi@wethCAM:~ $ After Enabling RO Overlaypi@wethCAM:~ $ free               total        used        free      shared  buff/cache   availableMem:          891312      205908       89060      229356      596344      400444Swap:              0           0           0pi@wethCAM:~ $ After 2 dayspi@wethCAM:~ $ free               total        used        free      shared  buff/cache   availableMem:          891312      357872       41352      301156      492088      175896Swap:              0           0           0pi@wethCAM:~ $ 
I have a USB key where I store my Python scripts, logs and DB's on an EXT4 RW mount.

Questions I have:
  • I assume some of the memory is taken up with normal RPI OS logging. Is there ant guidance on which processes to redirect output to so it doesn't consume as much overlay memory? Also not to lose information.
  • I am thinking I need to create a job that monitors available free memory and initiate a reboot when a threshold is reached. Thoughts?
Thanks for any insights

Statistics: Posted by DS256 — Sun Jun 23, 2024 1:20 pm



Viewing all articles
Browse latest Browse all 4140

Trending Articles