-
Notifications
You must be signed in to change notification settings - Fork 75
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
DialAndSend() occasionally not returning...? // Ultimately Dial() #56
Comments
I'm wondering if #49 could be related to this? I'm in the middle of mapping the logging for this. |
So I had another hang...and have an excerpt of the send mail cycle where the repo code stopped responding. I have since implemented the fix in the pull request in #49. I'll check back in a couple of weeks...in that time it would have normally hung 4-5 times...the excerpt for the hang is below...the start of the cycle and the last line is the last time it responded before I had to restart the service.
|
The pull request associated with #49 fixes this problem if someone can merge it. I implemented it locally for the time being. |
So I have this web app that has email campaigns with emails customized to individual recipients...and the average campaign per auction/claim...etc...is 35-50 recipients...I have this throttled at 6 sends per minute.
Sometimes it behaves well...other times I'll catch an email hung in 'sending'...which I set just before
DialAndSend()
and set it to 'sent' right after. I added some code on my outer layers of code and the last logging output before that go routine stops responding is the log just before theDialAndSend()
as you can see in the cross-section of a log below. There's a lot of output below that point where the==> sendMail(): No Error
or==> sendMail(): Error: '%s'
would normally be...but it continues to hang.It throws my Emailer service out of tilt because it doesn't respond...I'm getting ready to lay logging code into the source code I pulled so I can find exactly where it's hanging in the source code...but does anyone have any idea what might cause it to hang? Log excerpt below...at the bottom it stops and hangs.
The text was updated successfully, but these errors were encountered: