File Descriptor limit and malfunction bind

Imri Zvik imriz at inter.net.il
Tue Jan 5 08:36:27 UTC 2010


On Sunday 03 January 2010 16:36:06 Ram Akuka wrote:
> i have a high load DNS server running bind 9.4.3 on RH -
> yesterday we experienced a problem with the bind  (the bind froze) , and
> when looking at the logs i saw the following error :
> named error: socket: file descriptor exceeds limit (4096/4096)
> i looked at my OS file descriptor limit and using ulimit -n   - 1024 .
> where the number 4096 come from?

If I'm not mistaken, you should either recompile with a higher value for 
ISC_SOCKET_MAXSOCKETS or restart named with the -S <maxsockets> argument.




More information about the bind-users mailing list