poMMo
poMMo copied to clipboard
Terminating due to Serial Mismatch! + Pommo_Mailing.php in Error_log
Our 900 user email list has been running for about 6hrs and after 30-40 pause/resumes we're at 45% complete.
This is what we see in the mailing status log
20:19:11 > Terminating due to Serial Mismatch! Started Mailing #360
The error_log file in /cache is filling to capacity over and over with the following 2 errors repeated every 3-5 seconds:
PHP Notice: Undefined index: forHistory in /home/site/public_html/pommo/classes/Pommo_Mailing.php on line 189 PHP Notice: Undefined variable: forHistory in /home/site/public_html/pommo/classes/Pommo_Mailing.php on line 207
Searching the topic here it was reported as #60 and suggested it was addressed with #58 last year (but that appears to be a different issue?).
We're running the version: poMMo Master - 2013-01-21
Any help appreciated!
Hello @grafis,
Thanks for reporting this issue, and thanks for including the error message and logs, they will be very helpful to find what is the problem. I will try to make some time to take a look soon.
Regards, Adrian
Hey @grafis,
I haven't been able to reproduce this issue. It seems like the notices are nothing to be worried about. The error message though happens in a specific scenario that I haven't been able to reproduce. Do you get this error every time you try to send a mailing to your subscribers? Does it fail and then stops sending emails? Does it keep going after you resume and fails with the same error?
Thanks, Adrian
Hi @Soonick, thanks for looking into this issue.
The issue is mailings stop - to complete it requires us doing a Pause/Resume for every 10 emails or so (out of 900). We had this issue two mailings ago - took 4-5 pause starts to complete the mailing, recent it took about 100 pause/starts to complete.
Whenever we see this message in the admin mailing progress page we have to pause and restart. 20:19:11 > Terminating due to Serial Mismatch! Started Mailing #360
We didn't have the serial mismatch error, but were having to pause/restart because respawns were failing silently in a heavily throttled (400/hr) large mailing.
I hacked this https://github.com/ahebrank/pommo_mailbot to run as a cron job to restart the MTA when it fails to respawn for whatever reason. It works for us, maybe it will help someone else.