From: Erik Logtenberg on
Hi,

I have a small question about anvil: every now and then it logs three
lines about statistics. I don't quite understand what they mean. This is
an example:

Mar 17 00:30:49 mx postfix/anvil[28510]: statistics: max connection rate
1/60s for (mx.mydomain.eu:smtp:168.100.1.7) at Mar 17 00:27:28
Mar 17 00:30:49 mx postfix/anvil[28510]: statistics: max connection
count 1 for (mx.mydomain.eu:smtp:168.100.1.7) at Mar 17 00:27:28
Mar 17 00:30:49 mx postfix/anvil[28510]: statistics: max cache size 1 at
Mar 17 00:27:28

The IP mentioned in the lines is the last one that connected just before
anvil logged these statistics (yes, that's the postfix-users mailing list).

Could anyone please explain for each of these three lines what they
exactly mean? I don't think anything is wrong, it's just that I like to
fully understand what't going on, and I haven't figured this out yet.
Also anvil doesn't log these statistics for every connection made, just
every so many minutes. Is there something special about the specific IP
address that it logs?

Kind regards,

Erik.

From: Ralf Hildebrandt on
* Erik Logtenberg <erik(a)logtenberg.eu>:
> Hi,
>
> I have a small question about anvil: every now and then it logs three
> lines about statistics. I don't quite understand what they mean. This is
> an example:
>
> 1/60s for (mx.mydomain.eu:smtp:168.100.1.7) at Mar 17 00:27:28
> Mar 17 00:30:49 mx postfix/anvil[28510]: statistics: max connection rate

The maximum connection rate is one connection during a 60s period.
YOur server is not very busy

> Mar 17 00:30:49 mx postfix/anvil[28510]: statistics: max connection
> count 1 for (mx.mydomain.eu:smtp:168.100.1.7) at Mar 17 00:27:28

There is at most 1 simultaneous connection during a 60s period.
Your server is not very busy

> Also anvil doesn't log these statistics for every connection made, just
> every so many minutes. Is there something special about the specific IP
> address that it logs?

It's just the client which set the maximum

--
Ralf Hildebrandt
Geschäftsbereich IT | Abteilung Netzwerk
Charité - Universitätsmedizin Berlin
Campus Benjamin Franklin
Hindenburgdamm 30 | D-12203 Berlin
Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
ralf.hildebrandt(a)charite.de | http://www.charite.de