Comments (4)
@pinguo-niulingyun
Yeah, the problem exists in function "redis_sock_disconnect", something like this:
`PHPAPI int redis_sock_disconnect(RedisSock *redis_sock TSRMLS_DC)
{
if (redis_sock == NULL) {
return 1;
}
redis_sock->dbNumber = 0;
if (redis_sock->stream != NULL) {
if (!redis_sock->persistent) {
redis_sock_write(redis_sock, "*\r\n$4\r\nQUIT\r\n" _NL, sizeof("*\r\n$4\r\nQUIT\r\n" _NL) - 1 TSRMLS_CC);
}`
The original string is simply "QUIT" which is not obey the text protocol.
you should fix the source in your redis extension source code and recompile it to your dist.
from corvus.
Thanks for reporting this.
Do you know which command you're sending to corvus when encountering this error?
Is your php client multi-threaded?
Does the same error message get printed again and again?
Need more information to figure out what's going on.
from corvus.
php客户端是单线程短连接,会一直打印这个错误,由于是短连接,应该是socket关闭时的quit
指令。
from corvus.
@pinguo-niulingyun 请问可以稳定复现吗? 求复现方法 (php版本, phpredis版本, 相关代码).
In case someone also has the same problem, it would be great if you can provide the way to reproduce it.
from corvus.
Related Issues (20)
- pub/sub cmd HOT 6
- Allow increasing maxclients HOT 9
- Redis 4 Support HOT 2
- Issue installing v0.2.7 from the release page HOT 2
- Do you have a plan for supporting backend redis cluster configed with requirepass? HOT 2
- Support hashtag key ? HOT 2
- support redis 4.x later ? HOT 2
- corvus是否支持ssdb或者pika? HOT 2
- Corvus key distribution algorithm HOT 2
- corvus metrics信息, 有没有命令直接取出来? HOT 1
- corvus health check HOT 2
- monitoring slowlog in Corvus HOT 1
- 是否在检测到redis连接不上的情况下 关闭server的端口不接收请求? HOT 3
- KEYS should be possible HOT 4
- Support of Redis 5+ HOT 10
- 在redis_cluster集群基础上安装了corvus后为啥tps降低了 HOT 15
- How to configuration node password in corvus HOT 1
- 在线压缩、backup-read、大key检查 HOT 1
- Can I use Lettuce with corvus? Maybe there are some bugs! HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from corvus.