The lockfile name checking logic was the wrong way round and didn't account for lucene -commit.lock files. Index: beagled/LuceneCommon.cs =================================================================== RCS file: /cvs/gnome/beagle/beagled/LuceneCommon.cs,v retrieving revision 1.17 diff -u -B -p -r1.17 LuceneCommon.cs --- beagled/LuceneCommon.cs 3 Nov 2005 19:17:29 -0000 1.17 +++ beagled/LuceneCommon.cs 5 Nov 2005 22:09:57 -0000 @@ -153,7 +153,7 @@ namespace Beagle.Daemon { private bool IsDanglingLock (FileInfo info) { // It isn't even a lock file - if (info.Name.IndexOf ("write.lock") != -1) + if (! info.Name.EndsWith (".lock")) return false; StreamReader reader;