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
Code: Select all
00 00 * * 0 /etc/init.d/S99msgcenter restart
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
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/