Open BoasE opened 8 years ago
One more thing I know increased maxmemory a little and now one hour later the redis server even doesn't start anymore.
After hours it isn't able to run it. if of any help i've backup the complete folder with binaries, dump, logs and so....
Hi @Gentlehag the avg_ttl is not a Windows-specific data, you should ask about it in the official Redis community: https://www.reddit.com/r/redis/
The StackExchange.Redis.RedisServerException error may be a client issue or a server issue, if redis-cli.exe can connect to the server and cab execute commands it makes more probable that the problem is with the StackExchange client (what version are you using?).
Regarding the Redis service start failure, can you please provide the Redis log? Thank you.
here the log
looking at the StackExchange. The strange thing is we reference ServiceSTack.Redis. not sure where StackExchange comes from. should have a look at this.
BUT the problem is Always solved when restarting the redis service and the webprocess of the site / api isn't stopped
I Assume stackexchange comes from Microsoft.aspnet.signalR.Redis. ill investigate this further. All SignalR Packes are most curretn stables
@Gentlehag thanks for sending the log. I don't see any service start error in the log. Try renaming the log and start again the service so we can be sure the service start error is logged in a new empty file.
In the past we experienced problems using the StackExchange client. The client was not correctly releasing the connections until the client or the server was restarted. I can't guarantee that you are experiencing the same issue, but you should verify if resetting the client solves the problem.
Good to know. Was this problem only related whe nusing Redis 3.0 ?
with redis 2.0 i primarly have only this recurring short time errors but not hangs ( same client)
unfortunately i only try connect. Not adding a key. If I under stand documentation right there are states where redis just denies adds. In this case wouldn't i get the errors like described above?
Do you mean explicit releasing the connections by our code or internal things of the StackExchange client?
We have a scenario where we let the connections just time out and don't close them explicitly
Is there a way to see if there are problem with the signalR client? I thought I saw yesterday night only 64 clients in the redis info console. shouldn't I see much more if the stackexchange client has these problems ?
I had a look at the default SignalR.Redis assembly and it refrences StackExchange.Redis 1.0.316.0
but the when i log foor stackexchangeredis the most current version is 1.0.488
@Gentlehag latest StackExchange.Redis release is 1.1.553 https://github.com/StackExchange/StackExchange.Redis/releases/tag/1.1.553
Good to know. Was this problem only related whe nusing Redis 3.0 ?
I run into it while testing Redis 3.0.
We have a scenario where we let the connections just time out and don't close them explicitly
That may cause problems, I strongly suggest to explicitly close connections that are not in use, or implement a connection pool.
Is there a way to see if there are problem with the signalR client?
You should refer to the SignalR documentation/community.
I thought I saw yesterday night only 64 clients in the redis info console. shouldn't I see much more if the stackexchange client has these problems?
It may a problem with the client or not, it depends, with the information I have I can't say.
Just to be clear we don't close the signalR connections. in this scenario we don't create the Redisconnection itself .
Upgraded tp redis 3.0.501. First two hors everything works without any error.
then this error repeated endlessly.
when I was on the redis server it self I was able to connect to the server with redis desktop client. But all Productions server weren't able to get a connection.
the dump has about 1,4GB
settings:
maxmemory 5000mb
The redis log doesn'T show any error.
I can see some logs of this kind (not sure if it is not meant to be there)
Here the output of the info. Strange thing at the end :
avg_ttl=52351615
are this seconds ?? I can't find any key with such a longe ttl in redis and if it redis then there must be a lot...local:0>info
Currently using redis is just getting more worse and worse when updating anything :-/