• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

service(imap-login): process_limit (100) reached (bug?)

finbarr69

Basic Pleskian
I have been seeing this error:
mail dovecot: master: Warning: service(imap-login): process_limit (100) reached, client connections are being dropped

In my /var/log/maillog file on a regular basis, and my customers have been complaining they have been unable to read their emails (typically it was Outlook users having the problem). So much so, I had to set up a cron to restart dovecot every 6 hours. But I had begun finding I was having to restart dovecot more and more frequently.

I even upped the process limits and the max per ip limits in Plesk to ridiculous values, but still I get this error.

Then I discovered that the imap-login default setting IS still only 100. Plesk isn't changing that when I alter the settings on the server-wide mail settings page. Aha! So why not? Sounds like a bug?

I have, for now, created a file as follows:

/etc/dovecot/conf.d/42-plesk-service-imap-login.conf

(I just made up the number 42, I don't know if that matters)

Inside that file, I put:

service imap-login {
service_count = 1
process_limit = 500
}


Then I did a final
/etc/init.d/dovecot restart

I have not seen the error message since then.

I think this is a very important discovery and should be taken into consideration by Plesk for fixing. I was on the point of upgrading the hardware as I thought my server had reached its limit when I found this setting.

My suggestion is that because you provide the user the ability to increase the number of connections per IP, and the max number of connections, you should also be increasing (or allowing us to easily increase) the process limit for the imap-login service (which is distinct from the imap service and has it's own process_limit setting).

I hope this helps others.

Brian
 
Back
Top