Closed (fixed)
Project:
Avatar Approval
Version:
6.x-1.0-beta3
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Mar 2010 at 23:21 UTC
Updated:
30 Mar 2010 at 21:20 UTC
After enabling the new module, I received 1500 emails letting me know there was an avatar ready tor approval.
No PHP errors recorded, but ran the server out of memeory using thousands of sendmail requests.
Comments
Comment #1
gregarios commentedAll I did was install the module, run the update.php, set the "Approval queue length threshold" to 1 so I'd get an emaiul when a new avatar was posted, then updated one of my users' avatars. Instantly sendmail was screaming out of control and my inbox had 500+ emails in the first 12 seconds. I had to reboot the server and clear the mqueue for sendmail just to get back up and running. (-;
I should mention that I use Reroute Email module on my sandbox site to keep my users accounts from getting email from it, so the email could have been sent to all of my users, then got rerouted to me (admin) or it could have just been sent to the admin email 1500 times. ;-) Either way it isn't working.
Comment #2
dalad commentedI apologize for the spam bomb :P... substitute around line 330 of avatarapproval.module
from
to:
And please keep testing. Patch will follow soon. Thanks for your patience
Comment #3
dalad commentedComment #4
gregarios commentedMuch better. Thanks! Like the new email feature. :)