LIST is slow for 35K mailboxes
Wesley Craig
wes at umich.edu
Tue Oct 9 10:50:02 EDT 2007
What's your authentication & authorization infrastructure look like?
Every mailbox has an associated ACL, which must be canonicalized to
determine whether the user in question gets to see it. ctl_mboxlist
just lists whatever it finds. I've seen Kerberos cause LIST * to
take a long time -- and I have patches to fix the problem. Your high
CPU load suggests a similar problem. Try sampling (Solaris: truss,
dtrace?) a process that is spinning like this, to see what kinds of
actions it's taking. In the case of Kerberos, the stock Cyrus
distribution will repeatedly open the krb5.conf file once for each
mailbox it examines, i.e., 35K times in your case.
:wes
On 09 Oct 2007, at 09:19, Ian G Batten wrote:
> WeBut at root I don't understand why LIST "" * should take any
> longer than, for example, ctl_mboxlist -d.
More information about the Info-cyrus
mailing list