Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: BIND DNS memory consuming

  1. #11
    Join Date
    May 2008
    Beans
    9
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: BIND DNS memory consuming

    thanks for the tips James78

  2. #12
    Join Date
    Aug 2011
    Beans
    1

    Re: BIND DNS memory consuming

    Hi,

    I'm sorry for bumping such old thread. I was having similar problem and I just spent hours in frustration before I finally find the fix.

    So I think I'll share it

    By default BIND (or named) should create several cpus worker threads to take advantage of multiple CPUs. If not specified, named will try to determine the number of CPUs present and create one thread per CPU. If it is unable to determine the number of CPUs, a single worker thread will be created.

    But in my case it creates no less than 10s memory-hungry processes, so that's the problem.

    I fixed it by editing
    Code:
    /etc/sysconfig/named
    Add:
    Code:
    OPTIONS="-n 1"
    Basically that will tell named to create fixed no. process of each processor.

    and Voila named RAM usage went from 128 mb too 60 mb-ish.

    Hope this will be useful.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •