client_limit is lower than required under max. load

Follow

Comments

6 comments

  • Avatar
    Michael Mahlke

    Just as info, the posted resolution will only end in another error if used with the latest Plesk Onyx 17.8.11 on a CentOS 7.5 as you can read here.

    Aug 27 20:17:45 cebede dovecot: doveconf: Warning: service auth { client_limit=1000 } is lower than required under max. load (2248) 

    Aug 27 20:17:45 cebede dovecot: doveconf: Warning: service anvil { client_limit=1000 } is lower than required under max. load (2251)

    As you see, it's the same error just with a higher max. load in my maillog and I found this site by searching for a fix.  So after following the steps of this resolution, I got  this error:

    Aug 27 20:47:26 cebede dovecot: Warning: fd limit (ulimit -n) is lower than required under max. load (1024 < 2500), because of default_client_limit

    It looks like dovecot doesn't accept a default_client_limit, anyway if it is set in /etc/dovecot/conf.d/10-master.conf or in the dovecot.conf as client_limit like this, which was posted as resolution on another forum:

    service auth {
     client_limit = 10300
          unix_listener auth-userdb {
            mode = 0666
            user = vmail
            group = vmail
          }
     }
    
     service anvil {
     client_limit = 10300
     }

    If you will try the second, it will end with that error:

    Aug 27 21:04:00 cebede dovecot: doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 40: Unknown setting: service { {client_limit 

    Aug 27 21:04:00 cebede dovecot: doveconf: Error: managesieve-login: dump-capability process returned 89

    But the solution to get no errors is quite easy and really simple, there's no need to get a higher client_limit, in fact it's better to reduce the number of clients, which should be able to use the services of IMAP, POP3, IMAP over SSL/TLS or POP3 over SSL/TLS at the same time. If your client_limit is set to 1000 (Plesk's default), reduce it around 2/3 to 350, may depend on your server, but in my case this will work and you get rid of the errors.

  • Avatar
    Pavel Rozental

    Hi Michael Mahlke

    I checked that solution from this article helped several our clients. For this reason I will not change it.

    Probably in your case also resolution from https://support.plesk.com/hc/en-us/articles/115000155573 could help.

    Thank you for provided solution. 

  • Avatar
    b_p

    Hi @Pavel Rozental,

    I just tried the solution provided in this article (in my case the requested limits were a bit bigger than 2200). Thus, I set the default_client_limit to 2300. However, now I get the error message as stated by Michael:

    Warning: fd limit (ulimit -n) is lower than required under max. load (1024 < 2300), because of default_client_limit

    So it seems that your article does not help yet - at least for Plesk 17.8.11.

     

  • Avatar
    Pavel Rozental

    Hi b_p,

    > However, now I get the error message as stated by Michael:

    Did you try solution from https://support.plesk.com/hc/en-us/articles/115000155573 ?

  • Avatar
    b_p

    Well, the article is not available?!

  • Avatar
    Pavel Rozental

    Hello,

    I did not notice that it's internal article
    For "d limit (ulimit -n)" could you check this solution.

    1. Increase limit for file descriptors: 

      For RHEL/CentOS :

      Add the following line in the end of /etc/sysconfig/dovecot: 

      ulimit -n 1200

      For Debian/Ubuntu :

      Add the following line in /lib/systemd/system/dovecot.service in [Service] section: 

      LimitNOFILE=1400

      Note: the ulimit -n and LimitNOFILE values should be equal or more than default_client_limit one.

    2. Reload the daemon and restart the dovecot service: 

      # systemctl daemon-reload 
      # service dovecot start

Please sign in to leave a comment.

Have more questions? Submit a request