Norbert Kottmann writes:

Hi

We made a little testpatch for the opensock() function in authdaemonlib.c.

We patched the source because under high load, the imap and pop daemons (more than one ;-) can simutaniously block the socket to the authdaemond, so that another imap/pop daemon can not connect to the socket. This will lead to really ugly tempfails and the user has to retype the password.

Whats new:

If we can not connect to the UNIX socket, wait (random between 0.9s - 1.1s) and try again. Do this max 10 times and if the socket is still not available, exit with "authentication failed".

Wrong.

The correct solution is to increase the number of authdaemond processes, in the authdaemonrc configuration file.

Attachment: pgpt4s8WjyPkA.pgp
Description: PGP signature

Reply via email to