CiviCRM Mailing delivery slow & memory issues

Created on 29 October 2024, about 2 months ago

Problem/Motivation

A client of JMA's was finding that when running the job.process_mailing CiviCRM job that php was ending up hitting memory limit issues. We applied a patch to have civicrm entity not trigger the pre and post hooks during cron running and that seems to at least on some testing on their staging site improved the situation. I should note that it seems like they have had the Record Activities on CiviMail deliveries enabled which might have also triggered part of the issue as rather than just mailing jobs there was Activity and ActivityContact records triggering the _pre and _post hook implementations in CiviCRM entity.

This is mostly about flagging this as a possible situation.

πŸ› Bug report
Status

Active

Version

4.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia seamus_lee

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024