From nobody@FreeBSD.ORG Wed Sep 13 07:48:50 2000 Return-Path: Received: by hub.freebsd.org (Postfix, from userid 32767) id 9C28E37B424; Wed, 13 Sep 2000 07:48:50 -0700 (PDT) Message-Id: <20000913144850.9C28E37B424@hub.freebsd.org> Date: Wed, 13 Sep 2000 07:48:50 -0700 (PDT) From: djhill@novagate.net Sender: nobody@FreeBSD.ORG To: freebsd-gnats-submit@FreeBSD.org Subject: dhclient opens too many files X-Send-Pr-Version: www-1.0 >Number: 21252 >Category: misc >Synopsis: dhclient opens too many files >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 13 07:50:01 PDT 2000 >Closed-Date: Thu May 31 19:04:25 PDT 2001 >Last-Modified: Thu May 31 19:05:12 PDT 2001 >Originator: David Hill >Release: 4.1-STABLE >Organization: >Environment: FreeBSD phobia.hill.hom 4.1-STABLE FreeBSD 4.1-STABLE #8: Tue Sep 12 11:37:19 EST 2000 david@phobia.hill.hom:/usr/src/sys/compile/PHOBIA i386 >Description: 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. >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. >Fix: unsure. I would guess a possible loop somewhere. >Release-Note: >Audit-Trail: State-Changed-From-To: open->closed State-Changed-By: dd State-Changed-When: Thu May 31 19:04:25 PDT 2001 State-Changed-Why: 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. http://www.FreeBSD.org/cgi/query-pr.cgi?pr=21252 >Unformatted: