Jesper Dybdal via Postfix-users:
> On 2023-09-13 09:00, Matus UHLAR - fantomas via Postfix-users wrote (in 
> another thread):
> 
> > you may need to limit number of concurrent amavis instances if you 
> > don't have enough of CPU or RAM, e.g. in main.cf:
> >
> > smtp-amavis_destination_concurrency_limit = 2
> >
> > and in amavis config:
> >
> > $max_servers = 2;
> 
> which have prompted me to take a look at my own amavis process limit.
> 
> I use amavis as a post-queue filter for submission (via 587, 465, or 
> sendmail(1)) and amavis-milter as pre-queue filter on port 25. What is 
> the correct way to limit the total number of active concurrent amavis 
> process?
> 
> Will I get the desired effect if I ensure that 
> _destination_concurrency_limit for the post-queue amavis smtp plus the 
> process limit for the port 25 smtpd does not exceed the number of amavis 
> processes?

If both mail streams share one pool of amavis processes, then this
amavis configuration should provide at least the number of processes
that the two use mail streams need.

However, it is not obvious that both mail streams should use the
same pool of amavis processes (i.e. the same filters).

        Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to