61762: Acronis Backup 12.5: How to change timeout period for Acronis MMS Service on Linux

Also read in:

use Google Translate

Applies to: 

Operating Systems: 

Symptoms

In some cases Acronis Managed Machine Service cannot stop in time and is killed and you receive the following error in logs:

acronis_mms.service failed.

Cause

Timeout period for Acronis MMS service is too short for the given environment and Acronis software usage.

Solution

Increase the timeout setting for acronis_mms to allow for correct service stop.

1) Сreate a folder /etc/systemd/system/acronis_mms.service.d 

Example of command that can be used:

 mkdir /etc/systemd/system/acronis_mms.service.d

2) Сreate a text file acronis_mms.service.conf inside that folder

Example of command using the nano text editor:

 nano /etc/systemd/system/acronis_mms.service.d/acronis_mms.service.conf

3) Сopy the following two lines into the created text file. They will set the timeout period for stopping Acronis MMS service to 180 seconds 

[Service] 

TimeoutStopSec=180 

4) Save changes to the file.

Ctrl+O to save the file.

Ctrl+X to close editor.

5) Stop and then start Acronis MMS service by running these two commands in Terminal:

sudo service acronis_mms stop 

sudo service acronis_mms start 

Monitor the product behavior. If the issue persists you may need to increase timeout period further.

Additional information:

The default timeout settings for Acronis services that are set on a clean installation can be seen in .service files in the directory /etc/systemd/system. These .service files are plain text files and can be viewed in any text viewer/editor.

For example, the file /etc/systemd/system/acronis_mms.service contains the following line:

TimeoutStopSec=1min

It is the default timeout and if service didn't stop in 1 minute after the stop signal was sent, it is terminated.

(!) It is recommended to customize Acronis service parameters through an additional .conf file and not directly in the .service file, because .service file gets overwritten with every update of Acronis software, resetting all settings to their defaults.

More information

The same approach can be used for increasing timeout period for other Acronis services on Linux. You can find a full list of services in this article

Tags: 

You are reporting a typo in the following text:
Simply click the "Send typo report" button to complete the report. You can also include a comment.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
1 + 0 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.