We have an accounting file atop.acct stored in /run/atop/atop.acct. This rotates one per month.
If we have very often command execution from CLI via SSH (some automated process) then we have issue with full utilisation /run partition
vyos@vyos:~$ df -lh Filesystem Size Used Avail Use% Mounted on tmpfs 400M 392M 8.0M 99% /run vyos@vyos:~$ sudo ls -lh /run/atop/atop.acct -rw------- 1 root root 192M Dec 23 08:45 /run/atop/atop.acct
I think in this case we have a workaround, but I hope we can change reduce rotation time by default.
create script /config/scripts/fix_atop.sh and add
#!/bin/bash sudo killall atop sudo /usr/sbin/invoke-rc.d atop _cron
add permission for executing script
chmod +x /config/scripts/fix_atop.sh
and add cron rules
set system task-scheduler task ATOP_FIX executable path '/config/scripts/fix_atop.sh' set system task-scheduler task ATOP_FIX interval '60m'