1 (edited by kevinnksk 2018-06-27 09:45:17)

Topic: IMAP connect limitation on dovecot

======== Required information ====
- iRedMail version (check /etc/iredmail-release):  0.9.7 MARIADB edition
- Linux/BSD distribution name and version:  Centos
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? iRedAdmin-Pro-SQL-2.8.0
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.




User can't sync with the Server using IMAP and show below message



Jun 25 11:33:17 mail dovecot: master: Warning: Sent SIGKILL to 100 imap-login processes
Jun 25 11:33:17 mail dovecot: master: Warning: service(imap-login): process_limit (100) reached, client connections are being dropped
Jun 25 11:33:19 mail dovecot: master: Warning: Sent SIGKILL to 77 imap-login processes
Jun 25 15:45:53 mail dovecot: master: Warning: Sent SIGKILL to 100 imap-login processes
Jun 25 15:45:53 mail dovecot: master: Warning: service(imap-login): process_limit (100) reached, client connections are being dropped
Jun 25 15:45:55 mail dovecot: master: Warning: Sent SIGKILL to 87 imap-login processes
Jun 26 11:42:13 mail dovecot: master: Warning: Sent SIGKILL to 100 imap-login processes
Jun 26 11:42:13 mail dovecot: master: Warning: service(imap-login): process_limit (100) reached, client connections are being dropped
Jun 26 11:42:16 mail dovecot: master: Warning: Sent SIGKILL to 99 imap-login processes
Jun 26 11:42:18 mail dovecot: master: Warning: Sent SIGKILL to 99 imap-login processes
Jun 26 11:42:20 mail dovecot: master: Warning: Sent SIGKILL to 100 imap-login processes
Jun 26 11:42:29 mail dovecot: master: Warning: Sent SIGKILL to 99 imap-login processes
Jun 26 11:42:31 mail dovecot: master: Warning: Sent SIGKILL to 100 imap-login processes
Jun 26 11:42:33 mail dovecot: master: Warning: Sent SIGKILL to 100 imap-login processes
Jun 26 11:42:35 mail dovecot: master: Warning: Sent SIGKILL to 98 imap-login processes
Jun 26 11:43:36 mail dovecot: master: Warning: Sent SIGKILL to 100 imap-login processes
Jun 26 11:43:36 mail dovecot: master: Warning: service(imap-login): process_limit (100) reached, client connections are being dropped
Jun 26 11:43:38 mail dovecot: master: Warning: Sent SIGKILL to 99 imap-login processes
Jun 26 11:43:40 mail dovecot: master: Warning: Sent SIGKILL to 98 imap-login processes
Jun 26 15:09:05 mail dovecot: master: Warning: Sent SIGKILL to 100 imap-login processes
Jun 26 15:09:17 mail dovecot: master: Warning: Sent SIGKILL to 99 imap-login processes


after above finding, i try adjust the connection to 10000 and restart the service then show the warning message. could tell me how to increase the IMAP connection?  i attached dovecot config file

1)
/etc/dovecot/dovecot.conf

default_process_limit = 10000

2)
mail_max_userip_connections = 10000

* all office user will nat to same ip. eg.192.168.2.1

3)
mysql> SET GLOBAL max_connections = 10000;




Jun 27 02:11:13 mail dovecot: config: Warning: service auth { client_limit=1000 } is lower than required under max. load (60000)
Jun 27 02:11:13 mail dovecot: config: Warning: service anvil { client_limit=1000 } is lower than required under max. load (40003)

Post's attachments

dovecot setting.txt 27.29 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: IMAP connect limitation on dovecot

Just follow the dovecot warning message to increase "client_limit" in "service auth {}" and "service anvil {}" block. If they're not exist, create it manually.

3

Re: IMAP connect limitation on dovecot

ZhangHuangbin wrote:

Just follow the dovecot warning message to increase "client_limit" in "service auth {}" and "service anvil {}" block. If they're not exist, create it manually.


sorry, i can't find the "service auth {}" and "service anvil {}" on dovecot. may i know the path? thanks a lot.

4

Re: IMAP connect limitation on dovecot

In Dovecot config file, /etc/dovecot/dovecot.conf.