FreeBSD 12.1 sysctl optimization for Web server

Per olof Ljungmark peo at nethead.se
Sun Jan 26 13:15:23 UTC 2020


On 2020-01-25 13:33, Handreas wrote:
> Hi everyone.
> 
> Could you please have a look at the following sysctl.conf optimisation of
> mine on a FreeBSD 12.1 box that'll be running only on the purpose of web
> serving with a good amount of traffic, PHP-FPM, Nginx and MariaDB, with
> 10Gbe NIC card, 2 Gbit Up/Down connection:
> 
> https://pastebin.com/TWL6DfFP
> 
> The priority here is, stable Nginx connections/requests, and fast enough.
> The server has enough hardware specs, carrying 64GB ddr4 ram and a Xeon
> cpu.
> 
> Any suggestions, additions would be much appreciated.
> 

Hi,

I've had good results from reading

https://calomel.org/freebsd_network_tuning.html
and
TUNING(7)
possibly derived from
https://wiki.freebsd.org/SystemTuning

Good luck.

Per


More information about the freebsd-questions mailing list