Re: [gamin] Recursiveley monitoring large collections
- From: Shez <shinyshez yahoo co uk>
- To: veillard redhat com
- Cc: gamin-list gnome org
- Subject: Re: [gamin] Recursiveley monitoring large collections
- Date: Tue, 17 May 2005 12:31:48 +0100 (BST)
Cheers, I'll give inotify a go.
If that doesn't work I'll probably move to using
ptrace on the fileserver (smb/nfs) software, as this
will be the only way of accessing the files in the
application.
Thanks again
Shez:)
--- Daniel Veillard <veillard redhat com> wrote:
> 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/
>
___________________________________________________________
Yahoo! Messenger - want a free and easy way to contact your friends online? http://uk.messenger.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]