0

我刚刚按照 redis 网站上的快速入门指南安装了 RedisGears 。尝试使用加载模块时

redis-server --loadmodule ./redisgears.so

rdb 文件无法加载,出现以下错误:

插件 GearsPythonPlugin 不存在,需要加载 rdb

日志如下:

30907:M 29 Dec 2021 09:55:08.534 # Server initialized
30907:M 29 Dec 2021 09:55:08.534 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
30907:M 29 Dec 2021 09:55:08.643 * <rg> RedisGears version 99.99.99, git_sha=67c4b2d5ab274842b539958831371f85f5e1fe88, compiled_os=linux-bionic-x64
30907:M 29 Dec 2021 09:55:08.643 * <rg> Redis version found by RedisGears : 6.2.6 - oss
30907:M 29 Dec 2021 09:55:08.643 * <rg> MaxExecutions:1000
30907:M 29 Dec 2021 09:55:08.644 * <rg> MaxExecutionsPerRegistration:100
30907:M 29 Dec 2021 09:55:08.644 * <rg> ProfileExecutions:0
30907:M 29 Dec 2021 09:55:08.644 * <rg> ExecutionThreads:3
30907:M 29 Dec 2021 09:55:08.644 * <rg> ExecutionMaxIdleTime:5000
30907:M 29 Dec 2021 09:55:08.644 * <rg> SendMsgRetries:3
30907:M 29 Dec 2021 09:55:08.644 * <rg> Plugin:[]
30907:M 29 Dec 2021 09:55:08.645 * Module 'rg' loaded from ./redisgears.so
30907:M 29 Dec 2021 09:55:08.646 * Loading RDB produced by version 6.2.6
30907:M 29 Dec 2021 09:55:08.646 * RDB age 79122 seconds
30907:M 29 Dec 2021 09:55:08.646 * RDB memory usage when created 8.72 Mb
30907:M 29 Dec 2021 09:55:08.646 # <rg> Plugin GearsPythonPlugin does not exists and required to load rdb
30907:M 29 Dec 2021 09:55:08.646 # The RDB file contains module AUX data for the module type 'GEARS_DT0', that the responsible module is not able to load. Check for modules log above for additional clues.
30907:M 29 Dec 2021 09:55:08.646 # Short read or OOM loading DB. Unrecoverable error, aborting now.
30907:M 29 Dec 2021 09:55:08.646 # Internal error in RDB reading offset 0, function at rdb.c:2742 -> Unexpected EOF reading RDB file
[offset 0] Checking RDB file dump.rdb
[offset 26] AUX FIELD redis-ver = '6.2.6'
[offset 40] AUX FIELD redis-bits = '64'
[offset 52] AUX FIELD ctime = '1640674586'
[offset 67] AUX FIELD used-mem = '9145312'
[offset 83] AUX FIELD aof-preamble = '0'
[offset 95] MODULE AUX for: GEARS_DT0
[offset 133] MODULE AUX for: GEAR_REQ0
[offset 148] MODULE AUX for: GEARS_DT0
[offset 213] Checksum OK
[offset 213] \o/ RDB looks OK! \o/
[info] 0 keys read 
[info] 0 expires
[info] 0 already expired

我密切关注指南,所以我不确定为什么会这样。有人可以指导我这里可能出现什么问题吗?

4

0 回答 0