Hi Thomas,

Thanks for coming back to me. The large number of connections is the result
of the slowness not the other way around. For example the first delivery of
this email was attempted at 17:08. It completed at around midnight. When it
started there were no other connection from this IP address evident in the
logs.

The cipher listed in the header is SMTPS(TLSv1 ECDHE-RSA-AES128-SHA)

I have done a spot check of other emails and can see plenty with the same
header that don't have the slowness problem. We currently have about 10
SMTP sessions in threads on each server. Does ASSP offer any way to see
anything is getting overloaded? The server itself has free memory and a low
load average with ~20% CPU usage

All the best,
Colin Waring.

On Thu, Jan 21, 2016 at 1:31 PM, Thomas Eckardt <thomas.ecka...@thockar.com>
wrote:

> >takes 9 hours to deliver a 5MB email
>
> If 250 connections - and each want to transfer 5MB - this may be the
> result ?
>
> >So, the question is why does TLS make some connections so slow?
>
> The math depends on the SSL-key size (512,1024,2048,4096) and the used
> cipher. IMHO this can't be the reason.
> I never had an issue with the TLS speed, but I also never had 250 TLS
> connections at the same time.
>
> Possibly it is worth to have a look at the used SSL-version
> (SSLv3,TLS1_0,TLS1_1,TLS1_2) and the used cipher. The received header
> added by assp should show it. It would be also nice to know, if the issue
> happens, if there are only 1-5 TLS connection active at the same time.
> Or if this happens only, if multiple TLS connections from an IP are
> handled in the same worker at the same time?
> Maybe any module component gets somehow overloaded - Net::SSLeay for
> example. Who knows?
>
>
> Thomas
>
>
>
>
> Von:    cw <colin.war...@gmail.com>
> An:     ASSP development mailing list <Assp-test@lists.sourceforge.net>
> Datum:  21.01.2016 13:47
> Betreff:        Re: [Assp-test] Connection issues
>
>
>
> Hi,
>
> I'm following this up because I managed to get in touch with the support
> guys from LogicNow that run SMTPRoutes.com
>
> After a lot of back and forth and looking at various logs we elected to
> try
> it without TLS. I added their IP ranges to NoTLSIP and the message
> slowness
> disappeared completely. The next delivery attempt for the message
> succeeded
> so this looks to be an issue that causes TLS connections to be incredibly
> slow.
>
> The mailbombing effect is a side effect from the configurations rather
> than
> the actual issue.
>
> So, the question is why does TLS make some connections so slow that it
> takes 9 hours to deliver a 5MB email and how can we troubleshoot that?
>
>
> On Thu, Jan 21, 2016 at 11:20 AM, cw <colin.war...@gmail.com> wrote:
>
> > Hi,
> >
> > We're struggling with a significant issue that impacts quite heavily on
> > the system. The issue is that a sender will start delivering a message
> with
> > an attachment above the noprocessing limit and also whitelisted.
> >
> > The attachment comes in very slowly and the current example I have takes
> > about 9 hours for a simple 5Mb email. Currently the MTA is set to time
> out
> > at 1 hour, so the message is way past where it should have stopped. I
> did
> > previously have ASSP set to time out connections at half an hour.
> >
> > The problem comes when for some unknown reason, after 5-10 minutes, the
> > remote sender opens another connection and attempts to redeliver the
> > message whilst the original message is still ongoing. My initial
> instinct
> > with this was that is a serious misconfiguration on behalf of the remote
> > sender.
> >
> > However, the senders affected are Gmail (including Google Apps), Yahoo
> > Mail (including BT Internet) and SMTPRoutes (a large worldwide spam
> > filtering solution run by GFI.com). It does not seem to affect all
> > connections from them and only seems to affect specific messages (ie
> other
> > messages will come from the same IPs fine whilst this message is
> "stuck).
> >
> > This screenshot shows what I am talking about, in this case we have
> about
> > 250 connections open from that IP and all seem to be receiving data.
> This
> > causes obvious slowness on our mail platform and wastes quite a lot of
> > bandwidth.
> >
> > http://www.dolphinict.co.uk/connections.png
> >
> > The message concerned started at 17:09 on the 19th and is still going.
> > What is even more odd is that the person concerned received the message
> at
> > around 21:00 on the 19th successfully
> >
> > As all these platforms have many different IP addresses it is very
> > difficult to troubleshoot. I am trying to get in touch with the support
> > team for SMTPRoutes as we use some of their other products. I also have
> > some connection debug files that are revelant and an example of the
> maillog
> > below. Our datacentre has checked the transit links to the relevant
> > datacentres and sees no issue. I'm struggling with how else to
> troubleshoot
> > this.
> >
> > Am I the only one seeing this kind of behaviour? Our servers have been
> > fully updated more than once (including perl modules) since this issue
> > started. Our MD is starting to get twitchy and I can see him pushing us
> to
> > consider third party hosted services instead of our own if this can't be
> > tracked down.
> >
> > 2016-01-19 20:31:15 m1-35475-10020 [Worker_6] [TLS-in] 94.186.192.136
> > <supp...@domain.tld> info: found message size announcement: 5.36 MByte
> > 2016-01-19 20:31:15 m1-35475-10020 [Worker_6] [TLS-in] 94.186.192.136
> > <supp...@domain.tld> IP 94.186.192.136 matches whiteListedIPs - with
> > 94.186.128.0/17
> > 2016-01-19 20:31:15 m1-35475-10020 [Worker_6] [TLS-in] 94.186.192.136
> > <supp...@domain.tld> message proxied without processing - message size
> > (5623467) is above 512000 (npSize).
> > 2016-01-19 20:31:15 m1-35475-10020 [Worker_6] [TLS-in] 94.186.192.136
> > <supp...@domain.tld> [SMTP Reply] 250 OK
> > 2016-01-19 20:31:16 m1-35475-10020 [Worker_6] [TLS-in] 94.186.192.136
> > <supp...@domain.tld> to: recipi...@domain.tld [SMTP Reply] 250 Accepted
> > 2016-01-19 20:31:16 m1-35475-10020 [Worker_6] [TLS-in] 94.186.192.136
> > <supp...@domain.tld> to: recipi...@domain.tld [SMTP Reply] 354 Enter
> > message, ending with "." on a line by itself
> > 2016-01-19 20:31:22 m1-35475-10020 [Worker_6] [TLS-in] 94.186.192.136
> > <supp...@domain.tld> to: recipi...@domain.tld Whitelisted sender
> address:
> > supp...@domain.tld for recipient recipi...@domain.tld
> > 2016-01-20 04:08:23 m1-35475-10020 [Worker_6] [TLS-in] 94.186.192.136
> > <sen...@domain.tld> to: recipi...@domain.tld [Plugin] calling plugin
> > ASSP_AFC
> > 2016-01-20 04:08:24 m1-35475-10020 [Worker_6] [TLS-in] 94.186.192.136
> > <sen...@domain.tld> to: recipi...@domain.tld info: 1 attachment found
> for
> > Level-1
> > 2016-01-20 04:08:24 m1-35475-10020 [Worker_6] [TLS-in] 94.186.192.136
> > <sen...@domain.tld> to: recipi...@domain.tld message proxied without
> > processing (no bad attachments)
> > 2016-01-20 04:08:24 m1-35475-10020 [Worker_6] [TLS-in] [MessageOK]
> > 94.186.192.136 <sen...@domain.tld> to: recipi...@domain.tld message ok -
> > (noProcessing - message size (5623467) is above 512000 (npSize)) - [KFI]
> ->
> > /usr/local/assp/store/okmail/KFI--1513900.eml
> > 2016-01-20 04:08:24 m1-35475-10020 [Worker_6] [TLS-in] 94.186.192.136
> > <sen...@domain.tld> to: recipi...@domain.tld info: received all data -
> > all data moved to send queue (8)
> > 2016-01-20 04:08:25 m1-35475-10020 [Worker_6] [TLS-in] 94.186.192.136
> > <sen...@domain.tld> to: recipi...@domain.tld info: no (more) data
> > readable from 94.186.192.136 (connection closed by peer) - last command
> was
> > 'DATA'
> >
> >
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> Assp-test mailing list
> Assp-test@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/assp-test
>
>
>
>
> DISCLAIMER:
> *******************************************************
> This email and any files transmitted with it may be confidential, legally
> privileged and protected in law and are intended solely for the use of the
>
> individual to whom it is addressed.
> This email was multiple times scanned for viruses. There should be no
> known virus in this email!
> *******************************************************
>
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> Assp-test mailing list
> Assp-test@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/assp-test
>
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to