-
Notifications
You must be signed in to change notification settings - Fork 8
/
server.cfg
35 lines (31 loc) · 895 Bytes
/
server.cfg
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
# listening socket
PortPlayer 20001
BackLog 64
MaxAccept 500 # default 5000, memory need MaxAccept * MaxRecv
TimeoutSelect 100 # in msec
TimeoutPlayer 600 # in sec
MaxRecv 524288 # in byte
MaxSend 8192 # in byte
WeightBlock 1048576 # in byte
MaxConnPerAddrSec 16
MaxConnPerAddrMin 128
CutConnPerAddrMin 1024
MaxComPerAddr 5242880 # 5MiB in byte
# resign threshold
ResignEMADeno 5000
ResignEMAInit 0.10
ResignMRate 0.05
# weight keeping
DirWeight ./weight
WeightPolling 60 # in second
# record keeping
DirArchives ./archive
DirPool ./pool
SizeQueue 256
MaxSizeCSA 2097152
Log2LenRedundant 18 # 2^18 entry
MinLenPlay 2
MinAveChildren 3
# log keeping
DirLog ./log
LenLogArchive 67108864 # 64MiB in byte