[prev in list] [next in list] [prev in thread] [next in thread]
List: postfix-users
Subject: Re: postfix milter body chunk length
From: Matthias Schneider <matthias.schneider () rmail ! de>
Date: 2019-08-19 8:54:49
Message-ID: 7fc2712d-7ff3-bd6c-3051-8221f1685859 () rmail ! de
[Download RAW message or body]
After switching from tcp to unix socket, postfix as milter client is
fast like a rocket (less than a second).
Just wondering which tcp parameter causes the long delay
Matthias Schneider
Am 19.08.19 um 10:34 schrieb Matthias Schneider:
> Chris, can you tell me your postfix version/settings?
>
> When i do a load-test on my milter application, i can also get 100mb
> in about a second proceesed (with 65535 sized chunks).
>
> But postfix (3.3.0 and 3.4.5) only sends about 24 body chunks per
> second to my milter application. Its the only milter configured and
> the milter is running on
> https://protection.retarus.com/v1?u=127.0.0.1&c=3ii9Gwp&r=3FiFpNbrhgwKRK1FMoFWR1&k=7s1&s=2xmP97Jog50dON88kIi5CzD5MGfUsDQvVF2HIwJfHq4 \
> (so no latency issues)
>
> Matthias
>
>
>
>
> Am 16.08.19 um 18:06 schrieb Chris Wedgwood:
> > > Postfix with default milter body chunk size 65535:
> > >
> > > mail processing time 1m30.154298259s
> > >
> > > Postfix with milter body chunk size 1048576:
> > >
> > > mail processing time 17.52360866s
> > it looks to me like postfix is able to feed a milter very quickly
> >
> > i just did a couple of quick tests here, an ~83 MiB message only takes
> > a second or two to pass through two milters (debug log shows 1360 64K
> > fragments and one smaller tail fragment)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic