Technical Tip: High memory usage caused by DHCPD daemon
Description | This article describes the DHCP daemon causing High Memory utilization due to frequent DHCP Discover request coming from the client. |
Scope | FortiOS. |
Solution | FortiGate memory utilization goes high due to Clients frequent 'DHCP Discover' message. Â Once the FortiGate receives a client's 'DHCP Discover' message, it makes a 'DHCP Offer'. When the 'DHCP Discover' message is received too frequently from multiple hosts, it may cause memory to spike for a while, depending on the model's available memory. Â Running the command 'diagnose debug crashlog read' will show 'Kernel exits extreme low memory mode' and 'Kernel enters extreme low memory mode'. Â Â DHCP Debug: Â Â A DHCP DISCOVER request was made fom MAC address 00:45:6e:xx:xx:xx was 655 times over a period of approximately 5 minutes during the debug. This can be counted with any software that allows word counting, such as Notepad++.
Â
 This continuous request pushes the DHCP process to consume more memory than usual.  ![]()  When the DHCP daemon is terminated with the 'fnsysctl killall dhcpd' command, the memory consumption goes down, but will go up again after an extended period of the client sending continuous requests.  In order to resolve this issue permanently, the client needs to be isolated.  Related article: |

