{
  "schema_version": 2,
  "id": "operate/rs/clusters/optimize/turn-off-services",
  "title": "Turn off services to free system memory",
  "url": "https://redis.io/docs/latest/operate/rs/clusters/optimize/turn-off-services/",
  "summary": "Turn off services to free memory and improve performance.",
  "tags": [
    "docs",
    "operate",
    "rs"
  ],
  "last_updated": "2026-09-24T10:14:16+01:00",
  "page_type": "content",
  "content_hash": "36a7347ac3962924e391d4298629d26198b76a506bca538a7dffa1cd9c0537cb",
  "sections": [
    {
      "id": "content",
      "title": "Content",
      "role": "content",
      "text": "The Redis Software cluster nodes host a range of services that support the cluster processes.\nIn most deployments, either all of these services are required,\nor there are enough memory resources on the nodes for the database requirements.\n\nIn a deployment with limited memory resources, certain services can be disabled from API endpoint to free system memory or using the `rladmin` command.\nBefore you turn off a service, make sure that your deployment does not depend on that service.\nAfter you turn off a service, you can re-enable in the same way.\n\nThe services that you can turn off are:\n\n- RS Admin Console - `cm_server`\n- Logs in CSV format - `stats_archiver`\n- [LDAP authentication](https://redis.io/docs/latest/operate/rs/security/access-control/ldap) - `saslauthd`\n- [Discovery service](https://redis.io/docs/latest/operate/rs/networking/cluster-dns)- `mdns_server`, `pdns_server`\n- [Active-Active databases](https://redis.io/docs/latest/operate/rs/databases/active-active) - `crdb_coordinator`, `crdb_worker`\n- Alert Manager - `alert_mgr` (For best results, disable only if you have an alternate alert system.)\n\nTo turn off a service with the `rladmin cluster config` command, use the `services` parameter and the name of the service, followed by `disabled`.\n[code example]\n\nTo turn off a service with the API, use the [`PUT /v1/services_configuration`](https://redis.io/docs/latest/operate/rs/references/rest-api/requests/cluster/services_configuration#put-cluster-services_config) endpoint\nwith the name of the service and the operating mode (enabled/disabled) in JSON format.\n\nFor example:\n- To turn off the Redis Software Cluster Manager UI, use this PUT request:\n\n    [code example]\n\n- To turn off the CRDB services and enable the `stats_archiver` for cluster component statistics, use this PUT request:\n\n    [code example]"
    }
  ],
  "examples": [
    {
      "id": "content-ex0",
      "language": "text",
      "code": "rladmin cluster config\n        [ services <service_name> <enabled | disabled> ]",
      "section_id": "content"
    },
    {
      "id": "content-ex1",
      "language": "sh",
      "code": "PUT https://[host][:9443]/v1/cluster/services_configuration\n    '{\n        \"cm_server\":{\n            \"operating_mode\":\"disabled\"\n        }\n    }'",
      "section_id": "content"
    },
    {
      "id": "content-ex2",
      "language": "sh",
      "code": "PUT https://[host][:9443]/v1/cluster/services_configuration\n    '{\n        \"crdb_coordinator\":{\n            \"operating_mode\":\"disabled\"\n        },\n        \"crdb_worker\":{\n            \"operating_mode\":\"disabled\"\n        },\n        \"stats_archiver\":{\n            \"operating_mode\":\"enabled\"\n        }\n    }'",
      "section_id": "content"
    }
  ]
}
