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

will be close with status 4 EventError #172

Open
haiwen1 opened this issue Jul 19, 2023 · 0 comments
Open

will be close with status 4 EventError #172

haiwen1 opened this issue Jul 19, 2023 · 0 comments

Comments

@haiwen1
Copy link

haiwen1 commented Jul 19, 2023

一条完整日志如下,在predixy中出现了很多条,且都是业务有问题的时间范围内出现的
2023-07-19 08:06:32.795441 E Handler.cpp:437 h 0 s r-xxx.redis.rds.aliyuncs.com:6379 84 will be close with status 4 EventError

手动连接predixy,使用get/set命令报错(与业务抛出的错误一致)
127.0.0.1:6379> set key111 value (error) ERR no server connection avaliable

重启predixy后恢复

我的predixy配置如下,后端是阿里云的redis
`
cat /usr/local/predixy/predixy.conf
Name auth-predixy
Bind 0.0.0.0:6379
WorkerThreads 2
MaxMemory 1G
ClientTimeout 300
BufSize 8192
Log /var/log/predixy.log
LogRotate 1d
LogVerbSample 0
LogDebugSample 0
LogInfoSample 10000
LogNoticeSample 1
LogWarnSample 1
LogErrorSample 1

#include /usr/local/predixy/conf.d/auth.conf
#include /usr/local/predixy/conf.d/sentinel.conf
#include /usr/local/predixy/conf.d/standalone.conf

Authority {
Auth xxx {
Mode admin
}
}

StandaloneServerPool {
Password xxx
Databases 16
Hash crc16
HashTag "{}"
Distribution modula
MasterReadPriority 60
StaticSlaveReadPriority 50
DynamicSlaveReadPriority 50
RefreshMethod fixed
ServerTimeout 1
ServerFailureLimit 10
ServerRetryTimeout 1
KeepAlive 120
Group auth-redis {
+ r-xxx.redis.rds.aliyuncs.com:6379
}
}

`

想请教下问题的原因,我猜测可能是阿里云的域名对应ip变了,但predixy可能没有识别出来?

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

1 participant