<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi all,<br>
<br>
I can confirm this has happened to all my CentOS boxes in
production.<br>
<br>
Regards,<br>
Radu<br>
<br>
On 12/14/2010 03:15 PM, Jorge Fábregas wrote:
<blockquote
cite="mid:AANLkTik-2mrW6eBKdo0qhdamTme7aZNOnrxUU=tzgC-T@mail.gmail.com"
type="cite">
<meta http-equiv="Context-Type" content="text/html;
charset=ISO-8859-1">
Hi all,<br>
<br>
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:<br>
<br>
max open files (1024) is smaller than max sockets (4096)<br>
<br>
After googling for a while the solution seems to be to add this to
/etc/security/limits.conf:<br>
<br>
named soft nofile 4096<br>
<br>
...and mofity /etc/named.conf in order to add, under the options
section:<br>
<br>
files 4096;<br>
<br>
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.<br>
<br>
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.<br>
<br>
--<br>
Jorge<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
CentOS mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CentOS@centos.org">CentOS@centos.org</a>
<a class="moz-txt-link-freetext" href="http://lists.centos.org/mailman/listinfo/centos">http://lists.centos.org/mailman/listinfo/centos</a>
</pre>
</blockquote>
<br>
</body>
</html>