When working on a Linux operating system, you need to keep two Linux mechanics in mind, otherwise you are prone to all kinds of fancy problems
1. The TMP directory is automatically cleared
Summary of TMP automatic cleanup
Therefore, important files and files that cannot be deleted should not be placed in the TMP directory. Therefore, before installing and running components, make sure that files are not placed in the TMP directory by default
2. Oom – kill mechanism
When a Linux server process uses excessive memory, the Linux machine in order to protect itself, actively kill your process, free memory.
So the system must be sure to reserve part of the memory, do not take up all the memory of the general system reserved 10-20%
Be aware of these two mechanisms !!!!!