From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 8 18:10:12 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18C9C1065688 for ; Sun, 8 May 2011 18:10:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EF5278FC12 for ; Sun, 8 May 2011 18:10:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p48IA94Q014318 for ; Sun, 8 May 2011 18:10:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p48IA9aS014317; Sun, 8 May 2011 18:10:09 GMT (envelope-from gnats) Resent-Date: Sun, 8 May 2011 18:10:09 GMT Resent-Message-Id: <201105081810.p48IA9aS014317@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Poul-Henning Kamp Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F41D6106566B for ; Sun, 8 May 2011 18:02:02 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 7FA0B8FC15 for ; Sun, 8 May 2011 18:02:01 +0000 (UTC) Received: from critter.freebsd.dk (critter-phk.freebsd.dk [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id BE79B5DF8 for ; Sun, 8 May 2011 17:46:59 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.4/8.14.4) with ESMTP id p48HkvwA035239 for ; Sun, 8 May 2011 17:46:57 GMT (envelope-from phk@critter.freebsd.dk) Received: (from phk@localhost) by critter.freebsd.dk (8.14.4/8.14.4/Submit) id p48HkvMr035238; Sun, 8 May 2011 17:46:57 GMT (envelope-from phk) Message-Id: <201105081746.p48HkvMr035238@critter.freebsd.dk> Date: Sun, 8 May 2011 17:46:57 GMT From: Poul-Henning Kamp To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/156889: firefox 3.6.17 eats cpu on current/x64 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Poul-Henning Kamp List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 May 2011 18:10:12 -0000 >Number: 156889 >Category: ports >Synopsis: firefox 3.6.17 eats cpu on current/x64 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun May 08 18:10:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Poul-Henning Kamp >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD critter.freebsd.dk 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r221621M: Sun May 8 08:20:17 UTC 2011 root@critter.freebsd.dk:/sys/amd64/compile/CRITTER amd64 >Description: Firefox 3.6.17 spins and eats CPU on current/x64 As far as I can tell, the trouble is a poll(2) which either is called with bad args, or returns success prematurely, causing firefox to spin on it. I have not been able to locate the offending poll in the firefox souce-code. This may be a kernel bug, but I have made this PR "ports" because I think it needs to be investigated from the firefox port. The machine does not have java installed. I have not discovered similar problems in any other program (yet) >How-To-Repeat: Install it, start it, observe system stats: | 14 users Load 2.30 2.17 1.79 May 8 17:38 | | Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER | Tot Share Tot Share Free in out in out | Act 703620 19248 4613700 22928 1677300 count | All 847408 21984 1078509k 49820 pages | Proc: Interrupts | r p d s w Csw Trp Sys Int Sof Flt 434 cow 1219 total | 2 140 3910 3985 1M 1219 200 2940 2157 zfod atkbd0 1 | ozfod acpi0 9 | 71.5%Sys 0.0%Intr 19.9%User 0.0%Nice 8.6%Idle %ozfod 80 psm0 12 | | | | | | | | | | | | daefr 12 ath0 uhci3 | ====================================>>>>>>>>>> 1165 prcfr 2 ehci1 19 | 182 dtbuf 1603 totfr 1123 hpet0 uhci | Namei Name-cache Dir-cache 141202 desvn react 2 vgapci0 | Calls hits % hits % 33259 numvn pdwak | 5200 5184 100 1 0 12625 frevn pdpgs | intrn | Disks ad4 da0 cd0 pass0 pass1 473588 wire | KB/t 16.00 0.00 0.00 0.00 0.00 396112 act | tps 7 0 0 0 0 1375344 inact | MB/s 0.11 0.00 0.00 0.00 0.00 3536 cache | %busy 0 0 0 0 0 1674152 free | 417536 buf Note 1M syscalls/sec |last pid: 35194; load averages: 1.90, 2.06, 1.80 up 0+01:57:12 17:40:57 |138 processes: 2 running, 134 sleeping, 2 zombie |CPU: 14.6% user, 0.0% nice, 42.1% system, 0.2% interrupt, 43.1% idle |Mem: 382M Active, 1341M Inact, 463M Wired, 3552K Cache, 408M Buf, 1641M Free Swap: | | PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND | 2840 phk 13 24 0 554M 355M uwait 1 107:28 100.78% firefox-b | 2688 phk 1 20 0 491M 414M select 0 0:53 0.10% Xorg | 3504 root 1 20 0 45172K 3716K select 1 0:12 0.00% ppp >Fix: >Release-Note: >Audit-Trail: >Unformatted: