Il Thursday 06 March 2008 01:06:07 Ken Jones ha scritto:
> Alessio Cecchi wrote:
> > Hello,
> > I have a dedicated server to registration e-mail free only. Every day
> > there are about 250 new users.
> > I believe that the default setting for hashing vpopmail directory is not
> > optimal for this kind of service (make a new dir every 50 new accounts).
> > What do you think?
> > Can i improve it?
> Check your .h files of the vpopmail source.
> I have:
> #define MAX_USERS_PER_LEVEL 100
> Meaning 100 users per directory.
> The optimal number of subdirectories was discussed on
> the vpopmail list back in 1998 or 1998.
> I don't remember who did the research but they
> found a maximum of 150 to 200 directories provided
> the most efficient processing.
> The bigdir code tries to maintain this level by creating
> at most 100 user accounts per directory plus the subdirectory
> structure using 0-9,a-z,A-Z (10 + 26 + 26 = 62).
> So in any directory there would be a maximum of 162 directories,
> fits within the recommened 150 to 200 limit.
> With three levels deep of sub directories vpopmail would support
> some where around 20 million accounts, which seemed reasonable.
> That was the basic behind the bigdir code.
> It would probably be worth while to re-investigate the 150-200
> directory limit with today's current file system software.
> Hope that helps,
> Ken Jones
Ken thanks for your response,
i will increase it to 100. Can i edit it and rebuild vpopmail with new setting
without problems on the current installation?
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> neo-Socio http://www.lolug.net