Re: [Tracker] Tracker and Zeitgeist



2009/7/15 Martyn Russell <martyn lanedo com>
On 15/07/09 11:46, Richard Hughes wrote:
2009/7/15 Martyn Russell<martyn lanedo com>:
1. We need to (because of inotify) crawl the file system to set up monitors
right now. With the new work alexl and others are doing in the kernel with
FANotify, we should be able to avoid this in the future.

Yes, this should be good. I've also noticed bugs where tracker (or
beagle) use up all the inotify watches, which breaks all PolicyKit
applications nicely.


Note, we take the /proc inotify limit and only use MAX - 512 to allow other apps to use inotify too. We also should be using breadth monitors over depth monitors, so top most directories get monitor priority.

--
Regards,
Martyn

I didn't know that. Has that always been the case? As a workaroud in Ubuntu, we actually increase the inotify limit when tracker is installed. That workaround was introduced sometime before 0.6.6 I think, but it is not clear to me whether it was introduced to fix any specific issue with running out of inotify watches. If you think it is not necessary, then it might be good to drop it.

Regards
Chris


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