[Dovecot] auth_cache_size

Daniel L. Miller dmiller at amfes.com
Fri Jun 25 18:09:21 EEST 2010


I was going to ask how much space I should allocate for auth_cache_size 
- but decided to read the wiki first.  Now I'll be more specific -

Wiki says about 50 bytes per passdb, and up to 200 bytes for userdb - so 
my arithmetic says each combined entry needs 250 bytes budgeted.  
Assuming that's correct, I need some clarification.

Let's start small.  Assume ten users, all connected - and everybody also 
likes looking at everybody else's mailbox.  So there are ten clients, 
each with at least ten connections (I say at least because each folder 
viewed within an account is its own connection, right?).

How is the auth_cache used?  If I have ten user/pass combinations - is 
that all that is stored?  Or are there connection-specific entries as 
well?  In other words, for the above example, do I have 10 x 250 bytes 
yields auth_cache_size=3, or do I need 10 x 10 x 250 yields 
auth_cache_size=30 - or am I totally off?
-- 
Daniel


More information about the dovecot mailing list