timeouts imapd

Bron Gondwana brong at fastmail.fm
Fri Apr 4 06:39:07 EDT 2014



On Fri, Apr 4, 2014, at 07:41 PM, Lutz Kittler wrote:
> Hi,
> 
> we use cyrus-imapd ( 2.4.16 ) , SASL and postfix ( 2.9.6 ) on
> Debian stable. We have problems with timeouts of imapd,
> eg. getting "cannot save to Sent" when sending a message.
> 
> I looked to the log-files and found 2 things:
> 
> 1. There are many entries of following kind in /var/log/debug:
> 
>    Apr  4 10:29:04 master1 lmtpd: waiting 15 seconds for debugger
>    Apr  4 10:31:38 master1 imapd: waiting 15 seconds for debugger
> 
> 2. At the same time I see in /var/log/messages
> 
> Apr  4 10:28:39 master1 rsyslogd-2177: imuxsock begins to drop messages from pid 757 due to rate-limiting
> Apr  4 10:28:40 master1 rsyslogd-2177: imuxsock lost 12 messages from pid 757 due to rate-limiting
> 
> 
> Why imapd/lmtpd are waiting for a debugger ? I didnt want to debug anything. Where may be a wrong
> entry in configuration files ?

    p = getenv("CYRUS_VERBOSE");
    if (p) verbose = atoi(p) + 1;

    if (verbose > 30) {
>-------syslog(LOG_DEBUG, "waiting 15 seconds for debugger");
>-------sleep(15);
    }

Ok, so it's the environment variable CYRUS_VERBOSE.  Set it to less than 30.

Seems pretty poorly documented...

Cheers,

Bron.


-- 
  Bron Gondwana
  brong at fastmail.fm


More information about the Info-cyrus mailing list