In this moment I have more than 400 delivery of a 178kb text/html
message... no attachment...

For specific senders I may:
- apply a very restrictive throttling
- skip spamassassin check




On Fri, Jun 28, 2019 at 3:18 PM Matus UHLAR - fantomas <uh...@fantomas.sk>
wrote:

> >> On 28.06.19 12:03, hg user wrote:
> >> >I did investigate a bit and was able to link spikes in emails received
> on
> >> >the external MTAs to spikes in messages queued in amavisd.
> >> >
> >> >As soon as I receive a mailing list/newsletter kind of email addressed
> to
> >> >several hundreds recipients and the message size is more than 70kb, the
> >> >messages starts to queue up.
> >> >
> >> >A message I was able to isolate is 94kb, has text and html part and
> >> >processing via command line takes about 6 seconds, I received 500+ of
> them.
> >> >Due to unsubscribe urls containing the mail address, all messages have
> >> >different hashes
>
> >On Fri, Jun 28, 2019 at 01:23:38PM +0200, Matus UHLAR - fantomas wrote:
> >> 6 seconds message scanning is quite fast. I have set up
> >> razor,pyzor,dcc,dnsbl timeouts to 20 seconds to improve
> >> acurracy (maybe marginally, but I don't care).
> >>
> >> If you receive that much mail often, you need faster computer.
> >> Maybe sa-compile would help you a bit, but only with CPU usage, network
> >> checks need time (and they are effective so don't mess them up).
>
> On 28.06.19 15:09, Henrik K wrote:
> >If the bottleneck is network checks, one should just increase parallel
> >processes.  But OP probably has some other problems if regex are taking so
> >long (suggested by the 100% CPU usage).
>
> processing 370 of 70k emails within a few seconds of course results in 100%
> cpu usage for those few seconds :-)
>
> >Biggest improvement comes from razor/pyzor/dcc being asynchronous in
> trunk,
> >I suggest trying it if possible. :-)
>
> great news.
> --
> Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
> Warning: I wish NOT to receive e-mail advertising to this address.
> Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
> Eagles may soar, but weasels don't get sucked into jet engines.
>

Reply via email to