Hi Wolfgang, I can't speak to the master hang problem, but the prefork = 10 lines in your cyrus.conf file tell the master process to always create 20 more imapd processes than you have active clients. Unless you have an extremely high load, I doubt you need to prefork ten processes each for imap and imaps. If you are trying to debug this, you could set prefork to 0 and see if it makes any difference.
Hope this helps, John Wade Wolfgang Trexler wrote: > Hi there, > > I've set up a new mail server (Cyrus 2.0.16) a few weeks ago and it's > not working as smooth as I'm accustomed to with Cyrus. From time to time > the server stops excepting new imap connections (from different clients) > and seems unreachable from outside. We had this situation three times by > now. Kill the master process with -TERM and restart it did solve the > problem. Unfortunately I was out of office at that times and therefore > could not look at the machine as it happend for further investigation. > > Anyway, examination of the log files did not bring up any clues, nothing > seemed extraordinary. What I found is that, despite there is only one > user on the machine right now, I've more than 60 imapd instances > running. Some of them for a quite long time, since the last restart of > the master process (2nd Nov.). > > It would be nice if you could help me out or give me further tips how to > find the problem! > > The machine is Linux 2.4.10 i686, I compiled the cyrus with: > ./configure --prefix=/var/apps/cyrus-imapd > --with-cyrus-prefix=/var/apps/cyrus-imapd/server --with-auth=unix > --enable-netscapehack --with-cyrus-group=smmsp > > Enclosed my configuration as well as a snapshot of the process list. > > best regards > Wolfgang > -- > Wolfgang Trexler <[EMAIL PROTECTED]> > For completely outdated information see http://members.ping.at/wolfman/ > > cyrus.conf: > # standard standalone server implementation > > START { > # do not delete these entries! > mboxlist cmd="ctl_mboxlist -r" > deliver cmd="ctl_deliver -r" > > # this is only necessary if using idled for IMAP IDLE > # idled cmd="idled" > } > > # UNIX sockets start with a slash and are put into > /var/apps/imap/sockets > SERVICES { > # add or remove based on preferences > imap cmd="imapd" listen="imap" prefork=10 > imaps cmd="imapd -s" listen="imaps" prefork=10 > # pop3 cmd="pop3d" listen="pop3" prefork=3 > # pop3s cmd="pop3d -s" listen="pop3s" prefork=1 > sieve cmd="timsieved" listen="sieve" prefork=3 > > # at least one LMTP is required for delivery > # lmtp cmd="lmtpd" listen="lmtp" prefork=0 > lmtpunix cmd="lmtpd" listen="/var/apps/imap/socket/lmtp" > prefork=1 > } > > EVENTS { > # this is required > checkpoint cmd="ctl_mboxlist -c" period=30 > > # this is only necessary if using duplicate delivery suppression > delprune cmd="ctl_deliver -E 3" period=1440 > } > > imapd.conf > configdirectory: /var/apps/imap > partition-default: /var/apps/imap/spool > admins: cyrus root > srvtab: /var/apps/imap/srvtab > allowanonymouslogin: no > # sasl_passwd_check: shadow > sasl_passwd_check: sasldb > sieveusehomedir: false > tls_cert_file: /var/apps/imap/server.pem > tls_key_file: /var/apps/imap/server.pem > sieveusehomedir: false > sievedir: /var/apps/imap/sieve > sendmail: /usr/sbin/sendmail > > Process list: > cyrus 28447 1 0 Nov02 ? 00:00:00 > /var/apps/cyrus-imapd/server/bin/master > cyrus 28454 28447 0 Nov02 ? 00:00:00 timsieved > cyrus 28456 28447 0 Nov02 ? 00:00:00 imapd > cyrus 28458 28447 0 Nov02 ? 00:00:00 timsieved > cyrus 28478 28447 0 Nov02 ? 00:00:00 timsieved > cyrus 6392 28447 0 Nov05 ? 00:00:00 imapd > cyrus 6466 28447 0 Nov05 ? 00:00:00 imapd > cyrus 6836 28447 0 Nov05 ? 00:00:00 imapd > cyrus 7688 28447 0 Nov05 ? 00:00:00 imapd > cyrus 11312 28447 0 Nov06 ? 00:00:00 imapd > cyrus 11359 28447 0 Nov06 ? 00:00:00 imapd > cyrus 11833 28447 0 Nov06 ? 00:00:00 imapd > cyrus 11979 28447 0 Nov06 ? 00:00:00 imapd > cyrus 12177 28447 0 Nov06 ? 00:00:00 imapd > cyrus 12299 28447 0 Nov06 ? 00:00:00 imapd > cyrus 15980 28447 0 Nov07 ? 00:00:00 imapd > cyrus 16309 28447 0 Nov07 ? 00:00:00 imapd > cyrus 17052 28447 0 Nov07 ? 00:00:00 imapd > cyrus 21465 28447 0 Nov07 ? 00:00:00 imapd > cyrus 21985 28447 0 Nov07 ? 00:00:00 imapd > cyrus 24784 28447 0 Nov08 ? 00:00:00 imapd > cyrus 24786 28447 0 Nov08 ? 00:00:00 imapd > cyrus 25416 28447 0 Nov08 ? 00:00:00 imapd > cyrus 25572 28447 0 Nov08 ? 00:00:00 imapd > cyrus 26366 28447 0 Nov08 ? 00:00:00 imapd > cyrus 26550 28447 0 Nov08 ? 00:00:00 imapd > cyrus 27087 28447 0 Nov08 ? 00:00:00 imapd > cyrus 27323 28447 0 Nov08 ? 00:00:00 imapd > cyrus 27873 28447 0 Nov08 ? 00:00:00 imapd > cyrus 29728 28447 0 Nov09 ? 00:00:00 imapd > cyrus 29933 28447 0 Nov09 ? 00:00:00 imapd > cyrus 30411 28447 0 Nov09 ? 00:00:00 imapd > cyrus 30658 28447 0 Nov09 ? 00:00:00 imapd > cyrus 30674 28447 0 Nov09 ? 00:00:00 imapd > cyrus 31046 28447 0 Nov09 ? 00:00:00 imapd > cyrus 32198 28447 0 Nov09 ? 00:00:00 imapd > cyrus 6798 28447 0 Nov11 ? 00:00:00 imapd > cyrus 6799 28447 0 Nov11 ? 00:00:00 imapd > cyrus 6936 28447 0 Nov11 ? 00:00:00 imapd > cyrus 8965 28447 0 Nov12 ? 00:00:00 imapd -s > cyrus 8978 28447 0 Nov12 ? 00:00:00 imapd -s > cyrus 9023 28447 0 Nov12 ? 00:00:00 imapd > cyrus 9859 28447 0 Nov12 ? 00:00:00 imapd > cyrus 10348 28447 0 Nov12 ? 00:00:00 imapd -s > cyrus 10349 28447 0 Nov12 ? 00:00:00 imapd -s > cyrus 10382 28447 0 Nov12 ? 00:00:00 imapd -s > cyrus 10398 28447 0 Nov12 ? 00:00:00 imapd -s > cyrus 13343 28447 0 09:28 ? 00:00:00 imapd -s > cyrus 13344 28447 0 09:28 ? 00:00:00 imapd -s > cyrus 13528 28447 0 10:27 ? 00:00:00 imapd > cyrus 13590 28447 0 10:39 ? 00:00:00 imapd > cyrus 14841 28447 0 15:56 ? 00:00:00 imapd > cyrus 14850 28447 0 15:59 ? 00:00:00 imapd > cyrus 15590 28447 0 17:59 ? 00:00:00 imapd > cyrus 15671 28447 0 18:10 ? 00:00:00 imapd > cyrus 15721 28447 0 18:15 ? 00:00:00 imapd -s > cyrus 15722 28447 0 18:15 ? 00:00:00 imapd -s > cyrus 15756 28447 0 18:22 ? 00:00:00 imapd > cyrus 15776 28447 0 18:26 ? 00:00:00 imapd > cyrus 15872 28447 0 18:39 ? 00:00:00 imapd > cyrus 15893 28447 0 18:44 ? 00:00:00 imapd > cyrus 15944 28447 0 18:51 ? 00:00:00 imapd > cyrus 15951 28447 0 18:53 ? 00:00:00 imapd > cyrus 16001 28447 0 19:02 ? 00:00:00 imapd > cyrus 16137 28447 0 19:45 ? 00:00:00 imapd > cyrus 16435 28447 0 21:21 ? 00:00:00 lmtpd