Re: [Dovecot] auth process(es)
- is it safe to increment the number of auth processes (the 'count' parameter in the auth block (auth_default { ...} for instance) ?
Should be.
my understanding is that login processes communicate with auth processes through a unix type socket (named 'default') :
can I create a second auth block in dovecot.conf (for instance 'aut extra {...}') in addition to the existing 'auth default {...}' one ? would it create an second unix socket and thus allowing a heavier login processes load ?
what would be the difference between that and, say, changing the 'count' parameter to '2' in the 'auth default' section ?
Increasing count allows heavier load, because there are then more processes listening for incoming connections in the same socket.
Actually increasing the count doesn't work. At least not for me on 1.0.0: Jun 14 12:28:39 mail5 dovecot: Dovecot v1.0.0 starting up Jun 14 12:28:39 mail5 dovecot: Auth process died too early - shutting down Jun 14 12:28:39 mail5 dovecot: child 19080 (auth) returned error 89 Jun 14 12:28:39 mail5 dovecot: auth(default): Socket already exists: /var/run/dovecot/auth-client
-- Kenny Dail <kend@amigo.net>
On Thu, 2007-06-14 at 12:36 -0600, Kenny Dail wrote:
Actually increasing the count doesn't work. At least not for me on 1.0.0: Jun 14 12:28:39 mail5 dovecot: Dovecot v1.0.0 starting up Jun 14 12:28:39 mail5 dovecot: Auth process died too early - shutting down Jun 14 12:28:39 mail5 dovecot: child 19080 (auth) returned error 89 Jun 14 12:28:39 mail5 dovecot: auth(default): Socket already exists: /var/run/dovecot/auth-client
Oh, right. It's incompatible with client/master sockets. Probably won't get fixed until v2.0.
On Thu, Jun 14, 2007 at 09:42:27PM +0300, Timo Sirainen wrote:
Actually increasing the count doesn't work. At least not for me on
It works for me :
count = 5
dovecot-auth 73019 0.0 0.1 5164 4052 ?? S Wed07PM 0:11.47 dovecot-auth dovecot-auth 73020 0.0 0.1 3356 2244 ?? S Wed07PM 0:03.25 dovecot-auth dovecot-auth 73021 0.0 0.2 8028 6920 ?? S Wed07PM 0:24.72 dovecot-auth dovecot-auth 73022 0.0 0.0 3068 1844 ?? S Wed07PM 0:01.61 dovecot-auth dovecot-auth 73023 0.0 0.0 3068 1844 ?? S Wed07PM 0:01.65 dovecot-auth
Doesn't fix me load problem however (Timo : is there some cache tweaking options ?).
-- Thomas Hummel | Institut Pasteur <hummel@pasteur.fr> | Pôle informatique - systèmes et réseau
participants (3)
-
Kenny Dail
-
Thomas Hummel
-
Timo Sirainen