/var/logs/paulooi.log
Menu
  • About Me
  • Contact
  • Privacy Policy
Systems Admin, Web Development and etc
Browse: Home » kernel

Bind Error: “max open files (3520) is smaller than max sockets (4096)”

June 28, 2010 · by Paul Ooi · in Systems

Just notice one of the DNS server has the error message

1
2
3
4
5
6
7
 
 
 
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

1
2
3
4
5
6
7
8
 
 
 
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…

Recent Posts

  • How to Rsync from Remote Server to Synology
  • Are you a Programmer and Preparing for an Interview?
  • Sublime Text Editor – Package Control
  • Interesting Services on Fiverr
  • Finally, a new Theme

Recent Comments

  • Mo Beigi on How to Rsync from Remote Server to Synology
  • Finley Hall on How to Flush DNS Cache in Apple Mac OSX Leopard
  • Bob on How to Rsync from Remote Server to Synology
  • DaveQB on Setup Sendmail Smart Relay in FreeBSD
  • takizo on How to Check Paypal Pre-Approved Payment List

Copyright © 2021 /var/logs/paulooi.log

Powered by WordPress and Origin