[ 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:
|
|