Developer forum

Forum » CMS - Standard features » Timeouts when sending large amounts of emails

Timeouts when sending large amounts of emails

Scott Forsyth Dynamicweb Employee
Scott Forsyth
Reply

Hello,

We're struggling with large mailings with a large number of recipients. This is the same project that I brought up a few months ago. The site is only able to send about 1200 emails at a time before it times out. Clicking on Retry will complete approximately another 1200. The total number to send is 24,286. 

I was going to ask more questions, but I just noticed one thing that I missed previously, so I have just one question.

The mailing was set up using the Dynamicweb Send Provider, which is using a SendGrid account (rather than the Marketing SendGrid provider). Am I correct that that doesn't perform well for large mailings, and that we should be using the Marketing's SendGrid provider instead? Could that be the issue with it timing out each time it tries to send the emails?

We continue to struggle with large mailings so I would like to find a stable option. If it's my mistake above, at least it would be good to know that it's the problem and we should expect it to work next time using the SendGrid provider.

Note that this is 9.13.3, but the same timeout issues happened on 9.10 too, for the same site. 

As a side, I tried the new throttle settings (https://doc.dynamicweb.com/forum/feature-requests/feature-requests/add-throttle-to-email-mailing), but that didn't help or hurt with the timeout issue. It still times out after a given amount of time.

Thanks,

Scott


Replies

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

HI Scott,

Hmm, DW9.13.3 already has #5139 fix (Dynamicweb.Mailing 5.0.4). Perhaps, it should be reimplemented if not fixed correctly in fact. I've asked to Nicolai (the task implementer) to reply it. So, let's wait for the feedback. Sorry for inconvience.

BR, Oleg QA   

 
Scott Forsyth Dynamicweb Employee
Scott Forsyth
Reply

Hi Oleg,

Regarding #5139, I don't have any reason to believe that didn't work. I didn't do much testing with it yet. That's meant to address high CPU issues. 

The problem for us thsi time is something different. It's with a timeout issue. I just now checked the EmailRecipient table and I see that the timeout was exactly 10 minutes each time. What appears to be happening is that, when using at least the Dynamicweb mail provider (set up to use SendGrid), it will send emails for 10 minutes and then time out. Someone has to manually click the retry link to get it to send for another 10 minutes at a time, and repeat the process until they are all sent. 

Thanks,

Scott 

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply
This post has been marked as an answer

Hi Scott,

regarding Nicolai's opinion, he's suggested to try to use marketing version of SendGrid first of all, since the issue can be caused on the provider side (probably limited on SendGrid side). Please, comment about results. Thanks.

BR, Oleg QA   

Votes for this answer: 1
 
Scott Forsyth Dynamicweb Employee
Scott Forsyth
Reply

Hi Oleg,

Ok, I'll do that. It will be a few months until the next large mailing, but we'll give it another try and see if it's addressed with the marketing version of SendGrid.

Thanks,

Scott

 

You must be logged in to post in the forum