Skip to content

Non-socket way to set client timeout to a very small value #905

@antirez

Description

@antirez

Sometimes you have a bug in your client software that leaks Redis connections.

The result is that the server is full of idle connections and there is no easy way to connect with the server to operate on it, as the new connections will be discarded because the max number of clients is reached.

We should investigate if setting the timeout to 1 is a viable way to connect with the server more easily using redis-cli. However setting the timeout to 1 will not be possible using CONFIG SET timeout so an alternative system should be available, like an UDP port receiving very urgent to process commands, or a signal like SIGUSR2 that sets the timeout to 1.

More design is needed.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions