Closed (fixed)
Project:
Simplenews
Version:
6.x-1.0-rc6
Component:
Usability
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Jul 2009 at 10:22 UTC
Updated:
2 Jan 2010 at 16:14 UTC
Hello there,
I used to be able to send between 1000 and 2000 emails at one cron run.
Now I can barely send 200. With a mailing list of over 20,000, this will take forever.
Anyone else is experiencing this? Any advice would be more than welcome :):)
Many many thanks!
JJ
Comments
Comment #1
Delta Bridges commentedI just check my logs and I confirm: 200 emails sent in 191.4 seconds. My php.ini time limit is set to 300 seconds....
Any ideas? I guess I can extend the php.ini limit, but to what level, I do not know.
Any help would be greatlyu appreciated :)
Comment #2
sutharsan commented200 emails in 200 seconds is a very long time. It should send within a few seconds. You need to debug the code to find out what takes so long.
Comment #3
Delta Bridges commentedOk, I will try... but I am not so good with code. I was mainly wondering if other people using this module have got a similar problem, or if it was just me :):)
Thanks for the reply though,
JJ
Comment #4
jdwfly commentedI am running into a similar problem, but I can only send 100 emails in 3.5 seconds. It errors out saying that my Max execution time was nearly reached but that is set at 90 seconds.
Comment #5
jdwfly commentedI narrowed it down to this line 1727
I know that SIMPLENEWS_SEND_TIME_LIMIT is 0.8 and ini_get('max_execution_time') is 120. I am not too sure of $elapsed yet, but somehow it is getting larger than 96. I replaced the line with this...
This seems to work just fine, but obviously is not ideal. Maybe there is a problem with the function _simplenews_measure_usec() that gives $elapsed its value?
Comment #6
sutharsan commented