I am encountering an issue with inode usage in the /dev/mapper/
directory, which frequently fills up and leads to “disk full” errors on my hosting. Here is a screenshot of the filesystem status:
To address this, I tried setting up a cron job to delete session files automatically:
sudo find /home/admin/tmp -type f -name 'sess_*' -exec rm -f {} +
However, this cron job doesn’t seem to work as expected, and I still run into the same issue.
Could anyone advise on how to:
- Resolve the inode filling problem effectively?
- Set up a reliable method to delete session files automatically every day?