Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

chore(redis): set max active redis connections to 1000#63718

Merged
burmudar merged 2 commits into
mainfrom
wb/redis-max-active
Jul 9, 2024
Merged

chore(redis): set max active redis connections to 1000#63718
burmudar merged 2 commits into
mainfrom
wb/redis-max-active

Conversation

@burmudar

@burmudar burmudar commented Jul 9, 2024

Copy link
Copy Markdown
Contributor

When active client is 0, there is no limit to the amount of active clients which can lead to Redis quickly reaching it's MaxClient (10000 by default)

For more context see this slack thread

Test plan

CI

Changelog

  • redis-pool: set max active clients to 1000

@burmudar burmudar self-assigned this Jul 9, 2024
@cla-bot cla-bot Bot added the cla-signed label Jul 9, 2024
@burmudar

burmudar commented Jul 9, 2024

Copy link
Copy Markdown
Contributor Author

Looking into exposing the redis client count via redis-exporter as well

@eseliger

eseliger commented Jul 9, 2024

Copy link
Copy Markdown
Member

Looking into exposing the redis client count via redis-exporter as well

could that track it by client hostname too? that'd be great :)

@burmudar

burmudar commented Jul 9, 2024

Copy link
Copy Markdown
Contributor Author

Looking into exposing the redis client count via redis-exporter as well

could that track it by client hostname too? that'd be great :)

Seems like I'll have to write a redis lua script do get this metric. Will try to get some time this week to see what I can get :)

@burmudar burmudar merged commit 767614b into main Jul 9, 2024
@burmudar burmudar deleted the wb/redis-max-active branch July 9, 2024 16:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants