apache / apache/servicecomb-java-chassis

io.vertx.core.http.impl.pool.Pool内存泄漏

Open
#3,224 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.9k
Forks
814
Avg merge
8d 23h
Merged PRs (30d)
1

Description

- 背景:服务收到大量请求;cse注册地址填写错误;

- 定位过程:

io.vertx.core.http.impl.pool.Pool 里面**waitersQueue**发生内存泄漏,分析pom文件该jar包由cse依赖引入,debug代码发现位于org.apache.servicecomb.serviceregistry.client.http.retry方法中调用,并且由于地址错误产生了大量日志

求助:
帮解答一下retry方法调用场景,以及内存泄漏问题

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the pom dependency path and the org.apache.servicecomb.serviceregistry.client.http.retry method mentioned in the report. Trace how an incorrect CSE service-registry address reaches io.vertx.core.http.impl.pool.Pool and its waitersQueue, then establish a reproducible case and verify that retries no longer retain requests or produce unbounded logs.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.