StackExchange / StackExchange.Redis

General purpose redis client
https://stackexchange.github.io/StackExchange.Redis/
Other
5.89k stars 1.51k forks source link

Redis client breaks on redis server error code=0x00000005 Problem creating slave process: permission denied. This causes the .NET app to crash #2478

Closed ankurmalhotra89 closed 1 year ago

ankurmalhotra89 commented 1 year ago

We have a .NET Console application written in C# which is using StackExchange.Redis client library to make connections to a locally (on same server) hosted Redis. Below are the versions that I am using

Redis C# client : https://github.com/StackExchange/StackExchange.Redis StackExchange.Redis.StrongName version 1.1.603

On premise hosted redis server (windows) : https://github.com/MicrosoftArchive/redis/releases -version 3.2.100

On few servers we are using the above setup, and it runs quite heavy loads but the RAM and CPU never chokes (so no resource crunch). Intermittently, we get the below error on the redis server logs

image

This causes few of our services and running console applications to break with unhandled exception. So I have to restart the services and re run the jobs manually . Below is the snapshot of my configuration option

image

Are there any changes that I need to do within my application code or in the settings of the redis.windowsservice.conf file

NickCraver commented 1 year ago

This is a server-side error - we can't speak to that much and the thing you're using is definitely not maintained.

On the client side: please be aware you're using a client from over 5 years ago marked deprecated long ago. StackExchange.Redis (note: not .StrongName anymore - the base one is strong named) has gotten many, many improvements.