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

Slow Email Delivery #624

Closed
virendrasinght opened this issue Jul 30, 2018 · 10 comments
Closed

Slow Email Delivery #624

virendrasinght opened this issue Jul 30, 2018 · 10 comments

Comments

@virendrasinght
Copy link

virendrasinght commented Jul 30, 2018

@willpower232 @adamcooke Using Postal since long time. Having configuration 8gb RAM and 4 CPU. Now after getting mail in pending state, it is taking around 3-4 minutes to process and sometime more. Earlier 6 workers are running and just now i have increased quantity and threads to 8.
Even that change, no change happened. still is going very slow.

@willpower232
Copy link
Collaborator

Are you using MySQL hosted on the same server? Are you running low on available memory whilst everything is running?

@virendrasinght
Copy link
Author

@willpower232 Yes mysql hosted on same server and not running low on available memory. My worker configuration is quantity-8 and threads - 16. Main_db pool size is 20. Don't know why it is taking so much time to process a single mail.

@virendrasinght
Copy link
Author

@willpower232 having around 100k emails in queued message table. that can be the problem of slow sending rate?

@willpower232
Copy link
Collaborator

It might be, have you optimised your MySQL settings from here? #324 (comment)

@virendrasinght
Copy link
Author

@willpower232 I have increased RAM to 16 GB and changes mysql settings with max_allowed_packet = 256M, innodb_flush_log_at_trx_commit = 2.
Now watching for imporvement.

@virendrasinght
Copy link
Author

@willpower232 I have assigned 8 workers yesterday and that time all were running fine but now when i see the status out of 8, 4 workers are getting failed.
what could be the reason of this?

@willpower232
Copy link
Collaborator

You'll have to look in the logs folders to see what is happening. You can also run the commands from postal status manually to get real time output.

@virendrasinght
Copy link
Author

@willpower232 when I am doing postal status or postal stop it says
Error: Procodile supervisor isn't running
But my application is running fine. Don't know how it is running?

@willpower232
Copy link
Collaborator

That is a bit odd, might be worth restarting the server as a whole to see if that brings you back in control.

@virendrasinght
Copy link
Author

@willpower232 Yes sure. Thanks for your support

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