Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-2508

nscd should be recommended even when /etc/hosts is used for name resolution

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • n/a
    • 1.9.0
    • documentation
    • None

    Description

      It's been observed in several clusters in the wild that on old platforms like el6, name resolution can be slow even when /etc/hosts is used. That's because opening /etc/hosts requires the creation of an mmap, which means the kernel has to take mmap_sem for writing, and that can contend with all sorts of other system activity. Furthermore, glibc synchronizes all resolution on a single lock, so there's opportunity for contention there. See this mailing list post for more details.

      We should document that for better scalability on nodes hosting many replicas, it's best to use nscd to cache this kind of name resolution too.

      Attachments

        Activity

          People

            arodoni Alexandra Rodoni
            adar Adar Dembo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: