version 1.8, 2014/09/15 19:06:44
|
version 1.9, 2017/02/13 16:52:47
|
Line 6
|
Line 6
|
|
|
sysctl -w kern.coredump=0 |
sysctl -w kern.coredump=0 |
sysctl -w kern.ipc.somaxconn=1024 |
sysctl -w kern.ipc.somaxconn=1024 |
sysctl -w kern.ipc.nmbclusters=2048 |
|
sysctl -w kern.eventtimer.periodic=1 |
sysctl -w kern.eventtimer.periodic=1 |
sysctl -w net.inet.ip.forwarding=1 |
sysctl -w net.inet.ip.forwarding=1 |
sysctl -w net.inet.ip.fastforwarding=1 |
|
sysctl -w net.inet.tcp.ecn.enable=1 |
sysctl -w net.inet.tcp.ecn.enable=1 |
sysctl -w net.inet6.ip6.forwarding=1 |
sysctl -w net.inet6.ip6.forwarding=1 |
sysctl -w net.inet6.ip6.accept_rtadv=0 |
sysctl -w net.inet6.ip6.accept_rtadv=0 |
Line 22 sysctl -w kern.maxfiles=1024
|
Line 20 sysctl -w kern.maxfiles=1024
|
#sysctl -w net.graph.maxalloc=2048 |
#sysctl -w net.graph.maxalloc=2048 |
sysctl -w net.graph.maxdgram=128000 |
sysctl -w net.graph.maxdgram=128000 |
sysctl -w net.graph.recvspace=128000 |
sysctl -w net.graph.recvspace=128000 |
|
|
|
#sysctl -w hw.ath.bstuck=8 |
|
|
#net.inet.tcp.mssdflt=1452 |
#net.inet.tcp.mssdflt=1452 |
#net.inet.tcp.hostcache.expire=1 |
#net.inet.tcp.hostcache.expire=1 |