The RAM usage of F2-210/F4-210 keeps increasing?

TOS system configuration
Post Reply
User avatar
TMzethar
TerraMaster Team
Posts: 1223
Joined: 27 Oct 2020, 16:43

The RAM usage of F2-210/F4-210 keeps increasing?

Post by TMzethar »

Applicable version
TOS 4.x

Applicable models
F2-210, F4-210

Fault phenomenon
Some users have reported that the F2-210 and F4-210 models may experience blockages after about two months of use, and it has been observed that the process called “msgcenter” takes up a lot of RAM.
The “msgcenter” is an important message reminder function. It has been observed that there is a problem of slowly increasing RAM usage.

Solution
You need to set up a scheduled task that restarts the msgcenter process periodically to reset the RAM usage.
1. Log in to SSH and switch to root user
Login method: https://forum.terra-master.com/cn/viewt ... =87&t=1511

Configuration method A
2a. Enter the following command to open the scheduled task configuration file

Code: Select all

vi /etc/crontab/root
3a. Enter "i" to enter the edit mode, and add the following information in a new line at the bottom:

Code: Select all

00 00 * * 0 /etc/init.d/S99msgcenter restart
(The msgcenter service will be restarted at 0:00 every Sunday)

4a. Press "Esc" to exit the editing mode, then press ":", enter "wq", and finally press "Enter" to save and exit the scheduled task configuration file.

Configuration method B
2b. Enter the following command to copy the configuration file "root" of the scheduled task to a directory visible on the TOS web page:
cp /etc/crontab/root /mnt/md0/public/

3b. Download the "root" file in the public folder of TOS file management, open it with a text tool, and add the following information in the new line at the bottom:

Code: Select all

00 00 * * 0 /etc/init.d/S99msgcenter restart
(The msgcenter service is restarted at 0:00 every Sunday)

4b. Delete the "root" file in the public directory of file management, and re-upload the edited "root" file to the public directory of file management.

5b. Enter the following command to replace the old "root" file with the new "root" file:

Code: Select all

cp /mnt/md0/public/root  /etc/crontab/
To contact our team, please send email to following addresses, remember to replace (at) with @:
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
Post Reply

Return to “System Configuration”