Community Forums
Connect with us on LinkedIn
Community Notice
Results 1 to 2 of 2
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Sep 2007
    Posts
    13

    Default More effecient DNS loading/reloading

    When cpanel adds or removes a domain, it has the dnsadmin script do a full rndc reload, which scans the zone files of every single zone on the server to catch any modifications. This is a highly disk I/O intensive process. On servers that are hurting for disk I/O, this can cause domains to not be able to resolve for long periods of time.

    Cpanel modifies specific zone files, it should be able to only do the rndc reload on the zone file it has modified, that means that as I add more addon domains and more addon domains, the disk I/O would increase in a linear fashion with the rate of addon domains added, instead of a in a factorial fashion from total domains on server.

    PS Shapshot of this:

    user1 31684 0.0 0.3 24228 13316 ? SNs 03:31 0:00 \_ cpaneld - serving ip.ip.ip.ip
    user1 31685 0.0 0.6 41524 27344 ? SN 03:31 0:00 | \_ /usr/local/cpanel/cpanel ./frontend/x/addon/dodeldomain.html
    root 931 0.0 0.0 1740 732 ? SN 03:33 0:00 | \_ /usr/local/cpanel/bin/domainwrap
    root 932 0.1 0.4 20612 18356 ? SN 03:33 0:00 | \_ /usr/local/cpanel/bin/domainadmin
    root 933 0.0 0.0 0 0 ? ZN 03:33 0:00 | \_ [runweblogs] <defunct>
    root 1124 0.0 0.2 16360 11920 ? SN 03:33 0:00 | \_ dnsadmin - RELOADBIND - OZkAukR7v3MaVS_SUA_bTtGcn8MVOhe1 (MASTER)
    root 1134 0.0 0.2 20284 11412 ? SN 03:33 0:00 | \_ dnsadmin - RELOADBIND - OZkAukR7v3MaVS_SUA_bTtGcn8MVOhe1 (LOCAL)
    root 1139 0.0 0.0 22760 1784 ? SNl 03:33 0:00 | \_ /usr/sbin/rndc reload
    user2 32700 0.0 0.3 24224 13292 ? SNs 03:32 0:00 \_ cpaneld - serving ip.ip.ip.ip
    use2 32701 0.0 0.6 41532 27376 ? SN 03:32 0:00 | \_ /usr/local/cpanel/cpanel ./frontend/x/addon/dodeldomain.html
    root 371 0.0 0.0 1740 732 ? SN 03:32 0:00 | \_ /usr/local/cpanel/bin/domainwrap
    root 434 0.1 0.4 20592 18332 ? SN 03:32 0:00 | \_ /usr/local/cpanel/bin/domainadmin
    root 436 0.0 0.0 0 0 ? ZN 03:32 0:00 | \_ [runweblogs] <defunct>
    root 554 0.0 0.2 16360 11924 ? SN 03:33 0:00 | \_ dnsadmin - RELOADBIND - 4XRODMye2sX3HTaPVFv1dS4IyJjbtL8b (MASTER)
    root 557 0.0 0.2 20328 11676 ? SN 03:33 0:00 | \_ dnsadmin - RELOADBIND - 4XRODMye2sX3HTaPVFv1dS4IyJjbtL8b (LOCAL)
    root 2066 0.0 0.0 22760 1784 ? SNl 03:34 0:00 | \_ /usr/sbin/rndc reload

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,720
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    In cPanel/WHM 11.25 (released after your post), this behavior does not occur. If you continue to experience this behavior after updating to version 11.25, please seek support.

Similar Threads & Tags
Similar threads

  1. DNS cluster issues - BIND not reloading
    By xanthi in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 04-22-2011, 09:11 PM
  2. DNS zones not reloading...
    By DCH in forum cPanel and WHM Discussions
    Replies: 19
    Last Post: 02-01-2008, 06:40 PM
  3. Apache not loading images/cssApache not loading images/css
    By mangohead in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-06-2006, 10:08 PM
  4. Replies: 11
    Last Post: 09-08-2004, 01:27 PM
  5. Reloading Master DNS server
    By Imai in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-11-2003, 04:39 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube