From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 57C396DE1F2B for ; Mon, 3 Jul 2017 22:49:23 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.211 X-Spam-Level: X-Spam-Status: No, score=-0.211 tagged_above=-999 required=5 tests=[AWL=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.211, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vXKnKGV4bm2Y for ; Mon, 3 Jul 2017 22:49:22 -0700 (PDT) Received: from mail-wr0-f179.google.com (mail-wr0-f179.google.com [209.85.128.179]) by arlo.cworth.org (Postfix) with ESMTPS id E22866DE1E5C for ; Mon, 3 Jul 2017 22:49:21 -0700 (PDT) Received: by mail-wr0-f179.google.com with SMTP id 77so243213254wrb.1 for ; Mon, 03 Jul 2017 22:49:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=J5aaZ00FBDKKVXJzZKbm6zbSks4muVvs8a9utItuo1c=; b=dTqbCZluRbz2qAMCxM4Mt7+OW1RFgPm9jYe422kQcbVTj+LB9JCnxTFR2Zx99w3wMl F0YnnUv4XrAgmFM+oh7ljP7DIO4rXsOyygOaxtIQM/v+NoYlRyHjG/+TE/OcyqfUMGap S4gXLkoESuqmVMZgzo52rYiV2giNwvZhkbmaaXFrzws2LruAYYTAz3Eb8YOoc7PZ1s7z ibWaD9XmDUeRdtqw0Yx8l90rmcl20ogrAOYHX4RuTCl2t5ugjDnn41OiCJ+a+qwoKrz0 DqiAeQqxzCGPsRWiTczfyPBMbgQsSveYFMujUoNgVI/1UBdmG7RjYjWGKm6piBDvA8ZO Xflg== X-Gm-Message-State: AKS2vOyYTOOOXKXrjQC4Zt0vBWvz1qYKrqXqw3LN/XM/pUG5TePCk6Nj 1bAe+argckTAfs9z X-Received: by 10.223.155.141 with SMTP id d13mr36782751wrc.196.1499147358887; Mon, 03 Jul 2017 22:49:18 -0700 (PDT) Received: from dhcp131-38.brq.redhat.com (cgn-b129.netstone.cz. [213.211.43.129]) by smtp.gmail.com with ESMTPSA id j13sm30563919wra.56.2017.07.03.22.49.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Jul 2017 22:49:18 -0700 (PDT) Date: Tue, 4 Jul 2017 07:49:17 +0200 From: Jan =?utf-8?B?SHV0YcWZ?= To: David Bremner Cc: notmuch@notmuchmail.org Subject: Re: sometimes it takes long to open folder Message-ID: <20170704054916.twyfau5ollz3afrv@dhcp131-38.brq.redhat.com> References: <20170623093424.6siiaprt3fndo6sk@dhcp131-38.brq.redhat.com> <87bmpa9xrf.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87bmpa9xrf.fsf@tethera.net> User-Agent: Mutt/1.6.0.1 (2016-04-01) X-Mailman-Approved-At: Tue, 04 Jul 2017 00:09:57 -0700 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 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: Tue, 04 Jul 2017 05:49:23 -0000 On 2017-06-26 19:42 -0300, David Bremner wrote: >Jan Hutaƙ writes: > >> Hello, >> I'm using notmuch and mutt with virtual-mailboxes. Besides it is awesome >> and very flexible, sometimes when opening some folders it takes too long >> with mutt showing progress with "Reading messages..." in the bottom. It >> takes few minutes for folder with 12k emails. >> > >It would be useful to know if your notmuch new cronjob was running at >this time; notmuch itself doesn't really do any background processing. > >The other useful thing from the notmuch point of view is if you could >duplicate the slowness with the same search on the command line; that >would eliminate mutt code as the problem. > >d Hello and thank you for the hints. Finally it happened again. Looks like `notmuch new` was running around midnight, then suspend&resume and few retchmail&procmails. Anyway, on command line: $ time notmuch search tag:archive >/tmp/aaa real 0m4.840s user 0m1.709s sys 0m0.301s and with this muttrc config: virtual-mailboxes \ [...] 'ARCHIVE' 'notmuch://?query=tag:archive' \ [...] when opening that "folder", it took about a minute. Looks like this is problem with mutt then and I'll focus there. Thank you, Jan -- Jan Hutar Systems Management QA jhutar@redhat.com Red Hat, Inc.