Problem with default_process_limit max 200

Jean-François Sénéchal jean-francois.senechal at ac.marche.be
Mon Dec 19 09:30:14 UTC 2016


Hello,

The default_process_limit parameter is limited to 200
On my server there is a lot of connection imap and this figure is 
quickly reached
And users can no longer connect

If I try to increase it I get this error message

Warning: service auth { client_limit=1000 } is lower than required under 
max. load (1100)
[....] Restarting IMAP/POP3 mail server: dovecotdoveconf: Warning: 
service auth { client_limit=1000 } is lower than required under max. 
load (1100)
Warning: service auth { client_limit=1000 } is lower than required under 
max. load (1100)

How do I solve this problem?

My full config
# 2.2.13: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.11
auth_master_user_separator = *
auth_mechanisms = plain login
auth_verbose = yes
debug_log_path = /var/log/dovecot.debug
default_process_limit = 200
dict {
   expire = mysql:/etc/dovecot/dovecot-dict-expire.conf.ext
}
disable_plaintext_auth = no
first_valid_gid = 5000
first_valid_uid = 3000
imapc_features = rfc822.size fetch-headers
imapc_host = mail.marche.be
imapc_list_prefix = INBOX
imapc_master_user = cyrus
imapc_password = homer
imapc_user = dherman
info_log_path = /var/log/dovecot.log
last_valid_gid = 5000
log_path = /var/log/dovecot.log
mail_gid = 5000
mail_location = maildir:~/Maildir:LAYOUT=fs
mail_plugins = " expire quota"
mail_prefetch_count = 20
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 ihave
namespace inbox {
   inbox = yes
   location =
   mailbox Drafts {
     auto = subscribe
     special_use = \Drafts
   }
   mailbox Junk {
     auto = subscribe
     special_use = \Junk
   }
   mailbox Sent {
     auto = subscribe
     special_use = \Sent
   }
   mailbox "Sent Messages" {
     special_use = \Sent
   }
   mailbox Trash {
     auto = subscribe
     special_use = \Trash
   }
   prefix =
   type = private
}
passdb {
   args = /etc/dovecot/dovecot-ldap.conf.ext
   driver = ldap
}
passdb {
   args = /etc/dovecot/dovecot-master-users
   driver = passwd-file
   master = yes
}
passdb {
   driver = shadow
}
plugin {
   expire = Trash
   expire2 = Trash/*
   expire3 = Spam
   expire_cache = yes
   expire_dict = proxy::expire
   quota = maildir:User quota
   quota_grace = 10%%
   quota_rule = *:storage=150M
   quota_rule2 = Trash:storage=+100M
   quota_warning = storage=95%% quota-warning 95 %u
   quota_warning2 = storage=90%% quota-warning 90 %u
   sieve = ~/.dovecot.sieve
   sieve_before = /etc/dovecot/sieve/before.sieve
   sieve_dir = ~/sieve
   sieve_global_dir = /etc/dovecot/sieve/
   stats_refresh = 30 secs
   stats_track_cmds = yes
}
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
postmaster_address = jf at marche.be
protocols = imap pop3 lmtp sieve
quota_full_tempfail = yes
service auth {
   unix_listener /var/spool/postfix/private/auth {
     group = postfix
     mode = 0666
     user = postfix
   }
   unix_listener auth-userdb {
     group = vmail
     mode = 0666
   }
}
service dict {
   unix_listener dict {
     group = vmail
     mode = 0666
   }
}
service imap-login {
   process_limit = 200
   process_min_avail = 2
}
service imap {
   process_limit = 1024
}
service lmtp {
   unix_listener /var/spool/postfix/private/dovecot-lmtp {
     group = postfix
     mode = 0600
     user = postfix
   }
}
service pop3-login {
   inet_listener pop3 {
     port = 110
   }
}
service quota-warning {
   executable = script /usr/local/bin/quota-warning.sh
   user = dovecot
}
ssl_ca = </etc/dovecot/ssl/server-ca.crt
ssl_cert = </etc/dovecot/ssl/marche.crt
ssl_dh_parameters_length = 2048
ssl_key = </etc/dovecot/private/marche.key
ssl_protocols = !SSLv2 !SSLv3
userdb {
   args = /etc/dovecot/dovecot-ldap.conf.ext
   driver = ldap
}
userdb {
   driver = passwd
}
protocol lmtp {
   mail_plugins = " expire quota sieve"
   postmaster_address = jf at marche.be
}
protocol imap {
   mail_max_userip_connections = 5
   mail_plugins = " expire quota imap_quota"
}
protocol sieve {
   mail_max_userip_connections = 5
}
protocol pop3 {
   mail_max_userip_connections = 5
   mail_plugins = " expire quota"
}



More information about the dovecot mailing list