Redis 'max number of clients reached': set a connection timeout
Redis 'max number of clients reached': set a connection timeout: : 'max number of clients reached' after days or weeks means connection accumulation: timeout set to 0 keeps idle connections open forever, or maxclients is too low for the pattern.
[Redis integration docs]: 'max number of clients reached' after days or weeks means connection accumulation: timeout set to 0 keeps idle connections open forever, or maxclients is too low for the pattern. Set an idle timeout (120 seconds or more) so stale clients are reaped, and size maxclients for your actual concurrency. Verify with CLIENT LIST and watch the connection count trend after the change.
Context: A Redis that runs fine for weeks then refuses connections is leaking clients.
Matched source
Source: Source: https://github.com/classic298/docs/blob/HEAD/docs/tutorials/integrations/redis.md Original query: "Redis 'max number of clients reached': set a connection timeout" Key terms: clients, connection, number, reached, redis, timeout