Re: Problem connections cyrus

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 22 Aug 2007, Sera wrote:

> Sorry for my poor English:
>
> I have problems with cyrus.
> it's block 10-20 times a day, all days.
> Don't crash, but suddenly don't accept any connections and the mua
> display the message " the server reject the connection", or "max number
> of connections reached".
>
> I'm used two hosts:
> 1- debian sarge with cyrus and postfix
> 2- debian etch with postfix
>
> The version of cyrus is 2.1.18-1+sarge2
>
> My cyrus.conf is it:
>
> # Debian defaults for Cyrus IMAP server/cluster implementation
> # see cyrus.conf(5) for more information
> #
> # All the tcp services are tcpd-wrapped. see hosts_access(5)
> # $Id: cyrus.conf,v 1.16 2003/11/05 01:04:22 hmh Exp $
>
> START {
>        # do not delete this entry!
>        recover         cmd="/usr/sbin/ctl_cyrusdb -r"
>
>        # this is only necessary if using idled for IMAP IDLE
>        # this is NOT to be enabled right now in Debian builds
>        #idled          cmd="idled"
>
>        # this is useful on backend nodes of a Murder cluster
>        # it causes the backend to syncronize its mailbox list with
>        # the mupdate master upon startup
>        #mupdatepush   cmd="/usr/sbin/ctl_mboxlist -m"
>
>        # this is recommended if using duplicate delivery suppression
>        delprune        cmd="/usr/sbin/ctl_deliver -E 3"
>        # this is recommended if caching TLS sessions
>        tlsprune        cmd="/usr/sbin/tls_prune"
> }
>
> # UNIX sockets start with a slash and are absolute paths
> # you can use a maxchild=# to limit the maximum number of forks of a service
> # you can use babysit=true and maxforkrate=# to keep tight tabs on the
> service
> # most services also accept -U (limit number of reuses) and -T (timeout)
> SERVICES {
>        # --- Normal cyrus spool, or Murder backends ---
>        # add or remove based on preferences
>        imap            cmd="imapd -U 30" listen="imap" prefork=0
> maxchild=100
>        imaps           cmd="imapd -s -U 30" listen="imaps" prefork=0
> maxchild=100
>        #pop3           cmd="pop3d -U 30" listen="pop3" prefork=0
> maxchild=50
>        #pop3s          cmd="pop3d -s -U 30" listen="pop3s" prefork=0
> maxchild=50

The "maxchild" settings in cyrus.conf above limit the maximum number of 
connections allowed for each service.  You might want to increase those 
numbers to match the number of connections you expect to receive.

 	Andy
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux