Troubleshooting Tip: Unable to access firewall via CLI and getting 'fork() failed' error message on firewall CLI console
| Description | This article describes how to resolve the issue when the customer is unable to access the firewall via CLI console and Getting error message as 'fork() failed' on the firewall CLI console. |
| Scope | FortiGate. |
| Solution | This error occurs when the firewall does not have sufficient memory to support the installed firmware, resulting in the following error:
This, in turn, relates to high memory utilization, which consumes space allocated for the firmware to load onto the firewall.
Solution: The only solution to resolve this issue is to reboot the firewall to free up memory utilization, so that once free memory is available, the firewall memory will allow the firmware version to load successfully.
TAC's recommendation is to optimize firewall memory utilization to avoid facing this issue. See the following document for optimizing firewall memory utilization: Technical Tip: How to optimize memory consumption for smaller FortiGates. |

