URGENT, PLEASE READ: 9.5.0-P1 now available

Milan Jurik Milan.Jurik at Sun.COM
Fri Jul 25 07:56:19 UTC 2008


Hi Emery,


> The error ( a constant relentless swarm of these messages ) :
> -----------------------------------------------------------------------------------
> Jul 24 15:06:32 ns2 named[142]: [ID 873579 daemon.error] general: error:
> socket: too many open file descriptors
> ------------------------------------------------------------------------------------
> 
> It is my understanding that this error is not necessarily fatal if the
> number of open ports is relatively stable ( <1000) and the system has
> sufficient resources. Please clarify if this error is fixable in Solaris 9.
> I have read other threads which indicate the problem was solved by
> recompiling BIND after increasing the FD_SETSIZE limit, but on Solaris this
> limit is already at 65535, so it seems this may work on Linux based systems
> - not Solaris.
> 

Not exactly. plimit shows amount of available file descriptors per
process. But FD_SETSIZE is different beast, specific to some libc
functions. And by default FD_SETSIZE is 1024. Because you are using own
Bind 9, you must recompile Bind with higher FD_SETSIZE.

Best regards,

Milan



More information about the bind-users mailing list