The Linux setroubleshootd process occupies too much memory [How to Solve]

Question:

The server found a problem: the memory is full, and even swap is completely occupied.

Solution:

The system has 8g memory, and the setroubleshootd process occupies 4G. This process is the daemon of SELinux. Just close SELinux.

vi /etc/selinux/config
#Comment out
#SELINUX=enforce
#Comment out
#SELINUXTYPE=targeted 
#Add
SELINUX=disabled 

Modify the configuration file and restart to take effect

Read More: