From owner-freebsd-current@freebsd.org Tue Dec 20 23:31:58 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 B9B4EC89B19 for ; Tue, 20 Dec 2016 23:31:58 +0000 (UTC) (envelope-from eric@badgerio.us) Received: from sasl.smtp.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 94D641AEB for ; Tue, 20 Dec 2016 23:31:58 +0000 (UTC) (envelope-from eric@badgerio.us) Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 0FC8B56A77; Tue, 20 Dec 2016 18:28:11 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=subject:to :references:cc:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; s=sasl; bh=Pns+JjeevJZS qMvxK/GqZC7022o=; b=QBs2RcSN6oL+VY9mA79+0oX0q725OqjbCeqUwriTK5xh oTnyQfVrUYM7bCzvuzyoL/9JU3RFfexirBaDdeqoA3hYOQF5koSh0rrkQH9+lMSI ewGtRznA+g3oGW9CVF02dNfKzpUwUY+P5qIcByLXFrgAQdMytr19oRR1sA3Owb4= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 0736156A6B; Tue, 20 Dec 2016 18:28:11 -0500 (EST) Received: from [100.90.162.23] (unknown [76.164.8.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 69C5456A69; Tue, 20 Dec 2016 18:28:10 -0500 (EST) Subject: Re: unkillable firefox To: freebsd-current@freebsd.org References: <20161220212920.GA69662@troutmask.apl.washington.edu> Cc: sgk@troutmask.apl.washington.edu From: Eric Badger Message-ID: <989b8638-e440-258a-5e61-bd1f2a177ef5@badgerio.us> Date: Tue, 20 Dec 2016 17:28:09 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20161220212920.GA69662@troutmask.apl.washington.edu> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Pobox-Relay-ID: F8441D68-C70B-11E6-BCFE-E98412518317-46178211!pb-smtp1.pobox.com 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:31:58 -0000 On 12/20/2016 15:29, Steve Kargl wrote: > Anyone know how to kill firefox? > > last pid: 69652; load averages: 0.49, 0.27, 0.24 up 1+02:40:06 13:16:02 > 126 processes: 1 running, 121 sleeping, 4 stopped > CPU: 0.8% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > Mem: 2049M Active, 3739M Inact, 496M Laundry, 1365M Wired, 783M Buf, 239M Free > Swap: 16G Total, 1772K Used, 16G Free > > 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. Eric