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

Redis Proxy的Queue满了,会导致连接断开 #268

Open
dumm1 opened this issue Jul 25, 2024 · 5 comments
Open

Redis Proxy的Queue满了,会导致连接断开 #268

dumm1 opened this issue Jul 25, 2024 · 5 comments
Labels
question Further information is requested

Comments

@dumm1
Copy link

dumm1 commented Jul 25, 2024

Module: [camellia-delay-queue]
Version: [e.g. v1.2.16]
Content:

如何处理如下报错?比如通过参数提升Queue的大小?

Error Log
2024-07-24 03:49:51,030 WARN camellia-work-group-3-1 c.n.n.c.r.p.c.CommandTaskQueue:52 - CommandTaskQueue full, consid = f7a389b7-72d2-44d8-84fa-db8a5643be2f
2024-07-24 03:49:51,033 WARN camellia-work-group-3-1 c.n.n.c.r.p.c.CommandsTransponder:89 - CommandTaskQueue full, client connect will be disconnect, remote.ip = /10.233.123.59:56712
2024-07-24 03:49:51,043 INFO camellia-work-group-3-1 c.n.n.c.r.p.n.InitHandler:69 - bind redis connection cache will close interrupt by proxy, consid = f7a389b7-72d2-44d8-84fa-db8a5643be2f, client.addr = /10.233.123.59:56712, upstream.redis.connection = RedisConnection[@[10.x.x.x:6379?db=13]id=22011]
2024-07-24 03:49:51,043 INFO camellia-work-group-3-1 c.n.n.c.r.p.u.c.RedisConnection:469 - RedisConnection[
@[10.x.x.x:6379?db=13]id=22011] stopping, grace = true
2024-07-24 03:49:51,043 WARN camellia-work-group-3-1 c.n.n.c.r.p.u.c.RedisConnection:146 - RedisConnection[@[10.x.x.x:6379?db=13]id=22011] disconnect
2024-07-24 03:49:51,056 INFO camellia-work-group-3-1 c.n.n.c.r.p.n.InitHandler:92 - bind redis connection will close for disconnect, consid = f7a389b7-72d2-44d8-84fa-db8a5643be2f, client.addr = /10.233.123.59:56712, upstream.redis.connection = RedisConnection[
@[10.x.x.x:6379?db=13]id=22011]

@dumm1 dumm1 added the bug Something isn't working label Jul 25, 2024
@dumm1
Copy link
Author

dumm1 commented Jul 25, 2024

Sorry, this is not a "bug" label. Please revise it.

@caojiajun caojiajun added question Further information is requested and removed bug Something isn't working labels Jul 25, 2024
@caojiajun
Copy link
Collaborator

后端redis太慢了吗,怎么3w的队列还能满?这个不建议调太大

@dumm1
Copy link
Author

dumm1 commented Jul 25, 2024

后端redis太慢了吗,怎么3w的队列还能满?这个不建议调太大

非常感谢!
不像是慢,从客户端看是断开了。
如何知道这个队列有3万?在哪设置的?

@caojiajun
Copy link
Collaborator

camellia-redis-proxy.properties

command.task.queue.capacity=32768

@caojiajun
Copy link
Collaborator

欢迎加入技术交流群:

image

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

No branches or pull requests

2 participants