On Saturday 03 March 2007, Sandy Drobic wrote:
> John Andersen wrote:
> > On Saturday 03 March 2007, Sandy Drobic wrote:
> >> If you receive them with delay it is probably a delay on your
> >> mailserver.
> >
> > In my case it was hammer in postfix limiting his connection rate.
>
> Hammer? Or do you mean anvil? In any case, I never saw more than a few
> connections at the same time. Anvil should only limit concurrent
> connections if more than a few concurrent connections are opened.
>
> The default for $smtpd_client_connection_count_limit is 50 (half the
> default process limit of 100). What did you set it to?
>
>
> --
> Sandy
>
> List replies only please!
> Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com

Oh yeah, DUH, it was one of those blacksmith tools... ;-)

But, you've misread the job of anvil.  It will also RATE limit the
number of connections per unit of time.

Quoting the Postfix release notes: 

The new anvil server maintains the connection statistics, and logs
the maximum connection count and connection rate per client every
anvil_status_update_time seconds (10 minutes), or when it terminates
(when there is no work to be done, or when "postfix reload" was
issued). Once you have an idea what the numbers look like, you can
clamp down the limits for your system.

The relevant main.cf configuration parameters are: smtpd_client-
connection_count_limit for the number of simultaneous connections
per client, and smtpd_client_connection_rate_limit for the number
of successive connections per unit time and client. The time unit
is specified with the anvil_rate_time_unit parameter, and is one
minute by default.


-- 
_____________________________________
John Andersen

Attachment: pgp3A4ONTeYDD.pgp
Description: PGP signature

Reply via email to