Skip to content

Sporadic loss of connectivity with 2.0.601  #1178

@paveliak

Description

@paveliak

Hi Marc

We are running ASP.NET services in Azure and use Azure Redis. After upgrading one of our services to 2.0.601 we started observing sporadic loss of connectivity. Our VMs maintain several Redis connections (using several multiplexers). They all share same (default) connection manager.

Occasionally one of multiplexers loses the connection and never recovers. We have to recycle app pool to bring it back to life. When this happens I see few errors in our logs (these are coming from ConnectionMultiplexer events) - InternalError followed by ConnectionFailed and ConfigurationChanged. All subsequent Redis requests then fail with "No connection is available to service this operation" error.

Here are the events coming from the ConnectionMultiplexer.

InternalError: endpoint=Unspecified/CACHENAME.redis.cache.windows.net:6380, connectionType=Interactive, origin=KeepAlive, exception=StackExchange.Redis.RedisConnectionException: No connection is available to service this operation: PING; IOCP: (Busy=1,Free=999,Min=16,Max=1000), WORKER: (Busy=5,Free=32762,Min=48,Max=32767), Local-CPU: 29.7%
ConnectionFailed: endpoint=Unspecified/CACHENAME.redis.cache.windows.net:6380, connectionType=Interactive, failureType=SocketClosed, exception=StackExchange.Redis.RedisConnectionException: SocketClosed on CACHENAME.redis.cache.windows.net:6380/Interactive, Idle/MarkProcessed, last: EVAL, origin: ReadFromPipe, outstanding: 0, last-read: 0s ago, last-write: 58s ago, keep-alive: 60s, state: ConnectedEstablished, mgr: 9 of 10 available, in: 0, last-heartbeat: 0s ago, last-mbeat: 0s ago, global: 0s ago, v: 2.0.601.3402
ConfigurationChanged: endpoint=Unspecified/CACHENAME.redis.cache.windows.net:6380

Let me know if I can collect more data for you.

Thanks,
Pavel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions