Victor Duchovni wrote:
On Thu, Jul 01, 2010 at 10:12:38AM +0200, Luciana Moreira wrote:

Hello guys,

I am working on tunning our postfix server which is already much faster dues to the great input I got in this list :)

I now have to configure our proxymap to have the number of processes equal to the maximum required during a burst situation. My question is: could any of these functions bellow happen in parallel?

The cleanup and SMTP servers can work in parallel. If mysql is slow,
make sure your tables are properly indexed, and queries are not so
complex that they can only be resolved via a "table scan".
Is this also true for one single message?

I know the cleanup server can process messages while smtpd is executing other tasks. But I expected the flow of a single message to be smtpd and then cleanup, i.e. for the same message we would not have parallel requests to cleanup and sender checks.

Could you please confirm that?

btw, mysql is not slow, it is just that we would like to avoid wasted memory allocation for processes that will be _always_ sitting there doing nothing since there are more processes assigned than actually needed.

Another question also in regard to proxymap tuning: If I define less proxymap processes than what may be needed in a certain time period, will the postfix scheduler hold the request until a process is available or will there be an error returned to the function using mysql?

Regards,
Luciana
If you need to tune proxymap, something else is wrong, and you should
fix that.



Reply via email to