On May 21, 2008, at 9:40 AM, Peter Eriksson wrote:
mail_process_size setting limits this to 256 MB by default. You could increase it or drop it completely. It's there mainly to catch memory leaks and such because users rarely reach this limit.
Question: Should Dovecot handle this better somehow?
Perhaps the error message could mention mail_process_size setting. :)
Perhaps. Or some sizing guidelines next to that setting in the config file so one can make some decision on how many mails you wish to
support per folder... (Ie, 256MB -> max 471142 mails). Might be difficult to
get an exakt number depending on CPU limits (alignment of data types in structs and stuff).
It mostly depends on mails and clients. dovecot.index.cache file takes
most of the memory and there's no good way to estimate its size.
Btw, why is the whole Dovecot system shutting down due to a bug in the 'imap' subprocess? It's rather annoying for the rest of the users...
It shouldnt' be.
May 20 15:16:32 ifm.liu.se dovecot: [ID 107833 mail.info] IMAP(inand): Server shutting down
Do you mean you didn't cause this manually?