高并发下,出现OOM以及其他异常
- Dominant language
- Java
- Stars
- 5.6k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
版本:2.6.0M3 letture
配置:maxIdle=5, minIdle = 3
并发数:5
问题描述:for循环内(2w次)通过jetcache获取redis的数据, 偶尔会报错:writerIndex(2147480793) + minWritableBytes(65536) exceeds maxCapacity(2147483647): PooledUnsafeDirectByteBuf(ridx: 2147406050, widx: 2147480793, cap: 2147483647),有时候甚至报netty的错误:OOM,请问下这个是版本问题还是啥问题。
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the report with JetCache 2.6.0M3, Redis, maxIdle=5, minIdle=3, concurrency 5, and a 20,000-iteration loop. Trace the Redis cache access and the reported Netty buffer failure, then determine whether the OOM is version-specific or caused by the access pattern; document the cause and a verified resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, redis
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100