Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 2c / a2c6f3923c87c5a21fae91c3ff16ffb83b5042
1 Return-Path: <sojkam1@fel.cvut.cz>\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 3CBD8431FB6\r
6         for <notmuch@notmuchmail.org>; Fri, 28 Jan 2011 02:18:52 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id xX2jyeJYkMdb for <notmuch@notmuchmail.org>;\r
16         Fri, 28 Jan 2011 02:18:50 -0800 (PST)\r
17 Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])\r
18         by olra.theworths.org (Postfix) with ESMTP id 1B397431FB5\r
19         for <notmuch@notmuchmail.org>; Fri, 28 Jan 2011 02:18:50 -0800 (PST)\r
20 Received: from localhost (unknown [192.168.200.4])\r
21         by max.feld.cvut.cz (Postfix) with ESMTP id 1253119F3316;\r
22         Fri, 28 Jan 2011 11:18:49 +0100 (CET)\r
23 X-Virus-Scanned: IMAP AMAVIS\r
24 Received: from max.feld.cvut.cz ([192.168.200.1])\r
25         by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,\r
26         port 10044)\r
27         with ESMTP id OAh27e6I705U; Fri, 28 Jan 2011 11:18:47 +0100 (CET)\r
28 Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])\r
29         by max.feld.cvut.cz (Postfix) with ESMTP id 7D14519F3305;\r
30         Fri, 28 Jan 2011 11:18:47 +0100 (CET)\r
31 Received: from steelpick.2x.cz (note-sojka.felk.cvut.cz [147.32.86.30])\r
32         (Authenticated sender: sojkam1)\r
33         by imap.feld.cvut.cz (Postfix) with ESMTPSA id 4C6A915C031;\r
34         Fri, 28 Jan 2011 11:18:47 +0100 (CET)\r
35 Received: from wsh by steelpick.2x.cz with local (Exim 4.72)\r
36         (envelope-from <sojkam1@fel.cvut.cz>)\r
37         id 1PilPj-0003Hh-09; Fri, 28 Jan 2011 11:18:47 +0100\r
38 From: Michal Sojka <sojkam1@fel.cvut.cz>\r
39 To: notmuch@notmuchmail.org\r
40 Subject: Xapian locking errors with custom query parser\r
41 User-Agent: Notmuch/0.5-87-g9705d00 (http://notmuchmail.org) Emacs/23.2.1\r
42         (x86_64-pc-linux-gnu)\r
43 Date: Fri, 28 Jan 2011 11:18:46 +0100\r
44 Message-ID: <87d3nhe3g9.fsf@steelpick.2x.cz>\r
45 MIME-Version: 1.0\r
46 Content-Type: text/plain; charset=us-ascii\r
47 Cc: Austin Clements <amdragon@mit.edu>\r
48 X-BeenThere: notmuch@notmuchmail.org\r
49 X-Mailman-Version: 2.1.13\r
50 Precedence: list\r
51 List-Id: "Use and development of the notmuch mail system."\r
52         <notmuch.notmuchmail.org>\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
56 List-Post: <mailto:notmuch@notmuchmail.org>\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
59         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
60 X-List-Received-Date: Fri, 28 Jan 2011 10:18:52 -0000\r
61 \r
62 Hi Austin,\r
63 \r
64 when I switched to using your custom query parser I started experiencing\r
65 "Unable to get write lock" errors when I run my initial tagging script.\r
66 I thought that this was because I run the script while processing the\r
67 mail in Emacs, but today I realized that this happens even without Emacs\r
68 and that it can be reproduced by a simple command below.\r
69 \r
70 i=0; while notmuch tag +xxx tag:whatever; do i=$((i+1)); echo $i; done\r
71 \r
72 It seems that sometimes the unlocking of the Xapian database happens\r
73 somewhat lazily and when the subsequent command starts I get:\r
74 \r
75 A Xapian exception occurred opening database: Unable to get write lock on /home/wsh/mail/.notmuch/xapian: already locked\r
76 \r
77 This happens almost regularly after a few iterations of the loop even if\r
78 the query doesn't match anything. \r
79 \r
80 Do you have an idea what may cause this?\r
81 \r
82 Can you reproduce this on your system?\r
83 \r
84 The version I use can be obtained from\r
85 \r
86   git://rtime.felk.cvut.cz/notmuch.git custom-query-pasrser\r
87 \r
88 Thanks\r
89 -Michal\r