Bind Error: “max open files (3520) is smaller than max sockets (4096)”
Just notice one of the DNS server has the error message
28-Jun-2010 16:28:24.283 general: max open files (3520) is smaller than max sockets (4096)
It’s something to do with kernel setting, on FreeBSD, configure the following
shell> sysctl kern.maxfiles=4096
shell> sysctl kern.maxfilesperproc=4096
Alternatively, put the above configuration on /etc/sysctl.conf in order to configure it at start up level.
Related posts:
- Turn on DNS Query Log on Bind You are running a recursive DNS server and would like...
- FreeBSD 6.1 Performance Tuning Just a note for myself to tune FreeBSD OS for...
- Configure NTP Server on FreeBSD Configure a NTP time server on FreeBSD is fairly easy....
- OURMON Installation and Configuration on FreeBSD 7 with Multi-threading Support OURMON is popular known as open source Network Monitoring and...
- How to Change Hostname in Unix FreeBSD We have interesting hostname for our all our servers. Some...
- Cacti Spine Source Installation Error on FreeBSD Just noticed FreeBSD’s port still using old version of spine,...
- Retrieve CPU and Memory Information on FreeBSD Server running slow and how to check CPU/Processor and RAM/Memory...
- Enable SSHD on FreeBSD I believe most system admin does remote access to the...
- Linux/Unix Search and Replace Text from Multiple Files In Linux/Unix, for newbie to do search text from multiple...
- Enable SMTP Port 587 on Exim Most of the ISP block port 25 for outgoing SMTP....
June 29th, 2010 at 7:23 am
“man tuning” is a useful reference for variables such as this which need some tweaking for servers.