[Dovecot] Doveadm director flush/remove

Timo Sirainen tss at iki.fi
Fri Jul 16 01:58:20 EEST 2010


On 15.7.2010, at 22.00, Brad Davidson wrote:

> It times out after a minute:
> 
> [root at cc-popmap7 ~]# time doveadm director map
> doveadm(root): Error: User listing returned failure
> doveadm(root): Error: user listing failed
> 
> real    1m0.028s
> user    0m0.088s
> sys     0m0.072s
> 
> Jul 15 13:46:24 cc-popmap7 dovecot: auth: Error: auth worker: Aborted request: Lookup timed out
> Jul 15 13:53:25 cc-popmap7 dovecot: auth: Error: getpwent() failed: No such file or directory

I suppose it shouldn't abort if the query keep sending data.. I'll see if I can get this fixed.

> userdb passwd. Our LDAP directory might not be optimally configured. The group that administers it only really cares about binds, iteration can be rather slow:
> 
> [root at cc-popmap7 ~]# time getent passwd | wc -l 
> 51552
> 
> real    8m0.120s
> user    0m2.507s
> sys     0m1.093s
> 
> That comes out to just over 100 entries a second.

Maybe there could be a parameter to get the user list from a file (one username per line) instead of userdb.


More information about the dovecot mailing list