• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Error on /etc/cron.daily/plesk-rrd-cleaner:

BrinsleyP

Regular Pleskian
Server operating system version
Alma Linux 8.6
Plesk version and microupdate number
18.0.44 U1
Hello

All day i receive this email:

Code:
/etc/cron.daily/plesk-rrd-cleaner:

/usr/bin/find: ‘/usr/local/psa/var/health/data/localhost/plesk_cgroups-disk_nvme0n1\024’: No such file or directory
/usr/bin/find: ‘/usr/local/psa/var/health/data/localhost/plesk_cgroups-disk_nvme0n1\024’: No such file or directory
/usr/bin/find: ‘\202AM\027’: No such file or directory
/usr/bin/find: ‘\202AM\027’: No such file or directory
/usr/bin/find: ‘/usr/local/psa/var/health/data/localhost/plesk_cgroups-disk_nvme0n1’: No such file or directory
/usr/bin/find: ‘/usr/local/psa/var/health/data/localhost/plesk_cgroups-disk_nvme0n1’: No such file or directory
/usr/bin/find: ‘\001~1\a\272’: No such file or directory
/usr/bin/find: ‘\001~1\a\272’: No such file or directory

And thi error causes freeze for some time.

So how to fix this? Some solution?....
 
Yes, the bug PPPM-13573 is already submitted regarding this issue.
To workaround the issue please modify the /etc/cron.daily/plesk-rrd-cleaner script as below:
Code:
for target in "disk" "df" "interface" "plesk_cgroups"; do
        /usr/bin/find "/opt/psa/var/health/data" -mindepth 2 -maxdepth 2 -type d -name "${target}-*" | while read -r target_rrd_d; do
                /usr/bin/find "$target_rrd_d" -mindepth 1 -maxdepth 1 -name "*.rrd" -type f -mtime +30 -delete
                /usr/bin/find "$target_rrd_d" -maxdepth 0 -type d -empty -delete
        done
done
 
Yes, the bug PPPM-13573 is already submitted regarding this issue.
To workaround the issue please modify the /etc/cron.daily/plesk-rrd-cleaner script as below:
Code:
for target in "disk" "df" "interface" "plesk_cgroups"; do
        /usr/bin/find "/opt/psa/var/health/data" -mindepth 2 -maxdepth 2 -type d -name "${target}-*" | while read -r target_rrd_d; do
                /usr/bin/find "$target_rrd_d" -mindepth 1 -maxdepth 1 -name "*.rrd" -type f -mtime +30 -delete
                /usr/bin/find "$target_rrd_d" -maxdepth 0 -type d -empty -delete
        done
done
Hi Igor,

I have a same problem, did change /etc/cron.daily/plesk-rrd-cleaner script to your suggested content, run run-parts /etc/cron.daily and got the same errors:

~ # run-parts /etc/cron.daily
/usr/bin/find: ‘/opt/psa/var/health/data/localhost/plesk_cgroups-disk_nvme0n1’: No such file or directory
/usr/bin/find: ‘/opt/psa/var/health/data/localhost/plesk_cgroups-disk_nvme0n1’: No such file or directory
/usr/bin/find: ‘H(\177’: No such file or directory
/usr/bin/find: ‘H(\177’: No such file or directory
/usr/bin/find: ‘/opt/psa/var/health/data/localhost/plesk_cgroups-disk_md2e0n1’: No such file or directory
/usr/bin/find: ‘/opt/psa/var/health/data/localhost/plesk_cgroups-disk_md2e0n1’: No such file or directory
/usr/bin/find: ‘H(\177’: No such file or directory
/usr/bin/find: ‘H(\177’: No such file or directory
/usr/bin/find: ‘/opt/psa/var/health/data/localhost/plesk_cgroups-disk_nvme1n1’: No such file or directory
/usr/bin/find: ‘/opt/psa/var/health/data/localhost/plesk_cgroups-disk_nvme1n1’: No such file or directory
/usr/bin/find: ‘H(\177’: No such file or directory
/usr/bin/find: ‘H(\177’: No such file or directory
run-parts: /etc/cron.daily/plesk-rrd-cleaner exited with return code 1
~ # nano /etc/cron.daily/plesk-rrd-cleaner
 
Fixed in Plesk 18.0.45:

Plesk Health Monitor no longer generates garbage files on Plesk servers with Cgroups enabled when users logged in via SSH perform operations on files stored on loop devices. (PPPM-13573)
 
Back
Top