100 MB RAM per clinet in an imap-proxy setup ...

Aki Tuomi aki.tuomi at open-xchange.com
Fri Sep 3 10:01:56 EEST 2021


> On 03/09/2021 09:35 Tobias Oetiker <tobi at oetiker.ch> wrote:
> 
> 
> Hi All,
> 
> I spent some quality time yesterday, tuning dovecot on a server which serves as an imap-proxy in front of a zimbra setup
> the imap proxy does ldap client-cert authentication and works well. 
> 
> BUT
> 
> I found that the imap-login processes seem to gain 100 MB per connection they are accepting ... this seems pretty hefty.
> 
> It does not seem to be a leak, since the setup is stable when client_limit and process_limit are set appropriately.
> 
> Any ideas what part of the code I should be looking at ? Or is this a configuration problem ?
> 
> cheers
> tobi
> 
> -- 
> Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
> www.oetiker.ch tobi at oetiker.ch +41 62 775 9902

I would strongly recommend using "high performance" configuration on your proxy.

See https://doc.dovecot.org/admin_manual/login_processes/#high-performance-mode

Aki


More information about the dovecot mailing list