From owner-freebsd-current@FreeBSD.ORG Tue Jul 26 01:54:29 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6166616A41F for ; Tue, 26 Jul 2005 01:54:29 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F6B543D45 for ; Tue, 26 Jul 2005 01:54:29 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j6Q1sSkx029911; Mon, 25 Jul 2005 18:54:28 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j6Q1sSdn029910; Mon, 25 Jul 2005 18:54:28 -0700 Date: Mon, 25 Jul 2005 18:54:28 -0700 From: Brooks Davis To: Mike Jakubik Message-ID: <20050726015428.GF20597@odin.ac.hmc.edu> References: <42E58007.9030202@rogers.com> <20050726004246.GA20597@odin.ac.hmc.edu> <42E595C3.2070003@rogers.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2FkSFaIQeDFoAt0B" Content-Disposition: inline In-Reply-To: <42E595C3.2070003@rogers.com> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: freebsd-current@freebsd.org Subject: Re: dhclient taking all cpu X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jul 2005 01:54:29 -0000 --2FkSFaIQeDFoAt0B Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 25, 2005 at 09:45:39PM -0400, Mike Jakubik wrote: > Brooks Davis wrote: >=20 > >On Mon, Jul 25, 2005 at 08:12:55PM -0400, Mike Jakubik wrote: > >=20 > > > >>Why is dhclient taking over 80% of CPU, constantly? > >> > >> PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMM= AND > >> 216 _dhcp 1 132 0 1448K 956K RUN 17.5H 83.30% > >>dhclient > >> > >>FreeBSD 7.0-CURRENT #0: Mon Jul 25 00:23:30 EDT 2005 > >> =20 > >> > > > >Probably something wrong with your interface, but you havent't provided > >any useful information so who knows. At the very least, I need to know > >what interface you are running on, something about it's status, and if > >both dhclient processes are running. > >=20 > The interface is xl0 (3Com 3c905C-TX Fast Etherlink XL), and it worked=20 > in this machine fine for as long as i remember. This seems to have=20 > happened since a recent cvsup and buildworld from ~6-BETA to 7-CURRENT.= =20 > I rebooted three times, and the problem occured rougly a minute after=20 > bootup. On the fourth time however, it seems to be ok so far. That sounds like a problem with the code that handles the link state notifications in the interface driver. The notifications are a reletivly new feature that we're only now starting to use heavily so there are going to be bumps in the road. It would be intresting to know if you see link state messages promptly if you plug and unplug the network cable. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --2FkSFaIQeDFoAt0B Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFC5ZfTXY6L6fI4GtQRAmlbAKDbiMmN57EtCytIXQBnM76P+u0GqACeNh7s 4dE1B0O157bX7Zq6kblmlJs= =H85z -----END PGP SIGNATURE----- --2FkSFaIQeDFoAt0B--