Upping ulimit on ubuntu for mongo

This commit is contained in:
Samuel Clay 2016-12-14 17:52:38 -08:00
parent 80e8fed54c
commit 90e5f980c2

View file

@ -5,6 +5,17 @@ After=network.target
[Service]
User=mongodb
ExecStart=/usr/bin/mongod --config /etc/mongodb.conf
# Other directives omitted
# (file size)
LimitFSIZE=infinity
# (cpu time)
LimitCPU=infinity
# (virtual memory size)
LimitAS=infinity
# (open files)
LimitNOFILE=64000
# (processes/threads)
LimitNPROC=64000
[Install]
WantedBy=multi-user.target