version 1.7, 2013/05/07 20:46:48
|
version 1.8.2.2, 2016/12/15 16:52:43
|
Line 5
|
Line 5
|
# $Id$ |
# $Id$ |
|
|
sysctl -w kern.coredump=0 |
sysctl -w kern.coredump=0 |
|
sysctl -w kern.ipc.somaxconn=1024 |
|
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 |
sysctl -w net.inet6.ip6.no_radr=0 |
sysctl -w net.inet6.ip6.no_radr=0 |
sysctl -w kern.maxfilesperproc=4096 |
sysctl -w kern.maxfilesperproc=4096 |
sysctl -w kern.maxfiles=1024 |
sysctl -w kern.maxfiles=1024 |
sysctl -w kern.ipc.somaxconn=1024 |
|
#sysctl -w kern.ipc.maxsockets=16384 |
#sysctl -w kern.ipc.maxsockets=16384 |
#sysctl -w kern.ipc.maxsockbuf=16777216 |
#sysctl -w kern.ipc.maxsockbuf=16777216 |
#sysctl -w kern.ipc.maxpipekva=16777216 |
#sysctl -w kern.ipc.maxpipekva=16777216 |
#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 |