fam
[Top] [All Lists]

Re: Problem with a large number of directories.

To: "Vsevolod (Simon) Ilyushchenko" <simonf@xxxxxxxx>
Subject: Re: Problem with a large number of directories.
From: Michael Raymond <mraymond@xxxxxxx>
Date: Wed, 5 Jan 2005 13:50:01 -0600
Cc: fam@xxxxxxxxxxx
In-reply-to: <41DC2E9A.1000105@xxxxxxxx>; from simonf@xxxxxxxx on Wed, Jan 05, 2005 at 01:14:50PM -0500
References: <41DB130D.5040608@xxxxxxxx> <41DC2E9A.1000105@xxxxxxxx>
Sender: fam-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
    We'll take patches against FAM if they're supplied, but everyone here is
otherwise too busy with other things to actively work on FAM.
                                                         Michael

On Wed, Jan 05, 2005 at 01:14:50PM -0500, Vsevolod (Simon) Ilyushchenko wrote:
> To followup on this - I've run the Perl script again, and this time it 
> went through all the directories. Very strange.
> 
> I've found this in the FAM FAQ:
> 
> ***
> Simultaneous requests: Each client process can have up to 1024 active 
> requests. This is a limitation of the select() system call.
> ***
> 
> Does anybody know if it's still true and what exactly it means? That I 
> can't request to monitor more than 1024 directories? But it looks like I 
> can, for now.
> 
> Also, is anybody actively maintaining FAM? In Fedora 3, the FAM package 
> has been dropped in favor of the Gamin project:
> 
> http://www.gnome.org/~veillard/gamin/index.html
> 
> Thanks,
> Simon
> 
> Vsevolod (Simon) Ilyushchenko wrote:
> > Hi,
> > 
> > Has anyone has used fam with thousands of directories? I have about 6k 
> > of them, and halfway through traversing the directory tree the Perl 
> > script that I am using hangs up.
> > 
> > I am aware that I have to keep reading messages while I am adding 
> > directories to avoid filling the message queue, so that is not an issue.
> > 
> > I would appreciate any hints on where to look for the problem.
> > 
> > Simon
> 
> -- 
> 
> Simon (Vsevolod ILyushchenko)   simonf@xxxxxxxx
>                               http://www.simonf.com
> 
> Terrorism is a tactic and so to declare war on terrorism
> is equivalent to Roosevelt's declaring war on blitzkrieg.
> 
> Zbigniew Brzezinski, U.S. national security advisor, 1977-81

-- 
Michael A. Raymond              Office: (651) 683-3434
Core OS Group                   Real-Time System Software

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