Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Feb 2006 22:05:44 -0800
From:      "John T. Yocum" <jtyocum@charter.net>
To:        freebsd-stable@freebsd.org
Subject:   dhclient wedged
Message-ID:  <43E2F2B8.5040205@charter.net>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43E2F2B8.5040205>