Purpose of /var/cpanel/dnsrequests_db and failing backups

geo_grav

Member
Mar 4, 2014
7
0
1
cPanel Access Level
DataCenter Provider
(First time poster)

This probably has a simple solution but I'm after a hint.

What's the purpose of the /var/cpanel/dnsrequests_db directory and can we prune the size? Our cpanel server has around 320000 emtpy files.

I was looking into this when the backup script (/usr/local/cpanel/bin/backup) was failing.

Code:
/bin/gtar: /var/cpanel/dnsadmin/sock: socket ignored
/bin/gtar: Removing leading `/' from hard link targets
Waiting for load to go down to continue
(repeats three times)
/bin/gtar: /var/cpanel: file changed as we read it
[backup] Failed to perform full backup of /var/cpanel/ to /backup/2014-03-05/system/dirs/_var_cpanel.tar.gz
I am wondering what could be causing a file update in /var/cpanel to cause this error.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello :)

You will typically notice the files in this directory if you have DNS clustering enabled. You will find temporary files used by the dnsadmin service in the "/var/cpanel/dnsrequests_db" directory. The files in this directory are purged upon expiration at which time the /var/cpanel/dnsrequests_db.last_clean_time file is updated with present date/time.

Thank you.