Date: Tue, 26 Jul 2005 22:10:19 -0700 From: Pascal Hofstee <caelian@gmail.com> To: Mike Jakubik <mikej@rogers.com> Cc: freebsd-current@freebsd.org Subject: Re: dhclient taking all cpu Message-ID: <1122441019.33792.7.camel@synergy.charterpipeline.net.lan> In-Reply-To: <4901.172.16.0.199.1122345549.squirrel@172.16.0.1> References: <42E58007.9030202@rogers.com> <20050726004246.GA20597@odin.ac.hmc.edu> <42E595C3.2070003@rogers.com> <20050726015428.GF20597@odin.ac.hmc.edu> <4901.172.16.0.199.1122345549.squirrel@172.16.0.1>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2005-07-25 at 22:39 -0400, Mike Jakubik wrote: > It seems to be back at it again, this time it took longer to kick in. Here > is a "ps auxw|grep dhclient" : > > _dhcp 219 93.5 0.2 1484 1136 ?? Rs 8:49PM 5:06.00 dhclient: > xl0 (dhclient) > root 193 0.0 0.2 1484 1088 d0- S 8:49PM 0:00.02 dhclient: > xl0 [priv] (dhclient) Hi .. this looks exactly like the scenario i tried on my 7.0-CURRENT adm64. i manually killed any running dhclient processes, then manually started a dhclient process as root. There was no out of the ordinary output there .. but after a couple of minutes i noticed a Second dhclient process eating 64+% CPU again in top ... this second dhclient process very likely got somehow started by devd, and since my own root-started dhclient process was still running, for some reason ate 64 +% CPU. The second i killed my own manually root-started dhclient .. the devcd started dhclient dropped its CPU usage .. and hasn't been noticeable since .. for several hours at least. I still don't get Why devd insists on starting a second dhclient process a few minutes after initial launch .. but as far as i can tell that Is what's happening. Terminating the first dhclient process cancels the cpu-hogging of the second process and seems to act 'stable' from that point on. I hope somebody with a better understanding of the code at hand, may benefit from this information. -- Pascal Hofstee
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1122441019.33792.7.camel>