Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mail delivery stops after some time #27

Open
RandieM opened this issue May 16, 2017 · 3 comments
Open

Mail delivery stops after some time #27

RandieM opened this issue May 16, 2017 · 3 comments

Comments

@RandieM
Copy link

RandieM commented May 16, 2017

Hello there,

First of all, thank you for programming and making maily_herald available to everyone.

I am having this problem, where mail delivery stops on its own. I am not sure if it is after a number of emails sent or after a specific amount of time. My mailing list has around 3300 emails in total, and I have noticed that mail delivery stops after about 2000 emails have been sent out (or appr. after 20 minutes since start of mailing). This has now happened twice in a row. I do not seem to have this problem with shorter mailing lists. If I stop and then re-start the Rails app, then delivery resumes and finishes without further issues.

Processes, like redis, sidekiq and paperboy, seem to be running and I cannot seem to find anything relevant in my logs.

Any ideas?

Many thanks in advance.

@ardahaal
Copy link
Contributor

Hello @RandieM ,

Thanks for using our gem! Hope you like it so far.

Regarding your problem, could you send us all three logs (sidekiq, paperboy and sidekiq) along with your gemfile? It would help us reproduce this problem.

Cheers!

@RandieM
Copy link
Author

RandieM commented Jun 20, 2017

Hello @ardahaal,

Thanks a lot for your prompt answer and sorry for taking so long to reply.

Unfortunately, I had not redirected the logs for sidekiq and paperboy to a log file and they were supposedly only output to my terminal, while the mailing was being sent off to subscribers. As I was closely monitoring the mailing, I can say with certainty that no error was output, at least not to the terminal.

The last few logged entries looked like this:

I, [2017-05-16T18:04:38.970722 #14329] INFO -- : Rendered /var/www/<PROJECT_NAME>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/smart_listing-1.1.2/app/views/smart_listing/_pagination_per_page_link.html.erb (0.5ms)
I, [2017-05-16T18:04:38.971273 #14329] INFO -- : Rendered /var/www/<PROJECT_NAME>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/smart_listing-1.1.2/app/views/smart_listing/_pagination_per_page_link.html.erb (0.1ms)
I, [2017-05-16T18:04:38.971757 #14329] INFO -- : Rendered /var/www/<PROJECT_NAME>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/smart_listing-1.1.2/app/views/smart_listing/_pagination_per_page_link.html.erb (0.1ms)
I, [2017-05-16T18:04:38.972265 #14329] INFO -- : Rendered /var/www/<PROJECT_NAME>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/smart_listing-1.1.2/app/views/smart_listing/_pagination_per_page_link.html.erb (0.1ms)
I, [2017-05-16T18:04:38.972456 #14329] INFO -- : Rendered /var/www/<PROJECT_NAME>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/smart_listing-1.1.2/app/views/smart_listing/_pagination_per_page_links.html.erb (4.0ms)
I, [2017-05-16T18:04:38.972539 #14329] INFO -- : Rendered /var/www/<PROJECT_NAME>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/maily_herald-webui-0.9.0/app/views/maily_herald/webui/logs/_items.html.haml (79.9ms)
I, [2017-05-16T18:04:38.973220 #14329] INFO -- : Rendered /var/www/<PROJECT_NAME>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/maily_herald-webui-0.9.0/app/views/maily_herald/webui/logs/_items.html.haml (0.1ms)
I, [2017-05-16T18:04:38.973400 #14329] INFO -- : Rendered /var/www/<PROJECT_NAME>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/maily_herald-webui-0.9.0/app/views/maily_herald/webui/dashboard/index.html.haml within layouts/maily_herald/webui/application (88.8ms)
I, [2017-05-16T18:04:38.977418 #14329] INFO -- : Completed 200 OK in 425ms (Views: 76.9ms | ActiveRecord: 156.0ms)

Then, after having sent approximately 2000 emails, it "hang" and did not give any more output. Attached you will find the redis log.

Let me know if there is anything else I could check.

Many thanks!
redis-log.txt

@RandieM
Copy link
Author

RandieM commented Jun 20, 2017

And here is my Gemfile, which I forgot to attach earlier.
Gemfile.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants