Re: [gamin] Monitoring too many files



On Thu, Oct 14, 2004 at 10:14:58AM +0200, Dmitry Zbarski wrote:
> 
> Using gamin-0.0.14-1 from Rawhide Fedora Core.
> 
> If I try to monitor more then 546 files in one process I don't get events back.
> gamin doesn't eat CPU too much, but select on FAM descriptor never returns.
> In FAM's FAQ I found that there is a limit on number of files monitored by 1
> process. But it says that the limit is 1024 files.
> 
> Now the question is this a bug or a known gamin limitation?

  The gamin server uses GLib loop for registering fds which need to
be poll'ed or select'ed. I don't know internally how glib does it
it might be a good idea to check this.

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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