Why is maxclients set to 256 on a Standard C2 Azure Cache for Redis instance?

Lucas Sing 0 Reputation points
2026-11-26T08:08:46.72+00:00

When querying the configuration of our Azure Cache for Redis instance, I am getting the following output:

{
  "sku": {
    "name": "Standard",
    "family": "C",
    "capacity": 2
  },
  "redisVersion": "6.0",
  "redisConfiguration": {
    "maxclients": "256"
  },
  "provisioningState": "Succeeded"
}

According to the Azure Cache for Redis documentation, maxclients is a read-only setting determined by the pricing tier, which should be 2,000 for a Standard C2 cache (256 is the limit for C0).

Azure Cache for Redis
Azure Cache for Redis

An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Zoha Fatima 675 Reputation points
    2026-11-26T08:43:03.73+00:00

    Hi, Lucas,

    You read the documentation correctly. A Standard C2 cache allows up to 2,000 simultaneous connections. The 256 you are seeing is the limit for C0. The configuration output alone cannot tell us whether Azure is showing the wrong number or actually limiting your cache to 256 connections.

    If your app is already having connection problems, check the Connected Clients chart in the Azure portal and look for “max number of clients reached” in your app logs. If you see that error around 256 connections, share the configuration output and the time of the error with Azure Support so they can check the limit on your cache.

    Thank you, and feel free to reply if you need more help.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.