mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
Upping ulimit on ubuntu for mongo
This commit is contained in:
parent
80e8fed54c
commit
90e5f980c2
1 changed files with 11 additions and 0 deletions
|
@ -5,6 +5,17 @@ After=network.target
|
||||||
[Service]
|
[Service]
|
||||||
User=mongodb
|
User=mongodb
|
||||||
ExecStart=/usr/bin/mongod --config /etc/mongodb.conf
|
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]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Add table
Reference in a new issue