Multi-thread cyrus delayed forking of imapd processes after connecting to master listener

Blake Hudson blake at ispn.net
Tue May 23 16:32:11 EDT 2017


Michael Hieb wrote on 5/19/2017 4:48 AM:
> Apologies for long post, most of it is configuration details.
...
> # UNIX sockets start with a slash and are put into /var/lib/imap/socket
> SERVICES {
> # add or remove based on preferences
> #imap cmd="imapd" listen="imap" maxchild=-1 maxforkrate=100
> imap cmd="imapd -C /etc/imapd.domain1.com.conf " 
> listen="192.168.171.4:imap" maxchild=-1 maxforkrate=100
> imap cmd="imapd -C /etc/imapd.domain1.com.conf " 
> listen="192.168.110.171:imap" maxchild=-1 maxforkrate=100
> imap cmd="imapd -C /etc/imapd.domain2.com.conf " 
> listen="192.168.172.4:imap" maxchild=-1 maxforkrate=100
> imap cmd="imapd -C /etc/imapd.domain2.com.conf " 
> listen="192.168.110.172:imap" maxchild=-1 maxforkrate=100
> imap cmd="imapd -C /etc/imapd.domain3.com.conf " 
> listen="192.168.174.4:imap" maxchild=-1 maxforkrate=100
> imap cmd="imapd -C /etc/imapd.domain3.com.conf " 
> listen="192.168.110.174:imap" maxchild=-1 maxforkrate=100
...

Michael, each process in Cyrus needs a unique name. Try:

imap1 cmd="imapd -C /etc/imapd.domain1.com.conf " 
listen="192.168.171.4:imap" maxchild=-1 maxforkrate=100
imap2 cmd="imapd -C /etc/imapd.domain1.com.conf " 
listen="192.168.110.171:imap" maxchild=-1 maxforkrate=100
imap3 cmd="imapd -C /etc/imapd.domain2.com.conf " 
listen="192.168.172.4:imap" maxchild=-1 maxforkrate=100
imap4 cmd="imapd -C /etc/imapd.domain2.com.conf " 
listen="192.168.110.172:imap" maxchild=-1 maxforkrate=100
imap5 cmd="imapd -C /etc/imapd.domain3.com.conf " 
listen="192.168.174.4:imap" maxchild=-1 maxforkrate=100
imap6 cmd="imapd -C /etc/imapd.domain3.com.conf " 
listen="192.168.110.174:imap" maxchild=-1 maxforkrate=100

imaps1
imaps2
imaps3

sieve1
sieve2

lmtp1
lmtp2
...

--Blake



More information about the Info-cyrus mailing list