Jorge Fábregas
2010-Dec-14 14:15 UTC
[CentOS] BIND and latest update (max open files WARNING)
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-0002.html>
Radu Gheorghiu
2010-Dec-14 15:17 UTC
[CentOS] BIND and latest update (max open files WARNING)
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-0002.html>
Ralph Angenendt
2010-Dec-15 22:50 UTC
[CentOS] BIND and latest update (max open files WARNING)
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?id=663112 Ra "trim your mails!" lph