Technical Tip: 'fnbamd' Daemon Consumes High Memory when Secure STARTTLS is Configured for LDAP
| Description | This article describes an issue where the 'fnbamd' daemon utilizes high memory, causing the FortiGate to enter Memory Conserve Mode. The issue is triggered when STARTTLS is configured in LDAP configuration. |
| Scope | FortiGate v7.0.14, v7.0.15, v7.2.6, v7.2.7, v7.2.8, v7.2.10 v7.4.3. |
| Solution | A gradual increase in memory usage by the 'fnbamd' daemon has been observed on FortiGate devices running the above-mentioned versions when STARTTLS is configured in LDAP configuration. This can result in the device entering Memory Conserve Mode.
LDAP configuration:
config user ldap
diagnose sys top-mem diagnose sys top 2 100
This issue has been resolved in v7.2.11 and v7.6.1.
Restart the process using a script based on the increasing pattern. This script will restart the process every 6 hours to prevent memory growth over time.
config system auto-script edit restart_fnbamd
Disable STARTTLS in LDAP configuration using the below commands:
config user ldap
Logs required by FortiGate TAC for investigation.
get system performance status
Add the number of processes after 'detail' if the process is listed further in the top-mem list. diagnose sys process pidof fnbamd <----- Note the process_ID of the fnbamd process here. fnsysctl cat /proc/[process_ID]/maps <----- Place the process ID taken from the previous command without the brackets.
execute tac report
Related article: |
