Re: [Tracker] tracker constantly crawling

2017-12-01 Thread Brian J. Murrell
On Fri, 2017-12-01 at 13:50 +0100, Carlos Garnacho wrote: > > We don't constantly crawl anything, at least on purpose :). That was what I {sus,ex}pected but wanted to be sure my assumption was correct. > Tracker > does no special treatment of NFS mounts, But it does not have the benefit of

Re: [Tracker] tracker constantly crawling

2017-12-01 Thread Philip Van Hoof
On Fri, 2017-12-01 at 09:50 +, Debarshi Ray wrote: Hello Debarshi Ray, > > The answers to your original question are: no it never had FAM > > support, > > and no that doesn't sound like expected behavior. > > Tracker uses GLib's GFileMonitor API these days, which has various >

Re: [Tracker] tracker constantly crawling

2017-12-01 Thread Carlos Garnacho
Hi Brian! What tracker version is this? On Thu, Nov 30, 2017 at 3:55 AM, Brian J. Murrell wrote: > Is it just because /home/brian/Pictures is on an NFS server that > tracker just loops, constantly crawling it? > > 29 Nov 2017, 20:04:04:1% File System -

Re: [Tracker] tracker constantly crawling

2017-12-01 Thread Debarshi Ray
Hey, Sorry to butt in. I am just a mere spectator here. :) On Thu, Nov 30, 2017 at 08:38:08PM +0100, Philip Van Hoof wrote: > On Thu, 2017-11-30 at 14:21 -0500, Brian J. Murrell wrote: > > On Thu, 2017-11-30 at 19:46 +0100, Philip Van Hoof wrote: > > > Ok, I suppose you could contribute a FAM

Re: [Tracker] tracker constantly crawling

2017-11-30 Thread Philip Van Hoof
On Thu, 2017-11-30 at 14:21 -0500, Brian J. Murrell wrote: > On Thu, 2017-11-30 at 19:46 +0100, Philip Van Hoof wrote: > > Ok, I suppose you could contribute a FAM backend for tracker-miner- > > fs then. Wouldn't be bad to have support for multiple kinds of > > file-monitoring. > > The original

Re: [Tracker] tracker constantly crawling

2017-11-30 Thread Brian J. Murrell
On Thu, 2017-11-30 at 19:46 +0100, Philip Van Hoof wrote: > Ok, I suppose you could contribute a FAM backend for tracker-miner-fs > then. Wouldn't be bad to have support for multiple kinds of file- > monitoring. The original question was that I thought that Tracker already had this (and did it

Re: [Tracker] tracker constantly crawling

2017-11-30 Thread Philip Van Hoof
Ok, I suppose you could contribute a FAM backend for tracker-miner-fs then. Wouldn't be bad to have support for multiple kinds of file- monitoring. On Thu, 2017-11-30 at 09:37 -0500, Brian J. Murrell wrote: > On Thu, 2017-11-30 at 15:26 +0100, Philip Van Hoof wrote: > > Hello Brian, > > Hi. >

Re: [Tracker] tracker constantly crawling

2017-11-30 Thread Brian J. Murrell
On Thu, 2017-11-30 at 15:26 +0100, Philip Van Hoof wrote: > Hello Brian, Hi. > FAM is for intercepting syscalls like open I believe. https://en.wikipedia.org/wiki/File_Alteration_Monitor The FAM subsystem allows applications to watch certain files and be notified when they are modified. FAM

Re: [Tracker] tracker constantly crawling

2017-11-30 Thread Philip Van Hoof
Hello Brian, FAM is for intercepting syscalls like open I believe. This is what virusscanners need. Tracker uses inotify at this moment. With the Linux kernel there is no way to monitor a root of a filesystem other than registering each and every directory (which is what crawling is for). One