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

Enable keepalives for TCP connections to renderd #270

Open
stephan2012 opened this issue Jan 10, 2022 · 0 comments · May be fixed by #271
Open

Enable keepalives for TCP connections to renderd #270

stephan2012 opened this issue Jan 10, 2022 · 0 comments · May be fixed by #271

Comments

@stephan2012
Copy link
Contributor

stephan2012 commented Jan 10, 2022

PR #263 provides TCP connections to renderd. However, when there is a load balancer (or Kubernetes service backed by the Linux IPVS, in my case) between render_list and renderd, it silently closes TCP connections due to inactivity (because renderd is busy) after some time (15 minutes, in my case) causing render_list to fail. Enabling TCP keepalives on the socket keeps the connection alive.

I am preparing a PR for this.

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

Successfully merging a pull request may close this issue.

1 participant