Technical Tip: How to deactivate UEBA/phFortiInsightAI service
| Description | This article describes how to deactivate the UEBA/phFortiInsightAI service. |
| Scope | FortiSIEM. |
| Solution | When the FortiSIEM RAM usage is high and not using UEBA/phFortiInsight feature, as the service is active by default and using resources, it is possible to deactivate it by following the next steps on super/worker nodes:
cp /opt/phoenix/config/phoenix_config.txt /opt/phoenix/config/phoenix_config.txt.orig cp /opt/phoenix/bin/phstatus.py /opt/phoenix/bin/phstatus.py.orig
vi /opt/phoenix/config/phoenix_config.txt
gawk '{print $2}'</method></service><service><name>phFortiInsightAI</name><method>ps -ef | grep -v grep | grep -v Test | grep phFortiInsightAI |
<service><name>phFortiInsightAI</name><method>ps -ef | grep -v grep | grep -v Test | grep phFortiInsightAI | gawk '{print $2}'</method></service>
vi /opt/phoenix/bin/phstatus.py
processes += "\nphFortiInsightAI"
elif name == "phFortiInsightAI":
systemctl stop phFortiInsightAI
Now around 10GB of RAM and SWAP has been freed up. Especially useful on hardware platform type.
mv /opt/phoenix/config/phoenix_config.txt.orig /opt/phoenix/config/phoenix_config.txt mv /opt/phoenix/bin/phstatus.py.orig /opt/phoenix/bin/phstatus.py systemctl start phFortiInsightAI systemctl enable phFortiInsightAI
|
