Introduction
On A DNS ONLY server, it's possible for a large number of touch files to exist in /var/cpanel/dnsrequests_db and potentially cause an inode limit issue. We are aware of this and have internal case ID CPANEL-32751 for this issue however there is no estimated time for a fix. In the meantime, the following can be placed into a cron script and run once daily.
Procedure
Create a bash script with the following:
find /var/cpanel/dnsrequests_db/ ! -mtime -3 -exec rm -f '{}' \;
echo -n $(date +%s) > /var/cpanel/dnsrequests_db.last_clean_time;
/scripts/restartsrv_dnsadmin --hard;
Then place that bash script into a root cron job to be run daily.
Comments
0 comments
Article is closed for comments.