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

Leased connections are not released #1059

Closed
williamboman opened this issue Jun 9, 2021 · 4 comments
Closed

Leased connections are not released #1059

williamboman opened this issue Jun 9, 2021 · 4 comments
Labels

Comments

@williamboman
Copy link

williamboman commented Jun 9, 2021

Description

We're seeing Logbook causing leased connections not to be released. See the following graph, showing the measurement for the Apache client pool (when it recovers is when the instance is rebooted):

Screenshot 2021-06-09 at 23 14 50

Expected Behavior

Leased connections to be released.

Actual Behavior

Leased connections are not released. Eventually the instance runs out of available connections and becomes inoperative.

! org.apache.http.conn.ConnectionPoolTimeoutException: Timeout waiting for connection from pool
! at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.leaseConnection(PoolingHttpClientConnectionManager.java:316)
! at org.apache.http.impl.conn.PoolingHttpClientConnectionManager$1.get(PoolingHttpClientConnectionManager.java:282)
...

Possible Fix

#1052

Steps to Reproduce

Details in #1052.

Context

We are unable to use Logbook due to this which is a bummer because we really like it. It has also caused some unexpected downtime for us.

Your Environment

N/A

@PascalSchumacher
Copy link
Contributor

I guess this can be closed because #1052 was merged.

@williamboman
Copy link
Author

Yes!

@williamboman
Copy link
Author

Would be awesome with a new release 😉

@whiskeysierra
Copy link
Collaborator

I'm preparing 2.10.0 right now. Should be available soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants