68544: Acronis Cyber Protect 15: Backup fails with "Not enough memory" or logs occupy free space on Acronis Management Server

Also read in:

use Google Translate

Last update: 09-09-2021

Symptoms

A backup done by Virtual Appliance, All-in-One appliance, an agent on a Windows machine with Acronis Management Server installed, or an agent on a Linux machine with Acronis Management Server installed is failing with an error that not enough memory is available ("Not enough memory" or similar messages). 

The system information collected from such an agent might be corrupted/incomplete, or cannot be collected at all.

Cause

Provided that the target drive has enough space, the issue can have one of these root causes:

1. Insufficient RAM. This is especially the case if you notice that backup fails on some machines while it works on the others.

2. Excessive logs occupy free space.

Solution

1. Check the archive size and increase RAM, if need be. As described in the user guide, it is generally 1 GB for 1 TB of archive size.

2. If it does not help (RAM is not being used up during the backup, and/or the backup itself is small), remove old logs.

From Acronis Backup Appliance (All-in-One Appliance)

  1. Install WinSCP and connect to the Appliance using its IP address - https://winscp.net/eng/download.php
  2. Open the console of the appliance:
    <ip of appliance>:9090
    or the VM's web console in vSphere (it also has a terminal)
  3. Navigate to the log storage of Acronis:
    cd /var/lib/Acronis
  4. Run the following to display the biggest folder inside:
    du -hs * | sort -hr
  5. Go to that folder:
    cd /var/lib/Acronis/<biggest folder's name>
  6. List the directories sorting by size as you did earlier:
    du -hs * | sort -hr
  7. Open the biggest directory in WinSCP, sort the files by modification date and delete the oldest ones, keeping a week of logs or so. For cleaning up AtpDatabaseMirror folder, we created a script:
  8. Wait several minutes and run step 6 again to list the folders.
  9. Repeat the steps for all of the biggest folders.
  10. Repeat steps 3 – 9 for /var/log/Acronis.
  11. Restart the appliance and try to run the backup again.

From Windows

On Windows, the logs and mirrors are all saved under C:\ProgramData\Acronis\<servicename>

  1. Check which folder is the biggest one by using the TreeSize free tool.
  2. Stop the corresponding services on the AMS machine. (!) Do not forget to stop Active Protection service! If it is not stopped under Services.msc, stop it in Task Manager (right-click the Task bar and select Task Manager – select Active Protection service under Details – right-click the process and select End process tree).
  3. Remove old logs. For cleaning up AtpDatabaseMirror folder, we created a script:

  4. Start Acronis services and run the backup again.

From Linux

On Linux, the logs are saved in Linux paths: /var/lib/Acronis/<servicename>

  1. Navigate to the log storage:
    cd /var/lib/Acronis
  2. Run the following to display the biggest folder inside:
    du -hs * | sort -hr
  3. Go to that folder:
    cd /var/lib/Acronis/<biggest folder's name>
  4. List the directories sorting by size as you did earlier:
    du -hs * | sort -hr
  5. Open the biggest directory, sort the files by modification date and delete the oldest ones, keeping a week of logs or so. For cleaning up AtpDatabaseMirror folder, we created a script:
  6. Repeat the steps for /var/log/Acronis.

More information

If it does not help as well, collect

  1. Screenshots of the aforementioned steps.
  2. System information.
  3. Full error messages in case the system information is incomplete again (select activity -> Show details -> Details - Download the log or copy the full text to the email).