1 Return-Path: <dmishd@gmail.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 57A23431FBD
\r
6 for <notmuch@notmuchmail.org>; Tue, 4 Feb 2014 10:04:33 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001,
\r
13 RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id ebrKOctANQZ0 for <notmuch@notmuchmail.org>;
\r
17 Tue, 4 Feb 2014 10:04:27 -0800 (PST)
\r
18 Received: from mail-qa0-f51.google.com (mail-qa0-f51.google.com
\r
19 [209.85.216.51]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id 0C0CB431FBC
\r
22 for <notmuch@notmuchmail.org>; Tue, 4 Feb 2014 10:04:27 -0800 (PST)
\r
23 Received: by mail-qa0-f51.google.com with SMTP id f11so12715014qae.24
\r
24 for <notmuch@notmuchmail.org>; Tue, 04 Feb 2014 10:04:25 -0800 (PST)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
\r
26 h=mime-version:sender:in-reply-to:references:from:date:message-id
\r
27 :subject:to:cc:content-type;
\r
28 bh=IXen1FRWAMAMb8KouLrxuoeDjwU/7bWF5D6FJmnDGZ4=;
\r
29 b=P0tfRP7M7fKdFJTrwPUZn10iPzXwYflafDemm5g9GytFasRY64jJbcPXG/SQMncihJ
\r
30 2Wu/K9QK9+BE+aMLtXftnHoHarDDuhvkel/JzzTGuwWy534pr/64S6E0uqk1uNw0dy/w
\r
31 CzqMECLO5vs4ohgq3QXUu2EvKXolOIDapSq6DsVPOdKfEFLzZvui4HdGZy0p0N9Dzapt
\r
32 iqFzSEEM2ooDt+Zdus2x0J3AFqjrCIRewAOeClVEmFFPT7zHMAmFIeIAFKvoT/vdK1nC
\r
33 xGNZNHTeT4C1nU30cU154I22axFHv030gaKPLHOenmGzddSabC9rAv/KmPNDeOjP1zPj
\r
35 X-Received: by 10.140.37.146 with SMTP id r18mr64619747qgr.61.1391537065313;
\r
36 Tue, 04 Feb 2014 10:04:25 -0800 (PST)
\r
38 Sender: dmishd@gmail.com
\r
39 Received: by 10.140.49.83 with HTTP; Tue, 4 Feb 2014 10:03:45 -0800 (PST)
\r
40 In-Reply-To: <87r47jcmj6.fsf@nikula.org>
\r
42 <CAOxvSbfWu3M=M1PyFrZcUhszjW0rpb0wYOiia+3sSSd9AGqD4w@mail.gmail.com>
\r
43 <87r47jcmj6.fsf@nikula.org>
\r
44 From: Hamish Downer <hamish@foobacca.co.uk>
\r
45 Date: Tue, 4 Feb 2014 18:03:45 +0000
\r
46 X-Google-Sender-Auth: 9F-3oe94imF0wQfJA067Yr45Vv4
\r
48 <CAOxvSbcii-0YDs3+Q0=oJ6gMrbd5E59-FraPDJjvdaL3u2OCqw@mail.gmail.com>
\r
49 Subject: Re: notmuch killed due to out of memory - how to move forward
\r
50 To: Jani Nikula <jani@nikula.org>
\r
51 Content-Type: text/plain; charset=UTF-8
\r
52 Cc: notmuch@notmuchmail.org
\r
53 X-BeenThere: notmuch@notmuchmail.org
\r
54 X-Mailman-Version: 2.1.13
\r
56 List-Id: "Use and development of the notmuch mail system."
\r
57 <notmuch.notmuchmail.org>
\r
58 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
59 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
60 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
61 List-Post: <mailto:notmuch@notmuchmail.org>
\r
62 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
63 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
64 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
65 X-List-Received-Date: Tue, 04 Feb 2014 18:04:33 -0000
\r
67 On 4 February 2014 08:25, Jani Nikula <jani@nikula.org> wrote:
\r
68 > On Mon, 03 Feb 2014, Hamish Downer <hamish@foobacca.co.uk> wrote:
\r
69 >> I recently deleted almost 30000 old messages from my maildirs, and
\r
70 >> since I did that, notmuch new has not managed to complete. I have it
\r
71 >> running on a server with 1 GB of RAM, and the output is telling me
\r
73 >> Cleaned up 25515 of 29803 messages (1m 10s remaining).
\r
75 >> at the point it is killed. I have followed it up to this point with
\r
76 >> top and free and I can see memory usage growing to something like
\r
77 >> 700MB (RES) at which point the process is killed.
\r
79 > Please try SIGINT, or ^C, on notmuch new before it gets killed. That
\r
80 > should be handled gracefully, making progress, and letting you chop up
\r
81 > and eventually finish the operation. Please let us know if this helps.
\r
83 That did it, thank you. Good to know Ctrl-C is gracefully handled.
\r
85 > Needless to say, we shouldn't use that much memory just to delete files
\r
88 I have saved a copy of the index from before I fixed the problem. I am
\r
89 happy to re-run it with a rebuilt notmuch if that would be useful from the
\r
90 point of view of uncovering bugs.
\r
92 Otherwise I'll carry on as a happy notmuch user
\r