From f7caaa0dabe745797e00b9600f99c279a98de3ab Mon Sep 17 00:00:00 2001 From: David Bremner Date: Wed, 12 Jun 2013 10:31:36 +0900 Subject: [PATCH] notmuch zombie apocolypse --- 9d/89448ec9797a1991f9f6daad4f1376d668a4e2 | 80 +++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 9d/89448ec9797a1991f9f6daad4f1376d668a4e2 diff --git a/9d/89448ec9797a1991f9f6daad4f1376d668a4e2 b/9d/89448ec9797a1991f9f6daad4f1376d668a4e2 new file mode 100644 index 000000000..b126fc84e --- /dev/null +++ b/9d/89448ec9797a1991f9f6daad4f1376d668a4e2 @@ -0,0 +1,80 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 8D38F431FC2 + for ; Tue, 11 Jun 2013 18:31:52 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 1.274 +X-Spam-Level: * +X-Spam-Status: No, score=1.274 tagged_above=-999 required=5 + tests=[RDNS_NONE=1.274] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id l-KcRxdAoqS2 for ; + Tue, 11 Jun 2013 18:31:46 -0700 (PDT) +Received: from yantan.tethera.net (unknown [199.188.72.155]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 6E41C431FBC + for ; Tue, 11 Jun 2013 18:31:46 -0700 (PDT) +Received: from remotemail by yantan.tethera.net with local (Exim 4.80) + (envelope-from ) + id 1UmZuX-0000oD-UP; Tue, 11 Jun 2013 22:31:41 -0300 +Received: (nullmailer pid 5799 invoked by uid 1000); Wed, 12 Jun 2013 + 01:31:36 -0000 +From: David Bremner +To: notmuch +Subject: notmuch zombie apocolypse +User-Agent: Notmuch/0.15.2+137~ga13b388 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-pc-linux-gnu) +Date: Wed, 12 Jun 2013 10:31:36 +0900 +Message-ID: <87txl4glmv.fsf@maritornes.cs.unb.ca> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Wed, 12 Jun 2013 01:31:52 -0000 + + +Hi All; + +I've noticed some strange behaviour with zombie processes and +notmuch-emacs. + +* 0.15.2 +- start large search, quit (with q) +- zombie is created +- repeat as many times as you like. +- first search to complete, all zombies are gone. +- CPU is not pegged. + +* 0.15.2+174 + - even searches that complete create zombies + - cpu usage of emacs process hits 100% + +Defining the former as "good" and the latter as "bad", +bisect reveals 08fde50bf3a4c5 as the first "bad" commit. + +I am running emacs 24.3.1 on Debian jessie, with linux kernel 3.9.5-1 +from unstable. + +The bug is pretty annoying since it runs down the battery on my +laptop. In a quick test on another machine running Debian wheezy but +still emacs 24.3.1, I don't see any zombies created at all. I'm not sure +what the imprtant variable is, libc, glib, kernel... + +d + + -- 2.26.2