-
Notifications
You must be signed in to change notification settings - Fork 0
/
sysctl.conf
71 lines (69 loc) · 1.6 KB
/
sysctl.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
####### /etc/sysctl.conf
### PARAMETERS
#ddb.panic=1
ddb.panic=0
#hw.smt=0
hw.smt=1
#kern.bufcachepercent=20
kern.bufcachepercent=90
#kern.maxfiles=7030
kern.maxfiles=65535
#kern.maxproc=1310
kern.maxproc=32768
#kern.maxthread=2620
kern.maxthread=16384
#kern.maxvnodes=62734
kern.maxvnodes=262144
#kern.nosuidcoredump=1
kern.nosuidcoredump=3
#kern.seminfo.semmni=10
kern.seminfo.semmni=1024
#kern.seminfo.semmns=60
kern.seminfo.semmns=4096
#kern.seminfo.semmnu=30
kern.seminfo.semmnu=1024
#kern.seminfo.semmsl=60
kern.seminfo.semmsl=1024
#kern.seminfo.semopm=100
kern.seminfo.semopm=1024
#kern.shminfo.shmall=8192
kern.shminfo.shmall=536870912
#kern.shminfo.shmmax=33554432
kern.shminfo.shmmax=2147483647
#kern.shminfo.shmmni=128
kern.shminfo.shmmni=4096
#kern.shminfo.shmseg=128
kern.shminfo.shmseg=2048
#kern.somaxconn=128
kern.somaxconn=2048
#machdep.allowaperture=0
machdep.allowaperture=1
#net.bpf.bufsize=32768
net.bpf.bufsize=2097152
#net.bpf.maxbufsize=2097152
net.bpf.maxbufsize=4194304
#net.inet.icmp.errppslimit=100
net.inet.icmp.errppslimit=1000
#net.inet.ip.arpq.maxlen=50
net.inet.ip.arpq.maxlen=256
#net.inet.ip.forwarding=0
net.inet.ip.forwarding=1
#net.inet.ip.maxqueue=300
net.inet.ip.maxqueue=2048
#net.inet.ipcomp.enable=0
net.inet.ipcomp.enable=1
#net.inet.ip.mtudisc=1
net.inet.ip.mtudisc=0
net.inet.ip.multipath=0
#net.inet.ip.multipath=1
#net.inet.tcp.mssdflt=512
net.inet.tcp.mssdflt=1440
#net.inet.udp.recvspace=41600
net.inet.udp.recvspace=262144
#net.inet.udp.sendspace=9216
net.inet.udp.sendspace=262144
net.inet6.ip6.forwarding=0
#net.inet6.ip6.forwarding=1
#vm.malloc_conf=
vm.malloc_conf=CFGU
####### END