Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Purpose of /var/cpanel/dnsrequests_db and failing backups

Discussion in 'Bind/DNS/Nameserver' started by geo_grav, Mar 4, 2014.

  1. geo_grav

    geo_grav Member

    Joined:
    Mar 4, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    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.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,791
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice