Thread leak in IdleConnectionMonitor in Versions 3.31.0 to 3.38.0 (fixed in 3.39.0)
まだ誰も着手していません。
評価
調査の方向性
Issue では、対象となるリポジトリファイルやテストは特定されていません。まず、影響を受ける OCI Java SDK のバージョンを 3.39.0 リリースと照合し、影響を受けるユーザーが修正を含むバージョンに案内されれば、作業完了とします。
索引モデルが issue の本文から書いたものです。
説明
If you are using any OCI Java SDK version(s) >= 3.31.0 and <= 3.38.0 then you could see a thread leak in IdleConnectionMonitor. We recommend you to update to version 3.39.0 or later. If you are not using any of the affected OCI Java SDK versions, you can ignore this issue.
Description
When using OCI Java SDK version(s) >= 3.31.0 and <= 3.38.0, an increase in CPU or memory usage might occur due to the proliferation of threads of type idle-connection-monitor-thread. IdleConnectionMonitor was introduced in version 3.31.0 for each client to evict the idle and expired Apache connections and to restore connection re-use for the Apache connector. As each OCI Java SDK client spawns its own idle connection monitoring threads, these threads do not terminate unless the clients are closed (either by using "try-with-resources" or by calling the close() method). Over time, as more clients are created and not closed, the number of threads continues to grow, resulting in a build-up of unused threads and thus a thread leak.
Affected Versions
Actions
Update the OCI Java SDK version to 3.39.0 or later.
- 主要言語
- Java
- スター
- 243
- フォーク
- 171
- 平均マージ
- 5分
- マージ済み PR(30日)
- 4
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
oracle/oci-java-sdk のほかの issue
-
NoSuchMethodError in the circuit breaker since 3.103.0 when resilience4j 2.x is on the classpathオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
oracle/oci-java-sdk#803 ·
-
SDK
難易度 1/5 1時間未満 初心者へのやさしさ 20/100
oracle/oci-java-sdk#788 ·
-
Identity Domains
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
oracle/oci-java-sdk#764 · コメント 3 件 ·
-
SDK
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
oracle/oci-java-sdk#726 · コメント 1 件 ·
-
Object Storage
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
oracle/oci-java-sdk#723 · リアクション 1 件 ·
oracle/oci-java-sdk の issue をすべて見る
似ている issue
-
enhancement infra
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 1 日以内に返信
-
5.0.x backport bug
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
spring-cloud/spring-cloud-function#1569 ·
メンテナーはふだん 1 日以内に返信
-
Move the spring-cloud-commons version and BOM import from the bus parent to the stream parent対応中かも @olegz が今日担当しました。 オープンtask
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
spring-cloud/spring-cloud-stream#3355 ·
メンテナーはふだん 1 日以内に返信
-
area:cpan-port area:performance bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
fglock/PerlOnJava#2230 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100