Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Set stream_idle_timeout for pilot/galley listeners#561

Merged
istio-testing merged 1 commit intoistio:masterfrom
joeyb:stream_idle_timeout
Nov 22, 2019
Merged

Set stream_idle_timeout for pilot/galley listeners#561
istio-testing merged 1 commit intoistio:masterfrom
joeyb:stream_idle_timeout

Conversation

@joeyb
Copy link
Copy Markdown
Contributor

@joeyb joeyb commented Nov 20, 2019

See istio/istio#19043 for prior discussion.

Both pilot and galley set max client ages in order to promote rebalancing, but the default stream_idle_timeout value of 5m is lower than the default max client age of 30m. This is causing reconnects to occur more frequently than intended. This change disables the idle timeout entirely, giving control back to pilot and galley over when the client connections are killed.

Mixer does not seem to set the max client age, so the stream_idle_timeout is only being set for the static listener for outbound connections to galley.

See istio/istio#19043 for prior discussion.

Both pilot and galley set max client ages in order to promote rebalancing, but the default `stream_idle_timeout` value of `5m` is lower than the default max client age of `30m`. This is causing reconnects to occur more frequently than intended. This change disables the idle timeout entirely, giving control back to pilot and galley over when the client connections are killed.

Mixer does not seem to set the max client age, so the `stream_idle_timeout` is only being set for the static listener for outbound connections to galley.
@joeyb joeyb requested a review from a team as a code owner November 20, 2019 17:10
@googlebot googlebot added the cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. label Nov 20, 2019
@istio-testing istio-testing added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Nov 20, 2019
@istio-testing
Copy link
Copy Markdown

Hi @joeyb. Thanks for your PR.

I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@howardjohn
Copy link
Copy Markdown
Member

/ok-to-test

@istio-testing istio-testing added ok-to-test Set this label allow normal testing to take place for a PR not submitted by an Istio org member. and removed needs-ok-to-test labels Nov 20, 2019
@istio-testing istio-testing merged commit 95a2914 into istio:master Nov 22, 2019
@joeyb joeyb deleted the stream_idle_timeout branch November 22, 2019 17:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. ok-to-test Set this label allow normal testing to take place for a PR not submitted by an Istio org member. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants