From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 19 19:21:59 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CA89E9D7 for ; Tue, 19 Aug 2014 19:21:59 +0000 (UTC) Received: from mail-ie0-x242.google.com (mail-ie0-x242.google.com [IPv6:2607:f8b0:4001:c03::242]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9E0833647 for ; Tue, 19 Aug 2014 19:21:59 +0000 (UTC) Received: by mail-ie0-f194.google.com with SMTP id rl12so376425iec.5 for ; Tue, 19 Aug 2014 12:21:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=8LcAllXKG7Kp5rFJkY6hQ3LU02H8j9ggMED1lMIHyZ8=; b=Mr/MoGA17Y7VFdFUjNplg1Wa5/KptlokRJ7YAINqKTGpGabhSV+SXgr6NGba1jW1NZ yWoLlIPsRikToLbc/BvRxy6DRdHV74ZApoo8SWZzb+uyTRnSvFtnF16MA+wjN8VbtU6q dMBY4Fh0VLpSzhMlrWFBXgXv+3p0SmwLSF98x8AmSQ+PdTR8PygmpkAqkHj9qwWLZKhi 0r9xa76979rWqfSsk6oKLu4khCvk8Bwg6cSqgtHdUuOTm0LhD6U50ssGmxyCFDefBhJT FROgPT2pDnljZhJAI5RmT6ImCyfRkc0v3AyiPn7aE0fNZYzLtXdwExlZ54etSh1n5eKV /rXg== MIME-Version: 1.0 X-Received: by 10.50.50.198 with SMTP id e6mr7874183igo.1.1408476119005; Tue, 19 Aug 2014 12:21:59 -0700 (PDT) Received: by 10.64.26.130 with HTTP; Tue, 19 Aug 2014 12:21:58 -0700 (PDT) Date: Tue, 19 Aug 2014 12:21:58 -0700 Message-ID: Subject: stopped processes using cpu? From: Dieter BSD To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2014 19:21:59 -0000 8.2 on amd64 Top(1) with no arguments reports that some firefox processes are using cpu dispite being stopped (via kill -stop pid) for at least several hours. Adding -C doesn't change the numbers. Ps(1) reports the same. Interestingly, a firefox that isn't stopped is (correctly?) reported as using 0 cpu. The 100% idle should be correct, but who knows. last pid: 51932; load averages: 0.07, 0.99, 1.42 up 14+19:02:56 08:48:28 267 processes: 1 running, 138 sleeping, 128 stopped CPU: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 1665M Active, 653M Inact, 240M Wired, 95M Cache, 372M Buf, 815M Free Swap: 8965M Total, 560K Used, 8965M Free PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 44188 a 9 44 0 303M 187M STOP 113:19 13.43% firefox-bin 92986 b 11 44 0 164M 62848K STOP 0:18 5.03% firefox-bin 16507 c 11 44 0 189M 88976K STOP 0:13 0.24% firefox-bin 2265 root 1 44 0 248M 193M select 625:38 0.00% Xorg 51271 d 10 44 0 233M 128M ucond 12:12 0.00% firefox-bin