Date: Tue, 27 Dec 2005 13:06:14 +0000 From: Brian Candler <B.Candler@pobox.com> To: Skylar Thompson <skylar@cs.earlham.edu> Cc: freebsd-net@freebsd.org Subject: Re: DHCP oddity Message-ID: <20051227130614.GA3148@uk.tiscali.com> In-Reply-To: <43B03332.2010904@cs.earlham.edu> References: <43B03332.2010904@cs.earlham.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 26, 2005 at 12:15:14PM -0600, Skylar Thompson wrote: > While doing some network stress-tests from a dual-CPU x86 FreeBSD 5.4 > server, I noticed that a "ping -f" drives dhcpd's CPU usage way up. I > put dhcpd into debug mode and didn't get any error messages. I then ran > dhcpd with strace, and saw loads of these messages when I started the > ping flood: > > select(8, [?], [?], [?], NULL) = 1 () > gettimeofday({...}, NULL) = 0 > recvfrom(4, 0xbfbfe090, 1500, 0, {...}, [?]) = 84 > select(8, [?], [?], [?], NULL) = 1 () > gettimeofday({...}, NULL) = 0 > recvfrom(4, 0xbfbfe090, 1500, 0, {...}, [?]) = 84 > > Does anyone know why this would happen? Were you running tcpdump or similar at the same time, such that the interface was put into promiscuous mode? Check using ifconfig that it is not (i.e. there is no PROMISC flag shown)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051227130614.GA3148>