How to tweek sysctl.conf
Posted by Mike C. on 11 September 2009 11:53 PM
This article will not go in to detail on what settings to use but I will show you how to find out what settings are the best for you. The first thing you need to realize is the importance of sysctl options. There are many default options that do not allow for a lot of resources and bandwidth. I do not know why FreeBSD has these as the defaults but they need to be altered. Here is an example for you to look at:|
You might get the bright idea to copy this in to your sysctl.conf but understand that some of these options might not be right for you. To read more into it go to http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-sysctl.html and look it over. There is a lot of great tweeks that you can do that will make your server perform better. This also may prevent some types of denial of service attacks. Its more important to realise the existance of sysctl.conf and the different options that are available to you than anything. This article should point you in the right direction.