Full error text is "The system the Resilio Connect Agent is installed on doesn't have enough memory to run efficiently. This may cause slower operations of the Resilio Connect Agent"
Agent requires certain amount of memory to keep the files in sync (see system requirements). The more files are in the folders, the more memory is required.
This error appears when Resilio Agent process consumes more than 90% of total physical memory. It means that all the rest of processes including OS processes have 10% to run and likely the OS will use swap file extensively which causes significant performance reduction for all processes on this OS.
There are several ways to solve the issue:
- Increase amount of RAM on the device / VM.
- Decrease total amount of files in the jobs that the Agent runs. Please note, simply removing the files from the job won't help as the Agent keeps the records of all the files that have ever been in the folder, thus consuming RAM. Recreating of the jobs with fewer number of files will be required. Additionally, it's possible to limit the number of files by Profile parameters Max file modification time and Min file modification time.
- Ensure that Agent is using TCP protocol instead of ZGT / UTP* since TCP protocol requires less system resources.
- If you have to use ZGT - try reducing parameter net.utp3.max_total_mem_percent from 50 (Default value) to 20. That's amount of % of total RAM allowed for ZGT to use for networking buffers.
Error code SE_NOT_ENOUGH_MEMORY