Memory Leak in dhcpd

sthaug at nethelp.no sthaug at nethelp.no
Thu Aug 13 07:30:40 UTC 2009


> The Primary server hands out 30000 leases in the first hour, But after an hour the %memory consumption of the dhcpd process significantly increases from about 8% to 90% and finally leads to the dhcp server to crash with the following messages at the end of the 2nd hour.
> 
> 
> no memory for option buffer.
> no memory for option buffer.
> no memory for option buffer.
> dhcp_failover_put_message: something went wrong.
> dhcp_failover_send_connect: out of memory
> Segmentation fault
> 
> The same thing happens if the secondary is the only server receiving requests.
> I have searched the mailing lists and found people have faced similar issues but have not got a solution.
> Does any body have any idea why this happens?

There is indeed a memory leak in dhcpd. See the thread starting at

https://lists.isc.org/pipermail/dhcp-users/2009-March/008573.html

There is a patch you may want to try at

https://lists.isc.org/pipermail/dhcp-users/2009-April/008647.html

It has solved all our dhcpd memory leak problems.

Steinar Haug, Nethelp consulting, sthaug at nethelp.no



More information about the dhcp-users mailing list