[Dovecot] Calculation of suggested vsz_limit values

Timo Sirainen tss at iki.fi
Tue Dec 20 07:26:26 EET 2011


On 16.12.2011, at 11.09, Nikolaos Milas wrote:

> I would like to ask on suggested vsz_limit values.
> 
> Is there any way of calculating such values?

Not really. For mail related processes (imap, pop3, lmtp) you could find the largest dovecot.index.cache file and make sure that vsz_limit is at least 3 times that.

> How should we determine them? I don't want to risk wrong values (and possible errors) on a production system, if I upgrade to 2.0.16 where vsz_limit values are enforced (I read release notes)!

If you're very worried, you can simply disable the vsz limits by setting them to 0.

The default 256 MB limit is good enough for most uses though.



More information about the dovecot mailing list