Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Cloud Backup
  • Getting started
    • All guides
    • Activating the service
    • Viewing service resource operations
    • Limiting RAM usage by the Cloud Backup agent
    • Viewing backup statistics
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  • Troubleshooting
  1. Step-by-step guides
  2. Limiting RAM usage by the Cloud Backup agent

Limiting RAM usage by the Cloud Backup agent

Written by
Yandex Cloud
Updated at May 20, 2025

For faster data backup and recovery, the Cloud Backup agent can consume significant amounts of RAM of the backed up resource, i.e., virtual machine or BareMetal server. The agent can even use up all the available RAM, which in some cases may disrupt the resource's other services and make it impossible to complete the backup or recovery process.

To prevent such issues, you can limit the amount of data the agent caches in RAM.

Note

Limiting the Cloud Backup agent's use of RAM may slow down the backup and recovery operations.

To limit the use of RAM by the agent:

Linux
Windows
  1. Connect to the VM or BareMetal server over SSH.

  2. Stop the backup agent system process by running the following command in the terminal:

    sudo service acronis_mms stop
    
  3. Open the agent configuration file:

    sudo nano /usr/lib/Acronis/system_libs/config
    

    If the configuration file does not exist, it will be created.

  4. Add the following line to the opened configuration file:

    export A3_CACHE_SIZE=<RAM_limit>
    

    Where the A3_CACHE_SIZE variable sets the RAM limit for the agent. For example, for a 2 GB limit, specify A3_CACHE_SIZE=2G or A3_CACHE_SIZE=2048M.

  5. Save the changes and close the configuration file.

  6. Restart the backup agent system process:

    sudo systemctl restart acronis_mms
    
  1. Connect to the VM via RDP or to the BareMetal server using the KVM console.

  2. Run PowerShell as an administrator.

  3. In the PowerShell terminal, run this command:

    setx /M A3_CACHE_SIZE <RAM_limit>
    

    Where the A3_CACHE_SIZE variable sets the RAM limit for the agent. For example, for a 2 GB limit, specify A3_CACHE_SIZE 2G or A3_CACHE_SIZE 2048M.

    Result:

    SUCCESS: Specified value was saved.
    
  4. Restart Acronis Managed Machine Service:

    1. Stop Acronis Managed Machine Service:

      net stop MMS
      

      Result:

      The Acronis Managed Machine Service service is stopping..
      The Acronis Managed Machine Service service was stopped successfully.
      
    2. Restart Acronis Managed Machine Service:

      net start MMS
      

      Result:

      The Acronis Managed Machine Service service is starting.
      The Acronis Managed Machine Service service was started successfully.
      

See alsoSee also

  • Cloud Backup agent
  • Creating a Linux VM with a connection to Cloud Backup
  • Creating a Windows Server VM with a connection to Cloud Backup
  • Leasing a Yandex BareMetal server with a connection to Cloud Backup

Was the article helpful?

Previous
Viewing service resource operations
Next
Viewing backup statistics
Yandex project
© 2025 Yandex.Cloud LLC