FAQ
Hi all,

After the latest security update for bind (which came out last night), now
there's a new message on syslog, (facility: daemon, severity: warning) every
time you restart named:

max open files (1024) is smaller than max sockets (4096)

After googling for a while the solution seems to be to add this to
/etc/security/limits.conf:

named soft nofile 4096

...and mofity /etc/named.conf in order to add, under the options section:

files 4096;

That seems to work. Of course, you may raise the 4096 but I guess that's
the default in BIND and I was good with that.

I'm not sure why this happend. Maybe before the update bind had a value of
1024 for max.sockets and now it was raised to 4096.

--
Jorge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos/attachments/20101214/733e0ad5/attachment.html

Search Discussions

  • Radu Gheorghiu at Dec 14, 2010 at 10:17 am
    Hi all,

    I can confirm this has happened to all my CentOS boxes in production.

    Regards,
    Radu
    On 12/14/2010 03:15 PM, Jorge F?bregas wrote:
    Hi all,

    After the latest security update for bind (which came out last night),
    now there's a new message on syslog, (facility: daemon, severity:
    warning) every time you restart named:

    max open files (1024) is smaller than max sockets (4096)

    After googling for a while the solution seems to be to add this to
    /etc/security/limits.conf:

    named soft nofile 4096

    ...and mofity /etc/named.conf in order to add, under the options section:

    files 4096;

    That seems to work. Of course, you may raise the 4096 but I guess
    that's the default in BIND and I was good with that.

    I'm not sure why this happend. Maybe before the update bind had a
    value of 1024 for max.sockets and now it was raised to 4096.

    --
    Jorge


    _______________________________________________
    CentOS mailing list
    CentOS at centos.org
    http://lists.centos.org/mailman/listinfo/centos
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://lists.centos.org/pipermail/centos/attachments/20101214/09904b9c/attachment.html
  • Ralph Angenendt at Dec 15, 2010 at 5:50 pm

    Am 14.12.10 16:17, schrieb Radu Gheorghiu:
    Hi all,

    I can confirm this has happened to all my CentOS boxes in production.
    Jorge has reported this as
    https://bugzilla.redhat.com/show_bug.cgi?idf3112

    Ra "trim your mails!" lph

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcentos @
categoriescentos
postedDec 14, '10 at 9:15a
activeDec 15, '10 at 5:50p
posts3
users3
websitecentos.org
irc#centos

People

Translate

site design / logo © 2022 Grokbase