diff --git a/consul/server.go b/consul/server.go index a16b0e0be4..ecd9b7fc51 100644 --- a/consul/server.go +++ b/consul/server.go @@ -35,7 +35,7 @@ const ( serfWANSnapshot = "serf/remote.snapshot" raftState = "raft/" 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 // serverRPCCache controls how long we keep an idle connection diff --git a/consul/state_store.go b/consul/state_store.go index fcb4f04ecf..0ce993fe23 100644 --- a/consul/state_store.go +++ b/consul/state_store.go @@ -23,7 +23,7 @@ const ( dbSessions = "sessions" dbSessionChecks = "sessionChecks" 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 )