dhcpd crashing

Miroslav Lauš mirek.laus at gmail.com
Tue Aug 3 08:45:42 UTC 2010

On Aug 3, 2010, at 10:29 AM, sthaug at nethelp.no wrote:

>> we're running ISC DHCP 4.1.1 on FreeBSD 7.0-RELEASE.
>> Few days ago the dhcpd started to crash few times a day:
>> Aug  3 03:36:42 portax2 kernel: pid 52983 (dhcpd), uid 0: exited on signal 11 (core dumped)
> Are you using LDAP? I notice your dhcpd is built with LDAP libraries.
> It might be a good idea to try to run it without LDAP. And also to
> build it with debugging symbols to enable a sensible backtrace after
> a crash.

Running without LDAP is not an option for us as the whole
network is configured from LDAP (mainly for dynamic subclass provisioning).

The issue first came up after we enabled failover for some subnets.
We try to build with debugging symbols to see what's happening.

> For comparison, on my FreeBSD 7.3-STABLE box (without LDAP), dhcpd
> is only linked with two libraries:
> % ldd /usr/local/sbin/dhcpd
> /usr/local/sbin/dhcpd:
>       libcrypto.so.5 => /lib/libcrypto.so.5 (0x28118000)
>       libc.so.7 => /lib/libc.so.7 (0x28271000)
> For me (failover config, around 120k leases) ISC DHCP 4.1.1 is rock
> stable.

We have about 100k leases. dhcpd complains sometimes at start:

/var/db/dhcpd.leases line 2391515: semicolon expected.
/var/db/dhcpd.leases line 2392364: semicolon expected.
/var/db/dhcpd.leases line 2392381: semicolon expected.

But then it continues to start and works.


More information about the dhcp-users mailing list