[Catalyst] Sending 3000 emails.
lenjaffe at jaffesystems.com
Wed Dec 2 16:45:03 GMT 2015
On Wed, Dec 2, 2015 at 10:59 AM, Lance A. Brown <lance at bearcircle.net>
> On 12/2/2015 10:10 AM, Andrew wrote:
> > As noted, it all works until about 1020 emails in, at which point the
> > Catalyst app crashes (although this has only happened once - I do not
> > to try again and risk another crash). I am using Email::Stuffer in a for
> > loop, iterating over an array of 3000 email addresses. For my next step I
> > will alter my code to only attempt to send to 500 email addresses at any
> > time, since below 1000 everything seems to work fine.
> Are you sending those emails as 3,000 individual messages? Are you
> keeping the Email::Stuffer objects around after doing ->send on them?
> With your Catalyst app crashing I wonder if you aren't hitting a memory
> resource limit or memory leak bug.
copious logging will be your friend.
also, strace and Devel::NYTProf output might shed interesting light.
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> Dev site: http://dev.catalyst.perl.org/
Len Jaffe - Information Technology Smoke Jumper - lenjaffe at jaffesystems.com
614-404-4214 @LenJaffe <https://www.twitter.com/lenJaffe>
Host of Code Jam Columbus <http://www.meetup.com/techlifecolumbus/> -
Curator of Advent Planet <http://www.lenjaffe.com/AdventPlanet/> - An
Aggregation of Online Advent Calendars.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Catalyst