From owner-freebsd-gecko@FreeBSD.ORG Thu Sep 1 12:15:44 2011 Return-Path: Delivered-To: gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21680106566C; Thu, 1 Sep 2011 12:15:44 +0000 (UTC) (envelope-from amarat@ksu.ru) Received: from webmail.hitv.ru (mail.hitv.ru [217.66.16.37]) by mx1.freebsd.org (Postfix) with ESMTP id 558B28FC12; Thu, 1 Sep 2011 12:15:43 +0000 (UTC) Received: from webmail.hitv.ru (localhost [127.0.0.1]) by webmail.hitv.ru (Postfix) with ESMTP id 62F524ACB93; Thu, 1 Sep 2011 15:58:55 +0400 (MSD) Received: from zealot.ksu.ru (zealot.hitv.ru [83.151.8.230]) by webmail.hitv.ru (Postfix) with ESMTP id 1F0F34AC4B4; Thu, 1 Sep 2011 15:58:55 +0400 (MSD) Received: from zealot.ksu.ru (localhost.lnet [127.0.0.1]) by zealot.ksu.ru (8.14.4/8.14.4) with ESMTP id p81Bwt0W043900; Thu, 1 Sep 2011 15:58:56 +0400 (MSD) (envelope-from amarat@ksu.ru) Message-ID: <4E5F737F.1070703@ksu.ru> Date: Thu, 01 Sep 2011 15:58:55 +0400 From: "Marat N.Afanasyev" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:6.0) Gecko/20110818 Firefox/6.0 SeaMonkey/2.3 MIME-Version: 1.0 To: Andriy Gapon References: <4E5F6753.3070402@FreeBSD.org> In-Reply-To: <4E5F6753.3070402@FreeBSD.org> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms050400090008090208070909" X-Virus-Scanned: ClamAV using ClamSMTP X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: gecko@freebsd.org Subject: Re: firefox-6.0_1 spinning on a cpu X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Sep 2011 12:15:44 -0000 This is a cryptographically signed message in MIME format. --------------ms050400090008090208070909 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: quoted-printable Andriy Gapon wrote: > > I observe the following problem - sometimes a firefox processes starts = consuming a > lot of CPU for no apparent reason. > ktrace shows that it does the following: > 9332 179912 firefox-bin 0.000007 CALL poll(0x7fffff5fabc0,0x3,0x3e7= fc18) > 9332 179912 firefox-bin 0.000008 RET poll 2 > 9332 179912 firefox-bin 0.000007 CALL gettimeofday(0x7fffff5fadf0,0= ) > 9332 179912 firefox-bin 0.000007 RET gettimeofday 0 > 9332 179912 firefox-bin 0.000009 CALL gettimeofday(0x7fffff5fadf0,0= ) > 9332 179912 firefox-bin 0.000018 RET gettimeofday 0 > 9332 179912 firefox-bin 0.000009 CALL > getpeername(0x42,0x7fffff5faa90,0x7fffff5faa4c) > 9332 179912 firefox-bin 0.000008 RET getpeername -1 errno 57 Socke= t is not > connected > 9332 179912 firefox-bin 0.000008 CALL > getpeername(0x43,0x7fffff5faa90,0x7fffff5faa4c) > 9332 179912 firefox-bin 0.000008 RET getpeername -1 errno 57 Socke= t is not > connected > 9332 179912 firefox-bin 0.000007 CALL gettimeofday(0x7fffff5fab60,0= ) > 9332 179912 firefox-bin 0.000008 RET gettimeofday 0 > 9332 179912 firefox-bin 0.000018 CALL poll(0x7fffff5fabc0,0x3,0x3e7= fc18) > 9332 179912 firefox-bin 0.000009 RET poll 2 > 9332 179912 firefox-bin 0.000007 CALL gettimeofday(0x7fffff5fadf0,0= ) > 9332 179912 firefox-bin 0.000008 RET gettimeofday 0 > 9332 179912 firefox-bin 0.000009 CALL gettimeofday(0x7fffff5fadf0,0= ) > 9332 179912 firefox-bin 0.000007 RET gettimeofday 0 > 9332 179912 firefox-bin 0.000008 CALL > getpeername(0x42,0x7fffff5faa90,0x7fffff5faa4c) > 9332 179912 firefox-bin 0.000014 RET getpeername -1 errno 57 Socke= t is not > connected > 9332 179912 firefox-bin 0.000008 CALL > getpeername(0x43,0x7fffff5faa90,0x7fffff5faa4c) > 9332 179912 firefox-bin 0.000007 RET getpeername -1 errno 57 Socke= t is not > connected > 9332 179912 firefox-bin 0.000008 CALL gettimeofday(0x7fffff5fab60,0= ) > 9332 179912 firefox-bin 0.000007 RET gettimeofday 0 > 9332 179912 firefox-bin 0.000007 CALL poll(0x7fffff5fabc0,0x3,0x3e7= fc18) > > and so on. > The two sockets in question (66 and 67) appear as follows in sockstat o= utput: > avg firefox-bi 9332 66 tcp4 92.249.64.71:44862 63.245.217.11= 4:443 > avg firefox-bi 9332 67 tcp4 92.249.64.71:34232 63.245.217.11= 4:443 > Where: > $ host 63.245.217.114 > 114.217.245.63.in-addr.arpa domain name pointer > addons-versioncheck.zlb.phx.mozilla.net. > > So apparently this has something to do with automatic version check for= addons. > > I am not sure if this is a general "cross-platform" bug or if it is spe= cific to > FreeBSD in some way. E.g. maybe the error code is unexpected or what p= oll(2) > returns is different from e.g. Linux. > > Maybe this is already fixed in 6.0.1? > > Anyone gets the same? Anybody has an idea how to fix? > Thank you! I have a seamonkey with the same symptoms, from time to time it eats=20 several cores of my CPU. --=20 SY, Marat --------------ms050400090008090208070909--