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 3FB72431FB6 for ; Thu, 27 Jan 2011 10:40:31 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.689 X-Spam-Level: X-Spam-Status: No, score=-0.689 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7, T_MIME_NO_TEXT=0.01, UNPARSEABLE_RELAY=0.001] 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 r0tujqzIkTgK for ; Thu, 27 Jan 2011 10:40:29 -0800 (PST) Received: from mx1.riseup.net (mx1.riseup.net [204.13.164.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 94A87431FB5 for ; Thu, 27 Jan 2011 10:40:29 -0800 (PST) Received: from tern.riseup.net (tern-pn.riseup.net [10.0.1.12]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Gandi Standard SSL CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 7E5D125FA0B; Thu, 27 Jan 2011 10:40:28 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: micah@tern.riseup.net) with ESMTPSA id 9E16814C12E Received: by algae (Postfix, from userid 1000) id D800341A6B; Thu, 27 Jan 2011 13:40:25 -0500 (EST) From: micah anderson To: Thomas Schwinge , notmuch@notmuchmail.org Subject: Re: notmuch's idea of concurrency / failing an invocation In-Reply-To: <87fwsetdin.fsf@kepler.schwinge.homeip.net> References: <87fwsetdin.fsf@kepler.schwinge.homeip.net> User-Agent: Notmuch/0.3.1-93-g3ec9d24 (http://notmuchmail.org) Emacs/23.2.1 (i486-pc-linux-gnu) Date: Thu, 27 Jan 2011 13:40:25 -0500 Message-ID: <8762taxk9y.fsf@algae.riseup.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Virus-Scanned: clamav-milter 0.96.5 at mx1 X-Virus-Status: Clean 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: Thu, 27 Jan 2011 18:40:31 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Thu, 27 Jan 2011 19:20:00 +0100, Thomas Schwinge = wrote: > Stepping away from the current code base -- what is notmuch's original > idea of concurrency? That is, all of us probably know that one: >=20 > A Xapian exception occurred opening database: Unable to get write > lock on /home/thomas/Mail-schwinge.name-thomas/.notmuch/xapian: > already locked >=20 > I recently saw that one while using the Emacs UI (that one tried to > remove a unread tag or similar), and in parallel a delivery to the > notmuch DB was going on. Due to my harddisk in my laptop being slow (5400RPM), my notmuch database growing, and perhaps some fragmentation somewhere, this has become *incredibly* annoying for me. I am checking email every 30 minutes, and I'm nicing and ionicing the processes so I can use my machine, but while those processes are running, I'm effectively locked out of a good portion of my email.=20 Usually, I switch to another task until my disk light has ceased being solid, because the update time is too slow for me to wait.=20 Now that folders are making it in, the two remaining features that are driving me nuts with notmuch is this one and the verification/decryption/encryption process (replying to an encrypted message is 12 distinct steps for me, which is discouraging me from doing that at all).=20 I really don't want to complain, because I have no time to help in these areas, rather I'm interested to know if anyone has any pointers for making this less annoying, and I'm hoping that at some point I can free up time to help. Perhaps I need to dump/restore my notmuch DB? Or index less mail? micah --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCgAGBQJNQbwZAAoJEIy/mjIoYaeQ/OIP/Rl4Jmf2wh9CiGEUzwftzETQ 8vemxWCDfzjHdHbVOQaPqXXaJTWtW0E1dPVQZPGyQLK2JD+wGBu852bF98ZYqj10 ehSJERvoYeIHKeSh3Cv92XDzf1EhBfhQmOwi39Y3svzwdJ6O1GRqCocBNe16zi1I 4R1NaqXaNWRG00KuddpmRqIwGZTWHRTI1FR3WhdtuA/KpUG7XhXI0oQqnyej4ZvS noxQLTNFQPsM8GInZZNq69qjmJ5QvbI2+VturO8LNjWG9g0QE1PS+nUSbGEk/xzL NmEPvtHZpIt0K/WeYwj0jF7PX2TA8e8Le3nWRcRt7za/jIP+JaukCgvYhcTlxB9u efmVDKYMwxdYjfZX9Xww5N+BnEKKSyYuwj/T+iDvyiG/BZIP5bBEahtbcDIzJr+L sJcR2JNUQGbsL3l/ps8VhDsC3+aKBeB2wmCjwQWM6xA3i9wqiP3YBC81t+6uEL72 IZNMav/0JLPIRMAjQ8vRHrFRxjZoNwVaPUSe1w5inNaT2WK3BoOS11yoAQe49VCD zqQBFmHOtG2T+eDSWJPRWqSMJPg9o0RbW8FHfruO2M9V1oeozzEL99hFm/hvOf67 JylI4cp0FtTVj3znMsb5/8NuAVujjJc9KaXHUtcE8ZbTIzAe+mBKgCqvVBLklFsC sw04k4LFbqlS3DqWyNuc =BAcU -----END PGP SIGNATURE----- --=-=-=--