Re: notmuch's idea of concurrency / failing an invocation
authormicah anderson <micah@riseup.net>
Thu, 27 Jan 2011 18:40:25 +0000 (13:40 +1900)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:37:47 +0000 (09:37 -0800)
ee/2ef001eb8b2a997738a6ddac75e20d5a179985 [new file with mode: 0644]

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