Bug 21252

Summary: dhclient opens too many files
Product: Base System Reporter: djhill <djhill>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1-STABLE   
Hardware: Any   
OS: Any   

Description djhill 2000-09-13 15:50:01 UTC
My cable went out with out my knowing. And without knowing, I tried `killall -9 dhclient ; /sbin/dhclient dc1` to try and re-request my IP.  Sometimes, its gives dc1 192.168.1.100, but other times it just hangs.  If I control-C it, any command I execute after fails.  For example, w,kill,top,ps, etc couldn't find some libraries.  dhclient-script kept printing errors about too many files open.  Rebooting fixes it.

Fix: 

unsure.  I would guess a possible loop somewhere.
How-To-Repeat: Do a `killall -9 dhclient ; /sbin/dhclient dc1` while your cable is out.
This is only when you cable (cable tv as well) is not working.
Comment 1 dd freebsd_committer freebsd_triage 2001-06-01 03:04:25 UTC
State Changed
From-To: open->closed

I can't reproduce this, and "hangs" and "fails" are not helpful.  Furthermore, 
you shouldn't be using "killall -9"; send it SIGTERM instead, which will 
allow it to clean up properly.