question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`idleTimeMs` and `idleTtlSecs` settings don't seem to have any effect on established H2 connections

See original GitHub issue

Issue Type:

  • Bug report
  • Feature request

What happened: Linkerd is not expiring/terminating idle client HTTP2 connections after the timeouts configured in idleTimeMs and/or idleTtlSecs configuration options.

What you expected to happen: The established Http2 connections from Linkerd to the server are expected to be closed if they were idling for more then the time indicated in the configuration.

How to reproduce it (as minimally and precisely as possible):

  1. Set the idleTtlSecs to 60 seconds
  2. Make a single request from a grpc client to a grpc server through Linkerd
  3. Observe the number of connections in Linkerd for more than 60 seconds. The number will stay == 1
  4. Check the netstat’s output to see that there’s and ESTABLISHED connection from Linkerd to the server.

Docker-compose and configuration files that can help to reproduce the issue - https://github.com/nikolay-pshenichny/linkerd-idleTtlSecs_and_idleTimeMs

Anything else we need to know?:

New context (2018-04-10 2:50pm): Linkerd will always keep 1 client open, even if it has been idle for longer than the ttl. The issue is requesting that that behavior be changed or made configurable. cc: @adleong

Environment:

  • linkerd/namerd version, config files: linkerd v 1.3.7; sample config files can be found using the link above.
  • Platform, version, and config files (Kubernetes, DC/OS, etc): Seeing this in Vagrant; Docker; Kubernetes;
  • Cloud provider or hardware configuration:

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:16 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
joeybcommented, Apr 30, 2018

@adleong - FYI, our smoke tests of this have been baking for a few days and we haven’t seen any issues.

1reaction
adleongcommented, Apr 23, 2018

We will have a release candidate available very soon: early this week.

Read more comments on GitHub >

github_iconTop Results From Across the Web

spring.h2.console.settings.web-allow-others not working for ...
I have tried uncommenting and setting to false, but no effect. I have tried using the H2 normal config value of webAllowOthers, but...
Read more >
Features - H2 Database Engine
In embedded mode, an application opens a database from within the same JVM ... This database supports multiple connection modes and connection settings....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found