Re: Limit on kevent entries?
Re: Limit on kevent entries?
- Subject: Re: Limit on kevent entries?
- From: maurits <email@hidden>
- Date: Thu, 12 Oct 2006 07:20:35 +0200
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:
This email sent to email@hidden