Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Limit on kevent entries?



Ian,

On Thu, 12 Oct 2006, maurits wrote:
is there a limit on the number of files one can simultaneously monitor with the kevent mechanism?

There are several limits on the number of files you can have open, which they have to be to be able to watch them with EVFILT_VNODE.

boy, of course I forgot to realize that I'd have all those files open... Thanks for your answer. That makes a lot of sense now. Even the 251 :)



I think there are non-portable ways to do this at higher levels (e.g. the way Spotlight and Time Machine watch huge chunks of the filesystem), but I don't know them. Try some filesystem doc, or wait for somebody more knowledgeable to provide a better answer :-)

OK, I'd highly appreciate any input. Portability is not an issue for me. But I have the feeling that kevents doesn't really scale too well, and I agree with you that I'm probably abusing the mechanism...


Thanks again,

maurits
--
http://www.plasticsfuture.org
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >Limit on kevent entries? (From: maurits <email@hidden>)
 >Re: Limit on kevent entries? (From: Ian Lister <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.