Alessio Cecchi wrote:

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:

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

Reply via email to