fam
[Top] [All Lists]

Re: [fam] fam limitations

To: Christian Kreibich <kreibich@xxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [fam] fam limitations
From: Alex Larsson <alexl@xxxxxxxxxx>
Date: Mon, 6 May 2002 14:35:56 -0400 (EDT)
Cc: fam@xxxxxxxxxxx
In-reply-to: <3CD6480C.9814BE11@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-fam@xxxxxxxxxxx
On Mon, 6 May 2002, Christian Kreibich wrote:

> Michael WARDLE wrote:
> > 
> > > could someone please tell me what the key drawbacks of using
> > > fam are ? (I believe fam does not allow a single process to monitor
> > more
> > > than 1,000 files/directories)
> > 
> > I believe this is a limitation of IMon related to a fixed event queue
> > size, so it does not apply when other monitors (such as DNotify) are
> > being used.  Given this number is hard-coded in the IMon patch, you
> > could also change that number to a greater one on your systems, but
> > that is not ideal.
> 
> Mhmmm I was under the impression that it's rather a limitation of
> dnotify, based on the maximum number of open file descriptors, is that
> incorrect?

dnotify does indeed have a problem with the maximum number of open file 
descriptors. The maximum is larger than 1000 though, being 8192 by 
default in recent linux kernels and changeable by root.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl@xxxxxxxxxx    alla@xxxxxxxxxxxxxx 
He's a war-weary shark-wrestling rock star with acid for blood. She's a 
sharp-shooting blonde traffic cop with an evil twin sister. They fight crime! 


--
Source code, list archive, and docs: http://oss.sgi.com/projects/fam/
To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>