On Sat, 2006-05-27 at 13:29 +0100, Pat Hastings wrote:
Hi,
We are migrating from a windows server and i have very few stats as to what our current concurrent usage stats are other than about 50,000 active users and 90,000 email messages a day inbound 20,000 outbound.
Anyone got some tips for tuning dovecot to handle this load?
Below is my config - do the values of login_process_size etc sound correct?
I guess they're good enough.
Also my logs seem to be written out as root which seems kind of scary do how do I / should I have these written out by the dovecot user.
All logging currently goes through Dovecot's master process. This shouldn't be a problem. In Dovecot 2.0 I plan to have separate logger processes and make logging through them. Then they wouldn't necessarily have to run as root.
mail_extra_groups = mail
This probably isn't needed unless you have a good reason to use it.
auth_executable = /usr/lib/dovecot/dovecot-auth auth_verbose = yes auth_debug = yes auth_debug_passwords = yes auth default { mechanisms = plain passdb pam { } passdb ldap { args = /etc/dovecot/dovecot-ldap.conf } userdb passwd { } userdb ldap { args = /etc/dovecot/dovecot-ldap.conf } user = root }
You could try auth_cache settings to see if they reduce the load even more. And if you want to cache PAM lookups also then you'd need to set cache_key parameter for it.