Connection

  • connected_clients: connections open now.
  • total_connections_received: connections accepted since startup; monitor its rate of increase.
  • rejected_connections: connections rejected after reaching maxclients.

Persistent connections

  • Opening a connection per request repeats TCP and authentication work while consuming CPU, memory, file descriptors, and ephemeral ports.
  • Resource pressure raises connection and command latency before Redis rejects new connections.
  • Reuse a bounded or multiplexed pool; undersizing causes waits and timeouts while oversizing consumes Redis client-buffer memory.

redis.conf

  • Redis defaults to 10,000 clients, but a lower operating-system file-descriptor limit reduces the effective maximum.
maxclients 10000