On Tue, May 22, 2007, Jacques Beaudoin <[EMAIL PROTECTED]> said:

> Does anybody have a quick HOWTO of these POP3 LMTP an IMAP
> dbmail.comf parameteres... I wan't to do some fine-tuning on my system.
> 
> NCHILDREN=40
> MAXCHILDREN=200

NCHILDREN is the number of child processes to always have available.

MAXCHILDREN is the limit to how many processes will start. 200 is also the
hard limit in the code.

Make sure that you have enough database connections allowed from your
database configs to handle up to maxchildren open database handles.

> MINSPARECHILDREN=2
> MAXSPARECHILDREN=4

The spare children exist in the space between NCHILDREN and MAXCHILDREN.

If you get spikes of heavy usage, you might need more spare children than
this, so that as each connection comes in, the next child process will be
spun up right away to handle another incoming connection.

> MAXCONNECTS=10000

This is a 'self-destruct' option that causes a child process to shut
itself down after servicing MAXCONNECTS session. This is so that child
processes do not grow too large because of memory leaks or allocation slab
fragmentation. The default is too high for version of DBMail up to and
including 2.2.4, which all have some nasty memory leaks. If you deploy
2.2.5rc3 or later you should be fine.

Aaron
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to