Re: [gamin] Recursiveley monitoring large collections



On Tue, May 17, 2005 at 12:08:36PM +0100, Shez wrote:
> sorry, xxxx should be 9000 directories.

  This can't work on a dnotify based system as monitoring a directory 
requires to open() the directory and you will exhaust the number of file
descriptor openable by a single process. Try inotify, or a polling based
method.

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]