I've been having a same sort of issue that others have reported. After dhclient has been running for a random length of time, it suddenly starts consuming a large amount of CPU. Unfortunately for me, the longest it tends to run is 48 hours before acting up.

I did get it rebuilt with debug symbols, and got a stack trace from it, while it was acting up. Hopefully, it will be useful.

Attaching to program: /sbin/dhclient, process 2248
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
0x08051a0d in receive_packet (interface=0x8071000,
buf=0xbfbfdc20 "\002\001\006", len=4096, from=0xbfbfec70, hfrom=0xbfbfec50)
    at /usr/src/sbin/dhclient/bpf.c:308
308 memcpy(&hdr, &interface->rbuf[interface->rbuf_offset],
(gdb) bt
#0  0x08051a0d in receive_packet (interface=0x8071000,
buf=0xbfbfdc20 "\002\001\006", len=4096, from=0xbfbfec70, hfrom=0xbfbfec50)
    at /usr/src/sbin/dhclient/bpf.c:308
#1  0x08050dc1 in got_one (l=0x80741b0)
    at /usr/src/sbin/dhclient/dispatch.c:256
#2  0x08050d58 in dispatch () at /usr/src/sbin/dhclient/dispatch.c:228
#3  0x0804a0d0 in main (argc=1, argv=0xbfbfed3c)
    at /usr/src/sbin/dhclient/dhclient.c:429

BTW: For reference I'm running 6.0-RELEASE-p4.

Thanks,
John
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to