Do you mean to limit the smtpd processes or is there an option available
to limit the connections made by postfix to a policyd?

Currently i'm running 5 different checks in a tag&deliver mode.
This requires that every check is a single check_policy_service in
postfix. (each check can only return one action=PREPEND...)

If I use (only) 20 smtpd process postfix will keep 100 connections to the 
policyd
open which will result in 100 processes on the policyd side.
Which are most of the time just hanging around idle.
Each process eating up memory and keeping up an database connection.
If i configure postfix to close the connection (max_keepalive=1) even under 
full load
the policyd does not need to fork more that ~10 processes.
Most checks only take about 1-5ms.

On Fri, Jun 27, 2014 at 07:23:03AM -0400, Wietse Venema wrote:
> Why not ONLY have a connection use limit in Postfix that is
> less than the limit in the policy daemon?
> 
>       Wietse

Attachment: signature.asc
Description: Digital signature

Reply via email to