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

高并发下,出现OOM以及其他异常 #882

Open
Vonhh opened this issue May 8, 2024 · 2 comments
Open

高并发下,出现OOM以及其他异常 #882

Vonhh opened this issue May 8, 2024 · 2 comments

Comments

@Vonhh
Copy link

Vonhh commented May 8, 2024

版本: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,请问下这个是版本问题还是啥问题。

@Vonhh Vonhh changed the title 高并发下,获取数据concurrent.TimeoutExcetion的问题 高并发下,出现OOM以及其他异常 May 8, 2024
@PhenJuly
Copy link

PhenJuly commented May 10, 2024

我也遇到这个问题了,并发10,2w个key-value存储,就会报这个问题,不知您有没有解决方案

@PhenJuly
Copy link

我尝试使用jetcache获取连接的超时时间成5s,好像可以减弱这个现象

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

No branches or pull requests

2 participants