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

On 4/23/06, Jamie McCracken <jamiemcc blueyonder co uk> wrote:
Aron Stansvik wrote:
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
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

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

no its probably that you have a huge no of files in home (including
subdirs) and its queuing them up to be indexed.

I will definitely improve this in the next version as it looks like its
hanging when it aint.

glad it all works!

Good night!

And good morning!

Well it's definately choking on something. Or maybe not choking per
se, but something is hindering the indexing. I've had trackerd running
all night and day with my entire home directory as target, and so far
no indexing messages have come up.

Is there a limit to how many files I can reasonable expect tracker to
index, and if so; what is the limit? Is it dependant on the platform?
Does each monitored directory require an open file handle, each file
in the directory tree? If so, that might be the problem, since I have
some untarred source distributions and other whatnot in ~.

I'm using Gamin as the monitoring backend, which in turn I think is
using kqueue's on BSD.

I shall compile tracker with debugging symbols and see what gdb says.

I tried running trackerd against various not-so-populated directories
in my home directory, with success.

Best regards,

PS. I don't have Poppler installed at the moment, so at first I
thought that maybe trackerd was halting trying to index PDF files. But
I tested running it against a directory with some PDFs in it and it
seemed to work fine. DS.

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