Last Modified: Apr 28, 2025
Affected Product(s):
BIG-IP TMOS
Known Affected Versions:
11.4.1, 11.5.0, 11.5.1, 11.5.1 HF1, 11.5.1 HF2, 11.5.1 HF3, 11.5.1 HF4, 11.5.1 HF5, 11.5.1 HF6, 11.5.1 HF7, 11.5.1 HF8, 11.5.1 HF9, 11.5.1 HF10, 11.5.1 HF11, 11.5.2, 11.5.2 HF1, 11.5.3, 11.5.3 HF1, 11.5.3 HF2, 11.5.4, 11.5.4 HF1, 11.5.4 HF2, 11.5.4 HF3, 11.5.4 HF4, 11.5.5, 11.5.6, 11.5.7, 11.5.8, 11.5.9, 11.5.10, 11.6.0, 11.6.0 HF1, 11.6.0 HF2, 11.6.0 HF3, 11.6.0 HF4, 11.6.0 HF5, 11.6.0 HF6, 11.6.0 HF7, 11.6.0 HF8, 11.6.1, 11.6.1 HF1, 11.6.1 HF2, 11.6.2, 11.6.2 HF1, 11.6.3, 11.6.3.1, 11.6.3.2, 11.6.3.3, 11.6.3.4, 11.6.4, 11.6.5, 11.6.5.1, 11.6.5.2, 11.6.5.3, 12.0.0, 12.0.0 HF1, 12.0.0 HF2, 12.0.0 HF3, 12.0.0 HF4, 12.1.0, 12.1.0 HF1, 12.1.0 HF2, 12.1.1, 12.1.1 HF1, 12.1.1 HF2
Fixed In:
13.0.0, 12.1.2
Opened: Jun 09, 2016 Severity: 3-Major Related Article:
K65094414
/var/tmp/tmsh and /var/system/tmp/tmsh might have left over unused directories if there was an abrupt termination wherein TMSH does not get a chance to clean up remaining directories. As a result of this issue, you may encounter one or more of the following symptoms: -- Your BIG-IP system eventually exhausts file system resources. -- Your BIG-IP system becomes unresponsive, unstable, or experiences memory exceptions. -- Output of the ls -l command for the /var/tmp/tmsh and /var/system/tmp/tmsh directories will display several directories and files similar to the following examples: drwxrwxrwt. 2 root root 4096 2016-06-08 15:17 CGAO6d drwxrwxrwt. 2 root root 4096 2016-06-08 21:18 E2gg1z drwxrwxrwt. 2 root root 4096 2016-06-08 14:11 H6R36n drwxrwxrwt. 2 root root 4096 2016-06-08 19:07 IYnSMc
This can cause the directories /var/tmp/tmsh and /var/system/tmp/tmsh to fill up and cause out-of-memory exceptions.
This can occur if a tmsh command is abruptly terminated before it removes any temporary directories or files that were created for the command.
Manually delete all unused files in /var/tmp/tmsh and /var/system/tmp/tmsh. For more information about this issue, see K65094414: Temporary directories and files created for tmsh commands may not be deleted :: https://support.f5.com/csp/article/K65094414 .
The BIG-IP system now contains a command, clean_tmsh_tmp_dirs, that can be run to clean up temporary files in /var/system/tmp/tmsh and /var/tmp/tmsh. This script does not automatically run, but instead provides a way for you to manually clean up these temporary files. To execute the script, run bin # ./clean_tmsh_tmp_dirs and follow the prompts.
Included with recent software releases is a shell script which can be run by the BIG-IP system administrator, when needed, to clean up excess temporary files in the directories /var/tmp/tmsh and /var/system/tmp/tmsh. The script, clean_tmsh_tmp_dirs, resides in /usr/local/bin/.