Replies: 10 comments
-
Hi, thanks for your report. May I ask which kvrocks version you are using? |
Beta Was this translation helpful? Give feedback.
-
This is also
Kvrocks is running on Debian 11. |
Beta Was this translation helpful? Give feedback.
-
This is the actual error message Kvrocks produces:
|
Beta Was this translation helpful? Give feedback.
-
Can you share the conf file? It can be the cause if you share the same data dir (only ports are different). |
Beta Was this translation helpful? Give feedback.
-
This is
and this is the
|
Beta Was this translation helpful? Give feedback.
-
I cannot reproduce this case using current unstable branch and redis-cli. Could you check the log file and see if there is any error or warning? $ for port in 6666 7777; do for i in $(seq 10); do redis-cli -p $port PING; done; done
PONG
PONG
PONG
PONG
PONG
PONG
PONG
PONG
PONG
PONG
PONG
PONG
PONG
PONG
PONG
PONG
PONG
PONG
PONG
PONG |
Beta Was this translation helpful? Give feedback.
-
With
|
Beta Was this translation helpful? Give feedback.
-
In the next tests (with |
Beta Was this translation helpful? Give feedback.
-
$ for port in 6666 7777; do for i in $(seq 10000); do redis-cli -p $port PING 2>&1 | grep refused; done; done
(empty) # tried several times, and all results are empty It still seem to work pretty well. Could you try another environment (in a docker container or other distro), build kvrocks again and test if there is still this problem? We can hardly fix this problem if it is hard to reproduce in our CI or local device. But of course, other developers will help you if they reproduce successfully. |
Beta Was this translation helpful? Give feedback.
-
I can't get this point too. You can use redis-cli or telnet to check whether |
Beta Was this translation helpful? Give feedback.
-
Inside a nodejs project I'm using Kvrocks with redis npm library for nodejs.
I have two instances of the Kvrocks running on the same machine on different ports (6666, 7777)
The 7777 port is what I'm trying to connect from nodejs.
The problem is the Kvrocks refused connections several times at first and then accepting one for few seconds and the same again and again. It seems it's unstable for an unknown reason.
Quite the same problem exists when I test using
redis-cli -p 7777
.Beta Was this translation helpful? Give feedback.
All reactions