Get answers quicker by searching

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

  • Ben November 2012
  • simy November 2012
Memory leak?
  • Vote Up0Vote Down simysimy
    Posts: 31Sendy user
    My cron jobs are being killed by out of memory errors.
    PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 10517 bytes) in /var/home/mypolacy/public_html/sendy/includes/helpers/class.amazonses.php on line 75

    128 MB should be enough for a script. I think Sendy isn't releasing its resources.
  • 8 Comments
  • Vote Up0Vote Down BenBen
    Posts: 3,505Sendy support
    Did this happen during sending?
  • Vote Up0Vote Down BenBen
    Posts: 3,505Sendy support
    Also, how much memory does your server have? And how many subscribers are you sending to? Thanks.
  • Vote Up0Vote Down simysimy
    Posts: 31Sendy user
    It has 24 GB, my PHP limit is set 128MB (but I changed it in the script to 2GB to avoid the problem). I have 16GB of RAM free.

    101 000 subscribers.
  • Vote Up0Vote Down BenBen
    Posts: 3,505Sendy support
    Thanks. There's no memory leak, just that 101,000 subscribers is quite big for 128MB of memory especially when the server is processing (20, 30? what is your send rate?) emails per second. Good that you allocate more memory.
  • Vote Up0Vote Down simysimy
    Posts: 31Sendy user
    okay, thanks for letting me know. 28 per second.

    Anyway, it's now working as it should. The only problem that I have is the parse error that already stopped the campaign 10-15 times. Let me know how can I help you to debug it.
  • Vote Up0Vote Down BenBen
    Posts: 3,505Sendy support
    Regarding the parsing error, does it still happen after allocating more memory? I suspect it's the same 'insufficient memory' issue.
  • Vote Up0Vote Down simysimy
    Posts: 31Sendy user
    Yes, it does. Many, many times. Full log below.
    http://mypolacy.de/sendy/log.txt

  • Vote Up0Vote Down BenBen
    Posts: 3,505Sendy support
    I'll reply you in the other thread you posted so that we don't go off topic. I'm going to close this thread now as there is no memory leak.
This discussion has been closed.
All Discussions