Re: [Tracker] First time user on FreeBSD with some troubles



On 4/23/06, Jamie McCracken <jamiemcc blueyonder co uk> wrote:
Aron Stansvik wrote:
On 4/23/06, Jamie McCracken <jamiemcc blueyonder co uk> wrote:
The output of stdout shows that no indexing took place - indexing is
slow the first time you index as we queue up files to be indexed before
actually doing the indexing.

I see. I thought that there was very little disk activity. Tracker
can't be _that_ efficient :)

It might be worth waiting an hour or so after running trackerd before
doing a search that should give it enough time to get going.

Okay. I'll take this as a good opportunity to get some sleep. I'll let
trackerd sit over night and if no indexing has occured tomorrow, I can
be definately sure that there's an actual problem.

You will see messages like "indexing file /home/jamie/media.mp3" being
printed to stdout when it is indexing.

Ah. Okay. I was just on my way to browse the source to see what I
"should" be seeing.

The timeout is likely caused by the main thread blocking on something
and therefore not responding in time (im not sure what the default
timeout period is for Dbus). I should improve this.

Okay. We'll see how this waiting goes.

Thanks and good night for now.

Aron




A quicker method would be to pass a path to a directory with a few files
in it to trackerd to index (eg trackerd /home/jamie/test). Indexing
should start in under a second in that case.

Duh! Wow now it actually works:

In xterm nr. 1:

$ mkdir /usr/home/elvis/test
$ echo "hej hej hej" > /usr/home/elvis/test/hello.txt
$ trackerd /usr/home/elvis/test
060423 22:57:20 [Warning] Can't open and lock time zone table: Table
'mysql.time_zone_leap_second' doesn't exist trying to live without
them
DB initialised
Watching directory /usr/home/elvis/test (total watches = 1)
waiting for file events...
processing /usr/home/elvis/test with event TRACKER_ACTION_CHECK
indexing file /usr/home/elvis/test
processing /usr/home/elvis/test/hello.txt with event TRACKER_ACTION_CHECK
processing /usr/home/elvis/test with event TRACKER_ACTION_CHECK
indexing file /usr/home/elvis/test/hello.txt
Extracting Metadata for file /usr/home/elvis/test/hello.txt with mime text/plain
text file is /usr/home/elvis/test/hello.txt
saving text to db with file_id 2
24 bytes of text successfully inserted into file id 2

In xterm nr. 2:

$ tracker-search hej
/usr/home/elvis/test/hello.txt

Hm. What does this give? Is it choking on something in my home directory?

I see no changes in the data files sizes, but I'll let it run over
night and go to bed.

Aron



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