| Description | This article outlines data collection plan and highlights a known issue reported on FortiOS firmware v7.2.7 and below. |
| Scope | FortiGate. |
| Solution |
Symptoms:
diagnose sys top 2 99 1
Run Time: 66 days, 19 hours and 26 minutes
1U, 0N, 0S, 99I, 0WA, 0HI, 0SI, 0ST; 1866T, 173F
httpsd 28502 S 7.4 1.1 7
httpsd 28516 D 4.9 1.0 6 node 149 S 0.4 21.9 2 <-
Freeable memory may be holding a high amount of memory and thus triggering the conserve mode event.
During a normal memory consumption period, use the following:
get system performance status
Memory: 8171732k total, 3042064k used (37.2%), 3541636k free (43.3%), 1588032k freeable (19.4%)
During Abnormal memory consumption period:
get system performance status
Memory: 8171732k total, 3487184k used (42.7%), 534020k free (6.5%), 4150528k freeable (50.8%) <-
Errors related to Node or Node Scripts are presented in the output of the following command:
diagnose debug crashlog read
1: 2022-08-08 18:47:55 <00417> ====================================================
3: 2022-08-08 18:47:55 <00417> Error: ENOENT: no such file or directory, open '/tmp/admin_server.crt'
6: 2022-08-08 22:27:34 <01043> ====================================================
7: 2022-08-08 22:27:34 <01043> ====== Node exiting due to uncaught exception: ======
8: 2022-08-08 22:27:34 <01043> ====================================================
10: 2022-08-08 22:27:34 <01043> Error: ENOMEM: not enough memory, write
Important note:
Data Collection Plan:
fnsysctl du -i /dev/cmdb
fnsysctl du -a /dev/cmdb
fnsysctl df -k
fnsysctl ls -l /tmp
fnsysctl du -i /tmp
fnsysctl du -a /tmp
fnsysctl du -a / -d 1
fnsysctl ls -l /dev/shm
fnsysctl du -i /dev/shm
fnsysctl du -a /dev/shm
fnsysctl ls -l /node-scripts
fnsysctl du -i /node-scripts
fnsysctl du -a /node-scripts
get sys perf stat
diagnose sys top 2 99 3
diagnose sys top-fd
diagnose sys top-mem 20
diagnose sys top-sockmem
diagnose hardware sysinfo conserve
fnsysctl du
diagnose ips session status
diagnose ips packet status
diagnose ips memory status
diagnose sys session stat
diagnose sys dump-conserve-info
diagnose sys print-conserve-info
fnsysctl df
fnsysctl du /node-scripts
fnsysctl ls -la /node-scripts
fnsysctl ls -la /node-scripts/report-runner/results
fnsysctl ls -la /node-scripts/logs
fnsysctl cat /proc/meminfo
fnsysctl cat /proc/vmstat
execute tac report
Note: Super Admin privilege is required in order to run 'fnsysctl' command. Otherwise, FortiGate will return an error as mentioned in this article.
diagnose debug reset
diagnose debug application httpsd -1
diagnose web-ui backtrace enable
diagnose web-ui backtrace httpsd <Enter the process ID of the httpsd daemon>
diagnose debug console timestamp enable
diagnose debug duration 2
diagnose debug enable
The debug commands will stop printing data after 2 minutes.
diagnose debug reset diagnose debug application nodejs -1
diagnose debug console timestamp enable
diagnose debug duration 2
diagnose debug enable
The debug commands will stop printing data after 2 minutes.
To permanently disable/reset the debugs, execute the following commands.
diagnose debug disable
diagnose debug reset
Related articles: |
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.