safe-transaction-service
safe-transaction-service copied to clipboard
Redis: Max Number of Clients Reached
Describe the bug
- We are facing a
Redis: Max Number of Clients Reached
on the web instance of the transaction service - Multiple endpoints seem to be affected (
all-transactions
,balances
) - Workers seem to be ok
Expected behavior No issues
Proposed solution
- Add limit for the Redis Connection Pool and switch to
BlockingConnectionPool
: https://redis-py.readthedocs.io/en/stable/connections.html#connection-pools - Add timeout for connections on the server and add
health-check
: https://github.com/redis/redis-py#connections . I don't think this will work. - Increase number of connections on the server
Additional context
Last 8 hours
Last week
We are going to increment redis maxclients
and check how it works
@luarx @moisses89 @fmrsabino Do you think we can close this for now?