config option for KDirWatch method

Dirk Mueller mueller at kde.org
Tue Aug 21 15:47:31 BST 2007


On Tuesday, 21. August 2007, Flavio Castelli wrote:

> No it isn't, Jos is right. Let me do a short introduction on how inotify
> works.

Thanks, I roughly know how it works ;)

> The most annoying limitation is the second one: the maximum number of watch
> objects per user. By default this limit is set to 8192 watches. I assure
> this isn't  enough when you try to monitor all your home directory (we have
> noticed it working with Strigi).

Why would you want to do that with strigi? Remember that inotify pin`s the 
inode in memory, so if you watch all the directories on your system then that 
means that you pin all those inodes into memory, which is a big ressource 
overhead (8192 inodes use over 2 MB of memory already). There is no point in 
strigi watching everything. 


Greetings,
Dirk





More information about the kde-core-devel mailing list