Yesterday I started to see (for the first time since upgrading to 
cyrus-2.0.16 on Jan 4th) a lot of messages from sendmail which 
indicated: "Could not connect to socket /var/imap/socket/lmtp: 
Connection refused by localhost".  I checked and there were no lmtpd 
processes running, even though my cyrus.conf indicated a prefork=1 for 
them.  This, of course, really messes up our mail delivery, since mail 
is coming in, but, it's not getting delivered.  I stopped sendmail & 
cyrus master, then started cyrus master & sendmail & it started up 
fine.  About 4 hours later, the same thing happened. Once again I went 
through the restart process.  I then rebooted our system around 6:00 pm 
last night (students return today), and all was fine until around 1:30 
this afternoon, when I started getting the same messages in syslog, but, 
there were about 30 lmtpd's running (over 100 sendmail's). This time I 
waited & after a few minutes lmtp would accept the connects, then reject 
them, etc.  Finally, I went through the restart process & it has been 
running fine since.

Needless to say, I am very concerned about this.  It sounds like I'm 
running into a resource problem, but, I have checked swap, disk space, 
memory usage, etc, and all seems fine.  Is it possible that I need to 
increase a network resource?  Or maybe, tell master to increase his 
listen queue on startup?

Here's the cyrus.conf file:
#
# cyrus.conf
#
# taken from prefork.conf as distributed with cyrus
# 20011010 - initial create date <crpeck>
#

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/imap/sockets
SERVICES {
   # add or remove based on preferences
   imap          cmd="imapd" listen="imap" prefork=5
   imaps         cmd="imapd -s" listen="imaps" prefork=1
   pop3          cmd="pop3d" listen="pop3" prefork=5
   pop3s         cmd="pop3d -s" listen="pop3s" prefork=1
   sieve         cmd="timsieved" listen="sieve" prefork=0

   # at least one LMTP is required for delivery
#  lmtp         cmd="lmtpd" listen="lmtp" prefork=0
   lmtpunix      cmd="lmtpd" listen="/var/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
}

Any suggesations on where to start would be appreciated...

-thanks
  chris


Chris Peck
Manager of Unix Services
Information Technology
The College of William and Mary
Williamsburg, VA 23187

Reply via email to