Closed tanmay-predisai closed 1 week ago
Need some more details:
campaign_sends
table what state are the records in that are not complete?I have a thought - the basic difference between this newsletter campaign and the other campaigns (that are working fine) is that this one was scheduled for a specific time and not based on an event/or is part of a journey. Is that causing the remaining emails not to be sent as the (cron/batch?) job is not picking these up to be sent to the queue?
Another issue I noticed is that the campaign status still shows 99.8K sent (on the UI), while the above screenshot shows 161k sent. The campaign status is also not updated.
Thats quite a few emails stuck in pending for campaign 70 (which I'm assuming is the one with issues?). If you are using the default installation then you should be using the Redis queue. The first thing I would check is the memory limits on it and if they are being reached or not. If so it could be that the job queue isn't functioning properly and so you are only getting a fraction of sends every few minutes instead of all of them being in there. If they were all in the queue I would expect to see a bunch of messages with a status of "throttled" or something similar
Hello! Thank you for your revert.
This is what the stats look like - it seems Redis is not using more memory.
At a server level, we have 50% RAM unused. Should I allocate more memory and check?
I also checked the campaign_sends stats now and they look the same as my last screenshot. It seems that the remaining emails from the campaign are not being picked up for sending.
Is there something more i can check? Thank you for your help!
Were you ever able to get to the bottom of this? My gut still thinks it is probably related to either Redis consuming too much memory and items getting purged or your job queue getting too backed up. You can see how the queue is performing by going to the Performance section under Settings -> Performance
.
Also, depending on how many messages you are sending you may want to have more than one worker running to make sure you are actually able to hit your desired send rate. The default is concurrency for a worker is 40 sends and depending on response times from the API requests per second per concurrency may vary. If response time for a send is 200ms than you would be getting only 200 messages per second with one worker. To increase send rates you can just add additional workers to your Docker compose file.
Thank you for the comment and my apologies for not sharing updates here.
We did the following:
Next steps:
Closing this issue for now. Thank you for your help!
Hello, we were looking to send our weekly newsletter campaign with Parcelvoy. We setup a campaign to send to a list of 350K+ users.
The campaign sent 99K emails and is still stuck in the Running state after 14+ hours. We checked AWS SES limits etc and everything seems to be in order. Till now, we have been using another tool to send newsletters and it sent the same email to a similar-sized audience the same day properly.
Thank you for your help!