Le jeudi 07 août 2008 à 22:06 +0200, Philip Van Hoof a écrit : > On Thu, 2008-08-07 at 19:40 +0100, Martyn Russell wrote: > > Martyn Russell wrote: > > > Laurent Aguerreche wrote: > > > Phillip has a patch we can try for this. There are other means we use > > in the indexer too which I will play with. > > Laurent, can you try the patch that I have attached?
I applied it after I modified it a little bit: In tracker-crawler.c around line 608, I have this line : g_list_foreach (files, (GFunc) g_object_unref, NULL); You do not seem to have it in your patch so I removed it: + } + >>>> No g_list_foreach(...) here? <<<<<<<<<<<<<<<<<<<<< g_list_free (files); - /* Get next file */ + /* Get next files */ file_enumerate_next (enumerator, ed); } > The more people test this kind of patches, the more sure we are of the > performance impact. This patch seems to give me better results :-) But while I'm writing this e-mail, I see Evolution getting frozen. Perhaps a strange behavior of this software (as usual...). > Please remove all of tracker's caches before testing: > > > svn co http://svn.gnome.org.svn/tracker/branches/indexer-split > cd indexer-split > > patch -p0 < crawler-more-than-one-file.diff > > ./autogen.sh --pr... && make && sudo make install > > > killall -9 tracker > killall -9 tracker-indexer > rm -rf $HOME/.cache/tracker > rm -rf $HOME/.local/share/tracker > rm -rf /tmp/*tracker* > > trackerd -v 3 I saw something strange after I removed the caches: trackerd only found a few directories in my home. I removed caches twice and I ran trackerd each time with the following command: trackerd -s 0 -v 3 Then, I decided to run trackerd with this command: trackerd -v 3 and trackerd acted correctly by indexing the content of my home. Now it seems I can run trackerd with, and without, "-s 0" without any problem! Laurent.
signature.asc
Description: Ceci est une partie de message numériquement signée
_______________________________________________ tracker-list mailing list tracker-list@gnome.org http://mail.gnome.org/mailman/listinfo/tracker-list