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

Start sending after client was idle for a while: tcp write: broken pipe #123

Open
phev8 opened this issue Sep 11, 2020 · 4 comments
Open

Comments

@phev8
Copy link

phev8 commented Sep 11, 2020

Hi!

We observed an issue when starting to send a batch of emails using a pool, when the client was idle for a while.
In this case, the first couple of emails (50-200) are failing with the error "broken pipe". After that, it starts to send the messages normally again.

write tcp <local server ip> -> <ip-of the mail-server>: write: broken pipe

The setup is using exchange mail servers (list of pools initialised as shown in the documentation).

Is there any configuration option/recommended use, we can prevent this happening, or tell the client it should renew the connection?

@gregseb
Copy link

gregseb commented Nov 6, 2020

I'm also seeing this.

@al-ship
Copy link

al-ship commented Dec 10, 2020

It effects me too.

@oblq
Copy link

oblq commented Aug 1, 2022

Me too.

@Kryan90
Copy link

Kryan90 commented Oct 7, 2022

For anyone else with this issue, I switched to this fork that has some better pooling and haven't hit this since: https://github.com/knadh/smtppool

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

5 participants