Great Circle Associates Majordomo-Workers
(January 1998)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: readdir limits
From: Dave Wolfe <dwolfe @ risc . sps . mot . com>
Date: Wed, 28 Jan 1998 09:33:49 -0600 (CST)
To: ckp @ micro . lucent . com (Andrew Winkler)
Cc: majordomo-workers @ GreatCircle . COM
In-reply-to: <199801281359.IAA10876@fonz.micro.lucent.com> from "Andrew Winkler" at Jan 28, 98 08:59:54 am

[ Andrew Winkler writes: ]
> 
> We ran into a problem because majordomo does a readdir which fails if
> you have a large number of lists. Partitioning info, passwd, etc into
> separate directories would help, it still places a limit on the number
> of lists. Is this limit necessary, or is it artificial?

How does readdir fail reading large directories? Are you sure you're not
talking about file globbing (opendir()/readdir()/closedir() vs. <*>)?
What version of Mj are we discussing? I know of no limits for array
size in Perl (other than imposed rlimits and physical system limits),
and thus for Mj, which would impose limits on readdir(). File globbing,
however, is limited by the command line limits of the shell used to
implement it (usually csh).

I believe version 2 uses directories to partition related list files,
but I still don't see how that places a limit on the number of lists
(other than performance would suck rocks once a few thousand lists were
created, with the numbers depending on the underlying file system).

-- 
 Dave Wolfe


References:
Indexed By Date Previous: [no subject]
From: ckp@micro.lucent.com (Andrew Winkler)
Next: Re: Wish. . .
From: "Mordechai T. Abzug" <morty@frakir.gsfc.nasa.gov>
Indexed By Thread Previous: [no subject]
From: ckp@micro.lucent.com (Andrew Winkler)
Next: max_which_hits
From: "Brian L. Heess" <dmbong@commline.com>

Google
 
Search Internet Search www.greatcircle.com