Re: [Tracker] tracker constantly crawling



On Fri, 2017-12-01 at 09:50 +0000, 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
implementations based on the operating system, file system,
etc.. There are FAM, inotify, kqueue, Windows implementations for
"native" mounts.  Usually, GLib picks the right one and everybody
just goes along with it. That's what Tracker usually does.

Right, I didn't realize that GFileMonitor has support for FAM.

However, you can force the issue with the GIO_USE_FILE_MONITOR
environment variable.

Ah, good to know. Can be useful for testing. Thanks.

Tracker has some awareness of the implementation being used, and it
sets various limits and flags accordingly. See tracker_monitor_init
in tracker.git.

Kind regards,

Philip

Attachment: signature.asc
Description: This is a digitally signed message part



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