20 Dec
2011
20 Dec
'11
7:26 a.m.
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.