redis-windows
redis-windows copied to clipboard
Redis Service error after reboot
Hello,
i'm encountering an issue with the redis server startup after reboot of the server. The service is installed on a Windows Server 2019. This is the error reported in the log file and there is no way to make the server start normally. After removing the old rdb file the server starts fine (since a new one is created automatically).
"[003572] 14 Jun 04:26:17.833 * RedisWin version=7.2.5, bits=64, commit=19/05/2024, modified=0, pid=3572, just started [003572] 14 Jun 04:26:17.834 * Configuration loaded [003572] 14 Jun 04:26:17.842 * monotonic clock: X64 clock_gettime [003572] 14 Jun 04:26:17.862 * Running mode=standalone, port=6379. [003572] 14 Jun 04:26:17.863 * Server initialized [003572] 14 Jun 04:26:17.880 * Loading RDB produced by version 7.2.5 [003572] 14 Jun 04:26:17.888 * RDB age 211 seconds [003572] 14 Jun 04:26:17.918 * RDB memory usage when created 0.00 Mb [003572] 14 Jun 04:26:17.958 # Internal error in RDB reading offset 0, function at rdb.c:2173 -> OOM in dictTryExpand 5 [003572] 14 Jun 04:26:17.959 # Terminating server after rdb file reading failure."
Moreover i did notice that even if with "rdbchecksum yes" set in our config i still see this line in the log when the service restarts (only the service, not the machine)
"RDB file was saved with checksum disabled: no check performed"
Down below is my config:
"save 120 1 60 100 30 1000 port 6379 requirepass '' maxmemory 2gb appendonly no maxmemory-policy noeviction bind 0.0.0.0 rdbchecksum yes protected-mode no dbfilename redis.rdb dir "S:/Program Files/Redis/data" logfile "S:/Program Files/Redis/log/redis.log" maxclients 5000"
Thanks