-
Bug
-
Resolution: Fixed
-
Minor
-
4.0.5, 4.1
-
Moodle 4.1 running on Redhat 8, PHP 8.0, Apache 2.4, Redis 5 and MariaDB 10.5.
Two Redis instances, one on port 6379 (MUC) and one on port 6380 (Session) on the same server.
-
MOODLE_400_STABLE, MOODLE_401_STABLE
-
MOODLE_400_STABLE, MOODLE_401_STABLE
-
MDL-76218-master -
I have a Moodle 4.1 environment running on Redhat 8, PHP 8.0, Apache 2.4, Redis 5 and MariaDB 10.5
I configured two Redis instances, one on port 6379 (MUC) and one on port 6380 (Session) on the same server.
This configuration runs fine.
I see problems with this new admin task of Redis, the task doesn't work and fails with errors:
Maak geheugen vrij dat gebruikt wordt door verlopen items in de Redis cache\cachestore_redis\task\ttl | Rediscachestore_redis | Thursday, 20 October 2022, 07:57 | Thursday, 3 November 2022, 15:15 | 57 | * | * | * | * | 480Wis | Ja |
---|
In the tasks logs I see these errors:
Execute scheduled task: Maak geheugen vrij dat gebruikt wordt door verlopen items in de Redis cache (cachestore_redis\task\ttl) ... started 15:02:02. Current memory use 4.5 MB. Debugging increased temporarily due to faildelay of 120 core/capabilities: ... used 0 dbqueries ... used 0.0090029239654541 seconds
|
Scheduled task failed:
|
Maak geheugen vrij dat gebruikt wordt door verlopen items in de Redis cache (cachestore_redis\task\ttl),
|
Wrong parameter count for Redis::zRem() Backtrace:
|
* line 445 of /cache/stores/redis/lib.php: call to Redis->zRem()
|
* line 611 of /cache/stores/redis/lib.php: call to cachestore_redis->delete_many()
|
* line 75 of /cache/stores/redis/classes/task/ttl.php: call to cachestore_redis->expire_ttl()
|
* line 259 of /lib/cronlib.php: call to cachestore_redis\task\ttl->execute()
|
* line 120 of /lib/cronlib.php: call to cron_run_inner_scheduled_task()
|
* line 73 of /lib/cronlib.php: call to cron_run_scheduled_tasks()
|
* line 178 of /admin/cli/cron.php: call to cron_run()
|
- is a regression caused by
-
MDL-72328 Add TTL support for Redis caches
- Closed