As other people suggested, it's possible to limit the number of concurrent 
lmtpds by careful configuration of your MTA (at least Postfix and Sendmail 
both can do various sorts of limiting).  You might want to consider running 
Sendmail is queue-only mode with a very short queue run interval.

I'd rather not add these smarts to Cyrus right now if it can be helped.

Larry, only a few months behind

--On Wednesday, December 27, 2000 09:01:04 AM -0500 Jeremy Beker 
<[EMAIL PROTECTED]> wrote:

>
>        I have recently installed cyrus-imap 2.0.9 in a test environment in
> hopes of upgrading my company's mail server which is currently running
> the UW imap servers.  In general I have been very impressed with the
> operation, but I have run across one problem that is holding me up.
>        As a test, I dumped a high load of messages at the server (200 messages
> being delivered via smtp).  Sendmail accepts the messages and fires up a
> copy of deliver for each one.  This is where things get a little shaky.
> Now I have roughly 200 copies of deliver running each trying to connect
> to lmtpd.  At this point lmtpd dies, here is the syslog entries:
>
> Dec 27 07:34:49 blackops service-lmtpd[28232]: executed
> Dec 27 07:34:51 blackops lmtpd[28232]: DBERROR db3:
> /var/imap/db/__db.003: Too many open files in system
> Dec 27 07:34:52 blackops lmtpd[28232]: DBERROR: dbenv->open
> '/var/imap/db' failed: Too many open files in system
> Dec 27 07:34:52 blackops master[26906]: process 28232 exited, signaled
> to death by 11
> Dec 27 07:37:53 blackops master[26906]: process 28433 exited, status 0
> Dec 27 07:45:10 blackops master[26906]: exiting on SIGTERM
> Dec 27 07:45:10 blackops deliver[28456]: connect(/var/imap/socket/lmtp)
> failed: Connection refused
>
>        What I would like to do is limit the number of copies of deliver (and
> hence lmtpd) that are running at any one time.  If this number is
> exceeded, I want it to refuse delivery, forcing the mail to be queued
> up.  Is this possible?
>        And is there aby documentation for the /etc/cyrus.conf file available?
> I have a feeling my question could be answered by that, but I can't seem
> to find it.
>        Thanks in advance.
>
> -Jeremy
>
> --
> Jeremy Beker, Technical Manager
> Research & Development, 3-G International
> S/MIME Cert: http://employees.3gi.com/~jbeker/
> Condensing fact from the vapor of nuance.




Reply via email to