On Wed, Dec 2, 2015 at 10:59 AM, Lance A. Brown <la...@bearcircle.net>
wrote:

> 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
> wish
> > 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
> one
> > 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@lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>



-- 
Len Jaffe - Information Technology Smoke Jumper - lenja...@jaffesystems.com
614-404-4214    @LenJaffe <https://www.twitter.com/lenJaffe>
www.lenjaffe.com
Host of Code Jam Columbus <http://www.meetup.com/techlifecolumbus/>  -
@CodeJamCMH <https://www.twitter.com/CodeJamCMH>
Curator of Advent Planet <http://www.lenjaffe.com/AdventPlanet/> - An
Aggregation of Online Advent Calendars.
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to