Forcibly terminated after 10 milliseconds

Doug Luce doug at dovecot.con.com
Thu Nov 3 19:28:42 UTC 2016


After an OS upgrade (to FreeBSD 11 with pkg Dovecot 2.2.26) I'm getting this sort of thing in my logs:

   Nov  3 12:15:16 toma dovecot: lda(doug): Error: program `/usr/local/lib/dovecot/sieve-pipe/growlmail' was forcibly terminated with signal 15

Debugging gives a little more info:

   Nov  3 12:05:51 toma dovecot: lda(doug): Debug: waiting for program `/usr/local/lib/dovecot/sieve-pipe/growlmail' to finish after 0 msecs
   Nov  3 12:05:51 toma dovecot: lda(doug): Debug: program `/usr/local/lib/dovecot/sieve-pipe/growlmail'(11794) execution timed out after 10 milliseconds: sending TERM signal

growlmail is specified via a sieve rule: pipe :try :copy "growlmail";

This would seem to be a function of input_idle_timeout_msecs in lib-program-client/program-client-local.c, but it's not clear where this is set (or why it would be 10 milliseconds by default).

Is there a way to up this timeout?

Thanks,

Doug


# 2.2.26 (54d6540): /usr/local/etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.15 (97b3da0)
# OS: FreeBSD 11.0-RELEASE-p2 amd64 
auth_debug = yes
auth_debug_passwords = yes
auth_mechanisms = plain login
auth_verbose = yes
auth_verbose_passwords = plain
base_dir = /var/dovecot/
debug_log_path = /var/log/dovecot-debug.log
default_login_user = nobody
mail_debug = yes
mail_fsync = never
mail_location = maildir:~/Maildir:INDEX=/var/indexes/%u
mail_plugins = " fts fts_solr"
maildir_very_dirty_syncs = yes
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext vnd.dovecot.pipe vnd.dovecot.execute
mbox_write_locks = fcntl
passdb {
   args = failure_show_msg=yes dovecot
   driver = pam
}
plugin {
   fts = solr
   fts_autoindex = yes
   fts_solr = url=http://localhost:4949/solr/dovecot/
   fts_tika = http://localhost:9998/tika
   sieve = ~/.dovecot.sieve
   sieve_dir = ~/sieve
   sieve_execute_bin_dir = /usr/local/lib/dovecot/sieve-execute
   sieve_extensions = +vnd.dovecot.pipe +vnd.dovecot.execute
   sieve_pipe_bin_dir = /usr/local/lib/dovecot/sieve-pipe
   sieve_plugins = sieve_extprograms
   sieve_vacation_dont_check_recipient = yes
}
protocols = imap sieve lmtp
service auth {
   service_count = 0
   unix_listener /var/spool/postfix/private/auth {
     group = postfix
     mode = 0660
     user = postfix
   }
   user = root
}
service imap-login {
   idle_kill = 0
   inet_listener imap {
     address = 127.0.0.1
     port = 143
   }
   inet_listener imaps {
     address = 0.0.0.0 127.0.0.1
     port = 993
   }
   service_count = 0
   user = dovecot
}
service lmtp {
   service_count = 0
   unix_listener /var/spool/postfix/private/dovecot-lmtp {
     group = postfix
     mode = 0600
     user = postfix
   }
}
service managesieve-login {
   group = dovecot
   inet_listener sieve {
     port = 4190
   }
   user = dovecot
}
ssl_cert = </usr/local/etc/nginx/ssl/con.crt
ssl_key =  # hidden, use -P to show it
userdb {
   driver = passwd
}
protocol imap {
   imap_client_workarounds = delay-newmail tb-extra-mailbox-sep
   mail_max_userip_connections = 20
}
protocol lda {
   mail_plugins = " fts fts_solr sieve"
}
protocol lmtp {
   mail_plugins = " fts fts_solr sieve"
}


More information about the dovecot mailing list