Re: [gamin] Recursiveley monitoring large collections
- From: Daniel Veillard <veillard redhat com>
- To: Shez <shinyshez yahoo co uk>
- Cc: gamin-list gnome org
- Subject: Re: [gamin] Recursiveley monitoring large collections
- Date: Tue, 17 May 2005 07:27:29 -0400
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]