Skip to content

MongoDB must limit the total number of concurrent connections to the database.

An XCCDF Rule

Description

MongoDB must limit the total number of concurrent connections to the database.

ID
SV-252148r879511_rule
Version
MD4X-00-001550
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

MongoDB can limit the total number of connections served by mongod process by setting the following in the MongoDB configuration file (default location: /etc/mongod.conf)

net:
  maxIncomingConnections:  %int%      

See the following documentation: