On 16.01.2014 17:49, Paul J Stevens wrote:
> On 16-01-14 00:21, Aleksandr Dezhin wrote:
>> styx and hydra are different servers load balanced using haproxy.
>> Currently we are using dbmail 3.1.7.
> Yeah! Very cool setup, but untested! How do you enable session affinity?
We are not using session affinity at all. Each new IMAP connection goes
to random server ("balance leastconn" in haproxy config). Thus, two
connection from one MUA may be on different servers. We work with this
setup more than a month and I do not see any problems associated with
it. Maybe I missed something. Why would we need session affinity if
dbmail stores all data in database?
> It was very easy to cause a segfault on dbmail_3_1 branch by:
>
> clientA:
> x login user password
> x create testbox
> x select testbox
>
> clientB:
> x login user password
> x delete testbox
> x logout
>
> clientA:
> x idle
>
> but that is now fixed in:
>
> http://git.dbmail.eu/paul/dbmail/patch/?id=a07ffe9b2c12fd061fcb76074f3abe3e26107de5
>
>
> FYI, this had been fixed in master some time ago already.
Thanks.
_______________________________________________
DBmail mailing list
DBmail@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail