Hey there. So, I had installed atop a couple of days ago to see if I could get a log on what was going on.
But I cannot make it work to retrieve the log.
root@orangedietpi:~# atop -r /var/log/atop/atop_20240424
file /var/log/atop/atop_20240424 does not contain raw atop/atopsar output (wrong magic number)
root@orangedietpi:~# cd /var/log/atop/
root@orangedietpi:/var/log/atop# atop -r y
can not read raw file header
root@orangedietpi:/var/log/atop# atop -r atop_20240423
can not read raw file header
root@orangedietpi:/var/log/atop# ls -la
total 20
drwxr-xr-x 2 root root 100 Apr 24 00:00 .
drwxr-xr-x 11 root root 440 Apr 24 17:27 ..
-rw-r--r-- 1 root root 0 Apr 23 00:17 atop_20240422
-rw-r--r-- 1 root root 0 Apr 24 00:17 atop_20240423
-rw-r--r-- 1 root root 1478992 Apr 24 20:20 atop_20240424
Not sure if there's another way I could tell what's causing this. I've tried by taking a look on htop but with no results.
I also saw there's another case pretty similar to my issue: Pihole appears to crash until physical reboot - #9 by chrislph
Could be also maybe the microsd. I could check that as well.
Thanks!