On 08-04-14 19:22, Andrea Brancatelli wrote:

So, the question is.... How much ram should dbmail imapd allocate
normally? Is it possible that there's some kind of memleak there?
Should I arrange some kind of automatic restart at night?

Dbmail 3.1.12

The amount of allocated memory should be pretty stable. If you see increasing amounts, chances are you hit a leak. Since you run 3.1.12, I would call that a certainty. Upgrade to 3.1.13 since that fixed a significant leak.

http://git.dbmail.eu/paul/dbmail/log/?h=dbmail_3_1&id=v3.1.13

In general, it is advisable to put an imap proxy in front of dbmail. Nginx and Dovecot are known to provide better networking behavior under adverse conditions, i.e. mis-behaving tcp connections. Dbmail has been getting better at those, but better be safe than sorry.

And yes, a restart every night is cheap and fast. No reason not to do it. If that is in conflict with your HA policy, put a HA-Proxy instance in front, and do rolling restarts.

Paul.
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to