| Description | This article explains the meaning of Node.JS process restart and auto-reboot behavior in FortiGate. |
| Scope | FortiGate. |
| Solution |
In general, a standard process or worker restart does not produce this category of crashes 'Node.JS restarted' and 'Error: kill ESRCH'. If these events appear only once, they are likely caused by the software attempting to terminate or restart a worker/process that was no longer running or could not be located.
This crash happens during Node.JS restart. Node.JS triggers a restart for some errors, and during the restart, it tries to terminate all workers, but because of race conditions, it failed to terminate workers (it's already terminated), and that raises this error (because it failed to find a target worker to terminate. ESRCH is Search Error).
If the crash occurs infrequently and does not affect the FortiGate’s performance or cause any operational issues, it can generally be considered non-critical unless it leads to a noticeable disruption in production traffic. This approach is particularly useful for FortiGate models, such as the FortiGate-1500D, that do not support the latest firmware versions.
If, after manually or automatically shutting down the FortiGate (by script), the FortiGate auto-reboots, it means there is an internal issue:
- "Node.JS restarted" happened several times with "Error: kill ESRCH" "...2127: 2024-07-01 08:25:59 <00188> Node.JS restarted: (unhandled rejection) ..."
"... date=2024-07-02 time=12:02:13 eventtime=1719896533403457261 tz="+0700" logid="0100032200" type="event" subtype="system" level="critical" vd="root" logdesc="Device shutdown" user="admin" ui="GUI(10.16.36.52)" action="shutdown" msg="User admin shutdown the device from GUI(10.16.36.52)." ..."
It has been resolved in v7.4.5 and v7.6.0. |
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.