From owner-freebsd-current@freebsd.org Tue Dec 20 23:51:06 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F4221C8A16A for ; Tue, 20 Dec 2016 23:51:05 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D73FC6E7 for ; Tue, 20 Dec 2016 23:51:05 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id uBKNp16Y087686 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 20 Dec 2016 15:51:01 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id uBKNp067087685; Tue, 20 Dec 2016 15:51:00 -0800 (PST) (envelope-from sgk) Date: Tue, 20 Dec 2016 15:51:00 -0800 From: Steve Kargl To: Eric Badger Cc: freebsd-current@freebsd.org Subject: Re: unkillable firefox Message-ID: <20161220235100.GA51999@troutmask.apl.washington.edu> Reply-To: kargl@uw.edu References: <20161220212920.GA69662@troutmask.apl.washington.edu> <989b8638-e440-258a-5e61-bd1f2a177ef5@badgerio.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <989b8638-e440-258a-5e61-bd1f2a177ef5@badgerio.us> User-Agent: Mutt/1.7.2 (2016-11-26) X-Mailman-Approved-At: Tue, 20 Dec 2016 23:59:47 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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, 20 Dec 2016 23:51:06 -0000 On Tue, Dec 20, 2016 at 05:28:09PM -0600, Eric Badger wrote: > On 12/20/2016 15:29, Steve Kargl wrote: > > Anyone know how to kill firefox? > > > > > > PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND > > 63902 kargl 40 0 3157M 2302M STOP 1 10:50 0.00% firefox{firefox} > > 63902 kargl -16 0 3157M 2302M STOP 2 5:46 0.00% firefox{Composit > > 16874 kargl 40 0 740M 330M STOP 1 0:07 0.00% firefox{firefox} > > 16874 kargl -16 0 740M 330M STOP 1 0:00 0.00% firefox{Composit > > > > It seems that firefox is wedged in the thread firefox{Compositor}, > > and slowly eating up memory. This is on an amd64 system at > > r310125 and latest firefox from ports. procstat suggests that its > > stuck in a vm sleep queue. > > > > % procstat -k 63902 > > PID TID COMM TDNAME KSTACK > > 63902 100504 firefox - mi_switch thread_suspend_switch > > thread_single exit1 sigexit postsig ast > > Xfast_syscall > > 63902 101494 firefox Compositor mi_switch sleepq_wait _sleep > > vm_page_busy_sleep vm_page_sleep_if_busy > > vm_fault_hold vm_fault trap_pfault trap > > calltrap > > > > Do you have output of procstat -k for all threads? I'd guess one thread > is busy dumping core. > Those are the only threads. 'killall firefox' reaped all the other threads. I've tried attaching lldb and gdb712 to the process, but neither made it to a prompt. I would switch to www/chromium, but she appears to be broken, now. -- Steve