#2157·node-redis

client connection - commands do not respond

Author: kooshafoCreated Jun 14, 2022Updated Sep 22, 2026
LabelsBugstale

Hi. I have a Redis server running on a machine with the descriptions below and have 5 servers on separate machines requesting to it. After a while , say 24 hours, some of the Redis clients goes into a mode which they show connected: true in the client object but no response comes back for any command, it doesn't even throw an error , it just keeps waiting.

I'm guessing there are many factors which can cause this problem but I appreciate it if you could shine some light on this matter. if you needed more details about the environment or something I will provide.

Environment:

  • Node.js Version: 16.13.0
  • Redis Server Version: v=5.0.14 sha=00000000:0 malloc=jemalloc-5.1.0 bits=64 build=20357126fbf912e0
  • Node Redis Version: 3.1.2
  • Platform: Debian GNU/Linux 10