Forumindlæg af Alain Raap

Moodle in English -> General help -> Redis keyspace misses -> Re: Redis keyspace misses

ved Alain Raap -
I just removed the value in the Connection timeout field on the cachestore configuration page and now
the problem seems to be solved, caching keyspace hits are back to normal. When the value is removed,
the Connection timeout is reset to 3 again, also when I change it to 0 (zero). Value 1 is saved. It's a bit
confusing how this parameter is set in Moodle when it's saved.

When I look in the muc/config.php where the cachestore is saved, I see this value, on the cachestore page itself
it shows value 3:

muc/config.php
      array (
        ....
        'compressor' => '0',
        'connectiontimeout' => 0,
        'encryption' => 0,
        ...
      ),
Cachestore page:
cachestore
Redis stats:
Redis cachestore keyspaces hit
 
Gennemsnitsbedømmelse:Useful (2)

Moodle in English -> General help -> Redis keyspace misses

ved Alain Raap -

I'm testing Moodle 4.5.2 and see that for the Moodle MUC our keyspace misses are increasing significanctly.
We're using a separate Redis 7 instance for the Moodle MUC, I saw that in the configuration of the Redis cachestore a new parameter was introduced, Connection timeout that defaults to 3. Could this new parameter make a difference in behavior? I paused the Moodle cron to make sure this wasn't the cause, but this made no difference. Redis stats

Gennemsnitsbedømmelse:Useful (1)