DHCP oddity

Skylar Thompson skylar at cs.earlham.edu
Mon Dec 26 10:15:32 PST 2005


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?

-- 
-- Skylar Thompson (skylar at cs.earlham.edu)
-- http://www.cs.earlham.edu/~skylar/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20051226/790b1eb9/signature.bin


More information about the freebsd-net mailing list