[Dovecot] Linux SO_REUSEPORT
Jerry
jerry at seibercom.net
Mon Sep 23 13:54:20 EEST 2013
On Mon, 23 Sep 2013 09:50:18 +0300
Timo Sirainen articulated:
> I just read about Linux v3.9's SO_REUSEPORT feature and decided to
> implement it for Dovecot. Would be interesting to know how it works
> for people :) It's going to be in v2.2.6, which I'm planning on
> releasing tomorrow. Note especially the warning about the bug:
>
> http://hg.dovecot.org/dovecot-2.2/rev/a991a0547daa
>
> So the idea is that you'd do something like:
>
> service imap-login {
> inet_listener imap {
> reuse_port = yes
> }
> process_min_avail = 4 # number of CPU cores
> }
>
> And the load should be distributed more evenly to the processes.
From the link above, "I'm not sure if this makes any difference in
BSDs." I can almost guarantee that it will not work with FreeBSD. They
are years behind in keeping compatibility with Linux. They are still
using the Fedora f10 base, over five years old.
--
Jerry ♔
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__________________________________________________________________
More information about the dovecot
mailing list