From d5c4563c77a9bdaaaa82d6b6f2f57a0a60848f51 Mon Sep 17 00:00:00 2001 From: Alexander Polynomdivision Date: Tue, 9 Oct 2018 15:13:18 +0200 Subject: [PATCH] server: Restrict the cache size of MongoDB --- server/mongod.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/mongod.conf b/server/mongod.conf index 8846ab8..a53f828 100644 --- a/server/mongod.conf +++ b/server/mongod.conf @@ -1,6 +1,9 @@ storage: engine: wiredTiger dbPath: /etc/mongo/db/ + wiredTiger: + engineConfig: + cacheSizeGB: 0.25 security: authorization: enabled