2

I'm seeing persistent issues when running larger mailings using Mosaico/Flexmailer for one site. Small mailings will process without any issues. But larger mailings (e.g. 25k+) will terminate in the process_mailings job. The specific point of failure is in /src/FlexMailer.php - fireWalkBatches(). The $event object appears to be constructed properly, but it dies on the dispatch call.

It's been challenging to troubleshoot as there are no errors in the Civi log or apache logs. It simply dies at that point.

Anyone else see similar issues or have suggestions for troubleshooting?


Additional info --

The issue only occurs when triggering jobs via the cli (this site is running Drupal and triggering cli.php). If I trigger process_mailings via the URL/cron.php, including triggering it with wget from a cron, it processes correctly.

9
  • I think we have had recent problems that we have not been able to reproduce/debug. Let me ask @edsel to provide details on whether your symptoms are consistent with ours.
    – Joe Murray
    Commented Apr 17, 2018 at 19:20
  • Who is the cron user? Often there are issues with triggering mail not as www-data.
    – Tommy B
    Commented Apr 18, 2018 at 20:28
  • In addition to the point about checking users/permissions, I'd also look for differences in the php.ini used by the web and CLI processes. For example, if the call-stack got really tall, and if xdebug was only enabled on CLI, you could see a weird crash in CLI.
    – Tim Otten
    Commented Apr 20, 2018 at 23:01
  • Did a trial-run trying to replicate. Report: github.com/civicrm/org.civicrm.flexmailer/issues/19
    – Tim Otten
    Commented Apr 21, 2018 at 6:54
  • We have fairly big mailings (>200k) and it works fine. We are using drush to run the cronjob, that might, or might not be the difference?
    – Xavier
    Commented Apr 22, 2018 at 20:48

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.