Skip to main content

How to Enable Auto Memory Configuration on ObserveOps Observer

Enable auto memory configuration on the motadata-observer service in ObserveOps to let the service automatically size its memory based on available system resources.

Prerequisites​

Make sure you have:

  • Root or sudo access to the Observer server
  • ObserveOps version 8.2.3 or above installed
  • A backup of all configuration files before making any changes
note

Perform this procedure during a scheduled maintenance window. Enabling this configuration restarts the motadata-observer service.

Procedure​

Step 1 — Stop the motadata-observer Service​

Run the following command to stop the service:

sudo service motadata-observer stop

Step 2 — Navigate to the Configuration Directory​

cd /motadata/motadata/config

Step 3 — Back Up the Configuration File​

cp motadata.json motadata.json.bkp

Step 4 — Edit the Configuration File​

Open motadata.json in a text editor:

vi motadata.json

Step 5 — Add the Auto Memory Key​

Add or update the following key in motadata.json:

"auto.configure.max.memory": true
note

Check for JSON syntax errors after editing. A malformed motadata.json prevents the service from starting.

Step 6 — Save and Exit​

  1. Press Esc.
  2. Type :wq.
  3. Press Enter.

Step 7 — Start the motadata-observer Service​

sudo service motadata-observer start

Post-Validation​

Verify the service started successfully:

sudo service motadata-observer status

Confirm the output shows active (running) before closing the session.

Expected Outcomes​

  • The motadata-observer service starts with auto memory configuration enabled.
  • ObserveOps automatically adjusts the observer memory limit based on available system resources.
  • The service status shows active (running) after restart.
  • Monitor system behavior for the first 15–30 minutes after the change to confirm stable operation.