Thread leak in IdleConnectionMonitor in Versions 3.31.0 to 3.38.0 (fixed in 3.39.0)
还没有人认领这个 Issue。
评估
调研方向
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 分钟
- 30 天内合并 PR
- 4
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 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 个 reaction ·
查看 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