***Sorry for top posting, I'm forced to use Outlook Web Access at work***

In case anyone is following this issue, I recompiled vpopmail with 
--enable-users-big-dir and ./vadddomain started creating new domain directories 
under /home/vpopmail/domains/0/  However, so far there are over 375 domain 
directories in this subfolder. I thought after 100 domains it would start 
creating folders in another subdirectory, such as /home/vpopmail/domains/1/.

A correction to my message below, I meant I hit the 32,000 limit for 
subdirectories on ext3/ext2, not inode limit.

First row in the dir_control table is unchanged:

+---------+------------+-----------+-----------+--------------+--------------+--------------+------------+------------+------------+------------+------------+------------+--------------+--------------+--------------+---------+
| domain  | cur_users  | level_cur | level_max | level_start0 | level_start1 | 
level_start2 | level_end0 | level_end1 | level_end2 | level_mod0 | level_mod1 | 
level_mod2 | level_index0 | level_index1 | level_index2 | the_dir |
+---------+------------+-----------+-----------+--------------+--------------+--------------+------------+------------+------------+------------+------------+------------+--------------+--------------+--------------+---------+
| dom_107 | 2147483646 |         0 |         3 |            0 |            0 |  
          0 |         61 |         61 |         61 |          0 |          2 |  
        4 |            0 |            0 |            0 |         |
+---------+------------+-----------+-----------+--------------+--------------+--------------+------------+------------+------------+------------+------------+------------+--------------+--------------+--------------+---------+

I just wish I knew how the domain directory hashing was suppose to work and if 
I am getting expected behavior or not. The documentation really doesn't specify.


-----Original Message-----
From:   Grant Supp
Sent:   Tue 8/23/2005 1:18 PM
To:     vchkpw@inter7.com
Cc:     
Subject:        [vchkpw] 5.4.10 Domain Directory Hashing Not Happening
I have a large cluster running vpopmail 5.4.10 (mysql backend) with the 
following configure options:

./configure --enable-clear-passwd --enable-mysql-replication 
--enable-auth-module=mysql --disable-many-domains 
--enable-libdir=/usr/lib/mysql --disable-passwd --disable-auth-logging 
--disable-domainquotas --enable-logging=e --disable-rebuild-tcpserver-file

Right now all domain directories are under /home/vpopmail/ and we have hit the 
32,000 inode limit for ext3. I've searched the mailling list and it seems most 
of the issues with directory hashing is with user directories, not domain 
directories. 

Can someone plese help me figure out how to enable domain directory hashing for 
vpopmail?

Right now new signups are failing, vadddomain giving the following error:
Error: Unable to chdir to vpopmail/domains directory

Here is the first row in the dir_control table:
+------------------------+------------+-----------+-----------+--------------+--------------+--------------+------------+------------+------------+------------+------------+------------+--------------+--------------+--------------+---------+
| domain                 | cur_users  | level_cur | level_max | level_start0 | 
level_start1 | level_start2 | level_end0 | level_end1 | level_end2 | level_mod0 
| level_mod1 | level_mod2 | level_index0 | level_index1 | level_index2 | 
the_dir |
+------------------------+------------+-----------+-----------+--------------+--------------+--------------+------------+------------+------------+------------+------------+------------+--------------+--------------+--------------+---------+
| dom_107                | 2147483646 |         0 |         3 |            0 |  
          0 |            0 |         61 |         61 |         61 |          0 
|          2 |          4 |            0 |            0 |            0 |        
 |

Thank you very much for your help.



<<winmail.dat>>

Reply via email to