mongodb: Limit max connections to database
This commit is contained in:
parent
b2da9de4d6
commit
885c01ebaa
1 changed files with 1 additions and 0 deletions
|
@ -111,6 +111,7 @@
|
||||||
--logRotate reopen \
|
--logRotate reopen \
|
||||||
--nounixsocket
|
--nounixsocket
|
||||||
--replSet rs0 \
|
--replSet rs0 \
|
||||||
|
--maxConns 16384 \
|
||||||
--tlsMode requireTLS \
|
--tlsMode requireTLS \
|
||||||
--tlsCertificateKeyFile {{ tls_private }}/mongodb.pem
|
--tlsCertificateKeyFile {{ tls_private }}/mongodb.pem
|
||||||
--tlsCAFile {{ tls_certs }}/ca.crt
|
--tlsCAFile {{ tls_certs }}/ca.crt
|
||||||
|
|
Loading…
Add table
Reference in a new issue