Created on
‎08-31-2024
04:44 AM
Edited on
‎08-07-2025
07:11 AM
By
Stephen_G
Description | This article describes how to solve the FortiGate connectivity issue to FortiAnalyzer when debugging shows the message: 'Failed to allocate memory for log queue'. |
Scope | FortiGate all versions. |
Solution |
In some situations, the Firewall stops sending logs to the FortiAnalyzer, or the connectivity status changes from connected to disconnected randomly.
The article Troubleshooting Tip: FortiGate to FortiAnalyzer connectivity describes how to perform complete troubleshooting.
FortiGate fgtlog or miglogd debug process:
diagnose debug app fgtlog 255
To stop debugging:
diagnose de disable diagnose de reset
If it shows a similar message:
_enqueue_lz4()-684: Failed to allocate memory for log queue.
It is possible to change the miglogd-children configuration:
config system global
Change it to:
config system global
Complete the procedure by restarting the fgtlog and miglogd processes:
fnsysctl killall miglogd <----- The miglogd daemon is responsible for building and publishing logs.
Contact Fortinet TAC Support to do a complete troubleshooting and revision.
Related articles: Troubleshooting Tip: FortiGate to FortiAnalyzer connectivity Troubleshooting Tip: FortiGate Logging debugs Technical Tip: Connectivity issue between FortiGate and FortiAnalyzer (SSL Error) |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.