Re: dangling locks and Purging Index problem



This might be further pertinent information - snippets of log from IndexHelper and Beagle at the same time:

IndexHelper log:
05-06-05 19.30.05.02 28802 IndexH DEBUG: worker added: name=HandleConnection (441) refcount=1 05-06-05 19.30.05.04 28802 IndexH DEBUG: Found dangling locks in /home/afaiq/.beagle/FileSystemIndex/Locks 05-06-05 19.30.05.04 28802 IndexH DEBUG: Purging /home/afaiq/.beagle/FileSystemIndex
05-06-05 19.30.05.10 28802 IndexH DEBUG: Flushing...
05-06-05 19.30.05.11 28802 IndexH DEBUG: - uid:0WUMGv2WnkmkIoLgGB3+7Q
05-06-05 19.30.05.11 28802 IndexH DEBUG: - uid:ixr5_ewk+E23yxWtDemdlg
05-06-05 19.30.05.11 28802 IndexH DEBUG: - uid:s1qcHSMtrkSBzgFYiPV2jw
05-06-05 19.30.05.11 28802 IndexH DEBUG: - uid:7PGQw_JpJ066XVeLCvVzSA
05-06-05 19.30.05.11 28802 IndexH DEBUG: - uid:B6WRg7SdmE2SIEDO6O0g3w
05-06-05 19.30.05.11 28802 IndexH DEBUG: - uid:I8L6QQfHOUyYa+cFIJaK7A

Beagle log:

05-06-05 19.30.05.11 27865 Beagle WARN: Caught exception calling DoQuery on 'Files' 05-06-05 19.30.05.33 27865 Beagle WARN: System.IO.FileNotFoundException: Could not find file "/home/afaiq/.beagle/FileSystemIndex/Index/_6sy.fnm". : /home/afaiq/.beagle/FileSystemIndex/Index/_6sy.fnm in [0x001d4] (at /tmp/scratch/BUILD/mono-1.1.7/mcs/class/corlib/System.IO/FileStream.cs:193) System.IO.FileStream:.ctor (System.String name, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean isAsync, Boolean anonymous) in [0x0000d] (at /tmp/scratch/BUILD/mono-1.1.7/mcs/class/corlib/System.IO/FileStream.cs:116) System.IO.FileStream:.ctor (System.String name, FileMode mode, FileAccess access, FileShare share) in (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare) in <0x00038> Lucene.Net.Store.FSInputStream+Descriptor:.ctor (Lucene.Net.Store.FSInputStream enclosingInstance, System.IO.FileInfo file, FileAccess fileAccess)
in <0x0002f> Lucene.Net.Store.FSInputStream:.ctor (System.IO.FileInfo path)
in <0x00051> Lucene.Net.Store.FSDirectory:OpenFile (System.String name)
in <0x00065> Lucene.Net.Index.FieldInfos:.ctor (Lucene.Net.Store.Directory d, System.String name) in <0x000d4> Lucene.Net.Index.SegmentReader:Initialize (Lucene.Net.Index.SegmentInfo si) in <0x00054> Lucene.Net.Index.SegmentReader:.ctor (Lucene.Net.Index.SegmentInfo si)
in <0x000df> Lucene.Net.Index.IndexReader+AnonymousClassWith:DoBody ()
in <0x00034> Lucene.Net.Store.Lock+With:run ()
in <0x00075> Lucene.Net.Index.IndexReader:Open (Lucene.Net.Store.Directory directory, Boolean closeDirectory) in <0x0000c> Lucene.Net.Index.IndexReader:Open (Lucene.Net.Store.Directory directory) in <0x0008c> Beagle.Daemon.LuceneDriver:DoQuery (Beagle.Query query, IQueryResult result, ICollection search_subset, ICollection bonus_uris, Beagle.Daemon.UriFilter uri_filter, Beagle.Daemon.UriRemapper uri_remapper, Beagle.Daemon.RelevancyMultiplier relevancy_multiplier) in <0x00624> Beagle.Daemon.LuceneQueryable:DoQuery (Beagle.Query query, IQueryResult query_result, IQueryableChangeData i_change_data) in <0x0002a> Beagle.Daemon.Queryable:DoQuery (Beagle.Query query, IQueryResult result, IQueryableChangeData chang

It looks like there was an exception on the file name which could not be found..

05-06-05 19.30.05.33 27865 Beagle WARN: System.IO.FileNotFoundException: Could not find file "/home/afaiq/.beagle/FileSystemIndex/Index/_6sy.fnm".

and this caused the 'dangling locks'.

Any ideas anyone?

AF


afaiq aol com wrote:
I keep getting the dangling locks message in the IndexHelper logs, which purges the file index very frequently. I see the following message:

5-06-05 00.06.47.83 23561 IndexH DEBUG: + file:///home/afaiq/cxoffice/bin/launchurl 05-06-05 00.06.47.84 23561 IndexH DEBUG: + file:///home/afaiq/cxoffice/bin/tray 05-06-05 00.06.47.86 23561 IndexH DEBUG: Lucene Add: .86s 30 35.0103689042571 05-06-05 00.06.47.87 23561 IndexH DEBUG: worker removed: name=HandleConnection (222) 05-06-05 00.06.47.98 23561 IndexH DEBUG: worker added: name=HandleConnection (223) refcount=1 05-06-05 00.06.48.00 23561 IndexH DEBUG: Found dangling locks in /home/afaiq/.beagle/FileSystemIndex/Locks 05-06-05 00.06.48.00 23561 IndexH DEBUG: Purging /home/afaiq/.beagle/FileSystemIndex
05-06-05 00.06.48.06 23561 IndexH DEBUG: Flushing...

this happens with both beagle 0.0.10 and with the cvs version. I am using mono 1.1.7 and inotify kernel. The occurrence is quite frequent (1-2 hours), such that I can never get my home fully indexed.
Is there a fix for this ?

AF
_______________________________________________
Dashboard-hackers mailing list
Dashboard-hackers gnome org
http://mail.gnome.org/mailman/listinfo/dashboard-hackers




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]