version 1.7.10.2, 2014/02/05 02:22:14
|
version 1.8.2.2, 2016/12/15 16:52:43
|
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 |