diff --git a/files/mongodb.service b/files/mongodb.service index 6cd23bd..a11a403 100644 --- a/files/mongodb.service +++ b/files/mongodb.service @@ -5,6 +5,8 @@ Documentation=man:mongod(1) [Service] User=mongodb ExecStart=/usr/bin/mongod --config /etc/mongod.conf +LimitNOFILE=65535 +LimitNPROC=65535 [Install] WantedBy=multi-user.target