Re: [Tracker] Polling problem in tracker svn



On Fri, 2007-04-06 at 11:20 -0400, jay langseth wrote:
Hello,

I run Red Hat Enterprise Linux 4, which does not have an
inotify-enabled kernel.  I run the Garnome GNOME distribution (2.16)
which does include gamin.  Tracker SVN successfully builds with gamin
support.  The problem is that trackerd is not even coming close to
indexing all of my files.  I get a message "watch limit exceeded (if
using inotify increase max_watches)" and then it still goes and finds
some more directories, and then starts indexing.  But once it is done
there are plenty of directories which I have told it to index which it
does not actually get to. 

The last release, Tracker-0.5.4, successfully indexes all of my files.
I compared the source code for trackerd.c between svn version and
0.5.4.  In 0.5.4 there is no error message about "watch limit
exceeded" which can even be displayed, and there is all of this code
there about "polling."  In svn some of the code related to "polling"
is still there but most of it is gone.  Is this the reason tracker
isn't getting to all of my files?  I'm quite a novice and don't know
much about this stuff but "polling" seems to be what takes over when
inotify isn't there, at least that's the impression I get when reading
through the code. 


hi,

we disabled the polling code as it was causing performance issues

the way it now works is it will update in real time only those folders
which are watched. All other non-watched folders will be updated when
you next restart tracker.

The code is not well tested yet so I will play with it a bit more and
see if there are any issues

thanks for the feedback.

jamie.








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