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

which case will trigger read tcp i/o timeout error? #13

Open
sttming opened this issue Nov 10, 2020 · 4 comments
Open

which case will trigger read tcp i/o timeout error? #13

sttming opened this issue Nov 10, 2020 · 4 comments

Comments

@sttming
Copy link

sttming commented Nov 10, 2020

No description provided.

@funny-falcon-at-joomcode
Copy link
Contributor

If server didn't write answer for query for a long time.
Notably, if client issued blocking command which blocks for a long time, it will certainly lead to tcp i/o timeout.

But in the wild some timeouts are really possible: couple of packet loss easely leads to several second pauses. In out setup (aws) we did experienced tcp i/o timeout often (usually once a month, but sometimes two time a week) until I raised IOTimeout up to 4 seconds.

@abhay8nitt
Copy link

I too got this @funny-falcon-at-joomcode
"error":"redispipe.io error: {address: myredis.usw2.cache.amazonaws.com:6379}, cause: read tcp 10.x.x.x:10908->10.y.y.y.:6379: use of closed network connection"
should increasing IOTimeout help here in the Opts ?

@funny-falcon-at-joomcode
Copy link
Contributor

@sttming
Copy link
Author

sttming commented Oct 19, 2021

I find that tcp i/o timeout error always triggered when there is a long time gc pause when I execute pressure test.Should increasing IOTimeout larger than possible max gc pause?

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

3 participants