From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#22305: 24.5; permanent 100% CPU load for no apparent reason Date: Mon, 04 Jan 2016 19:16:46 +0200 Message-ID: <834met6z9d.fsf@gnu.org> References: <41538.98876.177125.22154@gargle.gargle.HOWL> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1451927848 12073 80.91.229.3 (4 Jan 2016 17:17:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Jan 2016 17:17:28 +0000 (UTC) Cc: 22305@debbugs.gnu.org To: "Roland Winkler" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 04 18:17:16 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aG8kr-0005cR-0s for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Jan 2016 18:17:13 +0100 Original-Received: from localhost ([::1]:46422 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aG8kq-000324-96 for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Jan 2016 12:17:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aG8kj-00031k-E7 for bug-gnu-emacs@gnu.org; Mon, 04 Jan 2016 12:17:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aG8kg-0004wM-7r for bug-gnu-emacs@gnu.org; Mon, 04 Jan 2016 12:17:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49573) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aG8kg-0004wI-3n for bug-gnu-emacs@gnu.org; Mon, 04 Jan 2016 12:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aG8kf-000800-UQ for bug-gnu-emacs@gnu.org; Mon, 04 Jan 2016 12:17:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Jan 2016 17:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22305 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22305-submit@debbugs.gnu.org id=B22305.145192781230731 (code B ref 22305); Mon, 04 Jan 2016 17:17:01 +0000 Original-Received: (at 22305) by debbugs.gnu.org; 4 Jan 2016 17:16:52 +0000 Original-Received: from localhost ([127.0.0.1]:37793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aG8kW-0007zb-Je for submit@debbugs.gnu.org; Mon, 04 Jan 2016 12:16:52 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:41310) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aG8kV-0007zP-Id for 22305@debbugs.gnu.org; Mon, 04 Jan 2016 12:16:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aG8kN-0004tt-90 for 22305@debbugs.gnu.org; Mon, 04 Jan 2016 12:16:46 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36917) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aG8kN-0004to-5p for 22305@debbugs.gnu.org; Mon, 04 Jan 2016 12:16:43 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3202 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aG8kM-0003Fl-DQ; Mon, 04 Jan 2016 12:16:42 -0500 In-reply-to: <41538.98876.177125.22154@gargle.gargle.HOWL> (winkler@gnu.org) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:111201 Archived-At: > Date: Mon, 4 Jan 2016 10:48:02 -0600 > From: "Roland Winkler" > > Lately emacs gives me some strange problem, where according to `top' > the CPU load due to the emacs process goes up to a permanent value > of 100% (and I notice this because the laptop fan starts spinning > loudly), whereas according to `ps' the emacs process continues to > give rise to only a marginal CPU load. While this happens, emacs > responds normally, so it appears that emacs is not trying to do > anything unusual in the background. Not necessarily. AFAIR, 'top' shows the CPU usage of each program in terms of processor execution units. IOW, 100% means Emacs is pegging a single execution unit. How many execution units (cores) do you have on that system? > What can I do to pin this down further? So far, I have not noticed > anything that triggers this behavior reproducibly and my workaround > has been to restart emacs. But that's not nice for a recurring > problem (about once per day). When this happens, attach a debugger and show us the backtrace, including the Lisp backtrace.