This problem is caused by the wrong settings of the Chinese version of Putty, there has entered values in the data configuration column which changing the environment variable LANG, as the picture displayed:
After login in the MN node, the tool has changed the node’s environment variable LANG, its normal value is POSIX, as the following picture displayed:
Login in the MN node via Putty, it has changed as zh_CN.UTF-8. As the following picture displayed:
After this environment variable has changed, the script “log_num.sh” falls into endless loop, can’t quit, and finally causes the CPU flushing high.