mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-04-13 09:42:01 +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]
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue