"Simon H. Sandoval":
> 1.  Does qmail-ldap re-use inodes?
> 
> Ie if mails are written to users directories, inodes are obviously used.
> But if users delete these mails, will the number of inodes increase by the
> number of files deleted?  In the documentation re:indoes, there are some
> cases mentioned when inodes are not reused, even if the files are deleted.
> Is this the case with qmail-ldap?

i dont know the document re:inodes(?) and such a case, but generally
speaking, reusing inodes is a matter of a filesystem, not an
application.


> It seems that the inodes are reused, as the number of files/directories in
> the maildir directory roughly equal the number of inodes used.

and also you can check the qmail logs. the id number is based upon an
inode number.


> 2.  What has been the best inode configuration for large sites?  Any best
> practice guidelines?

as you know, it is based on the maximum number of files and
directories.
for example, if you have 10k accouns(i.e. 10k of Maildirs) in one
filesystem, and every user can have 100 mail messages at the same time,
        (4 inodes(Maildir) + 100 inodes(msg)) x 10k = 4M inodes
and of course, there will be another files and dirs on that filesystem
and needs more inodes.


> 3.  If inodes are not released/reused, what is a long term solution to this
> issue?
> 
> Using Veritas FS?  How do large mail sites handle the inode issue if these
> cannot be re-used?

i hope any filesystem in solaris can reuse an inode, but if you are
still in trouble, how about linux?


Junjiro Okajima

Reply via email to