- Install Ops Manager >
- Advanced Configuration Options >
- Configure Ops Manager to Monitor Large Deployments
Configure Ops Manager to Monitor Large Deployments¶
To monitor deployments with more than 2,000 hosts located in globally-distributed datacenters, configure your Ops Manager instance with these advanced settings.
Allocate more RAM to Ops Manager Hosts¶
- Open
/opt/mongodb/mms/conf/mms.conf
in your preferred text editor. - Find a line where the
JAVA_MMS_UI_OPTS
variable defines the-Xms
,-Xmx
, and-Xmn
parameters. - Update the
-Xms
and-Xmx
values from the default of 4352 MB to 8192 MB or more if the hosts have extra free memory. - Update the
-Xmn
value from the default of 1500 MB to a quarter of the value that you specified for-Xms
and-Xmx
.
To learn about how to resolve this error in greater detail, see our troubleshooting entry on the OutOfMemoryError
Improve Monitoring Ingestion¶
Update app settings on all Ops Manager hosts to improve monitoring ingestion:
Open
/opt/mongodb/mms/conf/conf-mms.properties
in your preferred text editor.Add the following properties:
Save the properties file.
Restart Ops Manager.