Created on
‎04-01-2025
01:29 AM
Edited on
‎04-02-2025
03:16 AM
By
Jean-Philippe_P
Description | This article describes how to troubleshoot a conserve mode issue on the Secondary unit in an HA cluster caused by the node.js daemon. |
Scope | FortiGate version 7.6.0. |
Solution |
This issue was reported after upgrading the HA cluster to v7.6.0. After upgrading to version 7.6.0, Node daemon is using high memory all the time and ending up with conserve mode on secondary device in the cluster. Memory usage increases slightly on the Secondary unit until it triggers the conserve mode.
Detailed link about how to connect secondary node in cluster : Technical Tip: How to access secondary unit of HA cluster via CLI
Example output:
diagnose debug crashlog read 122: 2024-07-11 08:00:10 service=kernel conserve=on total="3614 MB" used="3180 MB" red="3180 MB"
Example output:
get system status
get system performance status CPU states: 6% user 0% system 0% nice 94% idle 0% iowait 0% irq 0% softirq
Example output:
diagnose sys top 1 20 20
Restart the process gracefully with (available since FortiOS v7.2.1):
diagnose nodejs process restart
Or restart the process by killing it with:
fnsysctl killall node
get system performance status Memory: 3701384k total, 2118272k used (57.2%), 1219000k free (32.9%), 364112k freeable (9.9%) diagnose sys top 1 5 5
Note: The script will start the interval when it got added, so to run periodically at night it needs to be added at this time. |