consul: Reduce mmap size on 32bit
This commit is contained in:
parent
80a77a82df
commit
88b53702f1
|
@ -35,7 +35,7 @@ const (
|
||||||
serfWANSnapshot = "serf/remote.snapshot"
|
serfWANSnapshot = "serf/remote.snapshot"
|
||||||
raftState = "raft/"
|
raftState = "raft/"
|
||||||
snapshotsRetained = 2
|
snapshotsRetained = 2
|
||||||
raftDBSize32bit uint64 = 128 * 1024 * 1024 // Limit Raft log to 128MB
|
raftDBSize32bit uint64 = 64 * 1024 * 1024 // Limit Raft log to 64MB
|
||||||
raftDBSize64bit uint64 = 8 * 1024 * 1024 * 1024 // Limit Raft log to 8GB
|
raftDBSize64bit uint64 = 8 * 1024 * 1024 * 1024 // Limit Raft log to 8GB
|
||||||
|
|
||||||
// serverRPCCache controls how long we keep an idle connection
|
// serverRPCCache controls how long we keep an idle connection
|
||||||
|
|
|
@ -23,7 +23,7 @@ const (
|
||||||
dbSessions = "sessions"
|
dbSessions = "sessions"
|
||||||
dbSessionChecks = "sessionChecks"
|
dbSessionChecks = "sessionChecks"
|
||||||
dbACLs = "acls"
|
dbACLs = "acls"
|
||||||
dbMaxMapSize32bit uint64 = 512 * 1024 * 1024 // 512MB maximum size
|
dbMaxMapSize32bit uint64 = 128 * 1024 * 1024 // 128MB maximum size
|
||||||
dbMaxMapSize64bit uint64 = 32 * 1024 * 1024 * 1024 // 32GB maximum size
|
dbMaxMapSize64bit uint64 = 32 * 1024 * 1024 * 1024 // 32GB maximum size
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue