06-27-2024, 06:37 PM
(This post was last modified: 06-28-2024, 06:56 AM by the_bertrum.
Edit Reason: typo
)
Talk about barking up a red herring!
It wasn't network, it wasn't cpu, it was memory. I searched about on the Raspberry pi forums and found a post that seemed familiar. These folk were having bother with "apt-get upgrade y" on zero2 and 3a+ devices that didn't happen on other boards and they suspected it was 4 cores and 512 Mb memory that was the issue. Increasing the swap file was their workaround, so I gave that a go. I made a 1Gb swap file and switched it on (moode defaults to off it seems). Bingo every single scan runs to completion. I used SMB and NFS with hostname, hostname.local and IP address variations.
Watching htop as the scan ran suggested that the swap file was unused until some winbindd and nfs scan processes kicked off. That would explain the "networky" feel of the freeze maybe. htop also shows that the swap file maxxed out at 89 Mb, so probably the default 100 would be enough also.
Now what is it about my setup that consumes more memory than our esteemed Tim and Kent? I wonder if it might be something in my library. I have a mix of files from different places, FLAC, MP3 and M4A and I know that some that I inherited from my father have enormous images embedded. I wonder if that could be it?
Anyhow, until either I sort my collection out and find the issue or the RPF release an update that helps the zero2 and 3A+ with memory use... How can I make moode keep the swap file over a reboot, it keeps getting turned off.
It wasn't network, it wasn't cpu, it was memory. I searched about on the Raspberry pi forums and found a post that seemed familiar. These folk were having bother with "apt-get upgrade y" on zero2 and 3a+ devices that didn't happen on other boards and they suspected it was 4 cores and 512 Mb memory that was the issue. Increasing the swap file was their workaround, so I gave that a go. I made a 1Gb swap file and switched it on (moode defaults to off it seems). Bingo every single scan runs to completion. I used SMB and NFS with hostname, hostname.local and IP address variations.
Watching htop as the scan ran suggested that the swap file was unused until some winbindd and nfs scan processes kicked off. That would explain the "networky" feel of the freeze maybe. htop also shows that the swap file maxxed out at 89 Mb, so probably the default 100 would be enough also.
Now what is it about my setup that consumes more memory than our esteemed Tim and Kent? I wonder if it might be something in my library. I have a mix of files from different places, FLAC, MP3 and M4A and I know that some that I inherited from my father have enormous images embedded. I wonder if that could be it?
Anyhow, until either I sort my collection out and find the issue or the RPF release an update that helps the zero2 and 3A+ with memory use... How can I make moode keep the swap file over a reboot, it keeps getting turned off.
----------------
Robert
Robert