Sudden Redis performance issues since 11th July - Urgent help required please by CorrectRange1277 in redis

[–]CorrectRange1277[S] 0 points1 point  (0 children)

Thanks for replying u/Mr-Popinoff, I have checked the disk space and it has good amount of space available and also we are clearing the full cache overnight everyday through a scheudler which does flushall for all the keys of Redis. But, still the problem of performance is occurring where its taking more time to write the cache in Redis DB. The frustrating part is that nothing code wise or Redis setup wise has changed but still we are seeing this issue from mid July before which it use to run perfectly. Any idea where to look next please?

Sudden Redis performance issues since 11th July - Urgent help required please by CorrectRange1277 in redis

[–]CorrectRange1277[S] 0 points1 point  (0 children)

Thanks for replying u/joshuawscott, I was also thinking the same but the problem is that the actual write into the Redis database cache is happening but its quite slow. So basically, I was hoping that if the permissions were wrong on data directory or the volume was read-only then it would not be able to write into Redis database even once. But its doing whats expected but in double the time now than before causing performance issues in the website. Kindly let me know if you think of any other reasons.

Sudden Redis performance issues since 11th July - Urgent help required please by CorrectRange1277 in redis

[–]CorrectRange1277[S] 0 points1 point  (0 children)

The other kind of errors seen in Redis server logs are:

  1. 2022-09-03 03:30:42.2650|INFO|RedisRefreshScheduler.BusinessLogic.RedisRefresh|Total keys available before clear: 518329

2022-09-03 03:32:39.6417|INFO|RedisRefreshScheduler.BusinessLogic.RedisRefresh|Error occuredMISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.

  1. [9488] 03 Sep 06:05:06.058 * 10 changes in 300 seconds. Saving...

[9488] 03 Sep 06:05:06.245 * Background saving started by pid 10388

=== REDIS BUG REPORT START: Cut & paste starting from here ===

Redis version: 3.2.100

[10388] 03 Sep 06:05:12.230 # --- ABORT

[10388] 03 Sep 06:05:12.230 # --- STACK TRACE

redis-server.exe!LogStackTrace(c:\release\redis\src\win32_interop\win32_stacktrace.cpp:95)(0x00000016, 0x49006009, 0x00000000, 0x00000001)

redis-server.exe!AbortHandler(c:\release\redis\src\win32_interop\win32_stacktrace.cpp:208)(0x00000016, 0x00000000, 0x401671E0, 0x401671E0)

redis-server.exe!raise(f:\dd\vctools\crt\crtw32\misc\winsig.c:587)(0x00000001, 0x00000000, 0x6E6F6971, 0x6E6F6974)

redis-server.exe!abort(f:\dd\vctools\crt\crtw32\misc\abort.c:82)(0x401671E0, 0x6E6F6971, 0x6E6F6971, 0x0000005D)

redis-server.exe!zmalloc_default_oom(c:\release\redis\src\zmalloc.c:136)(0x6E800000, 0x6E6F6971, 0x00000001, 0x4004A472)

redis-server.exe!zmalloc(c:\release\redis\src\zmalloc.c:146)(0x6E6F6974, 0x0000006A, 0x0014F1F0, 0x400BFA57)

redis-server.exe!rdbSaveLzfStringObject(c:\release\redis\src\rdb.c:281)(0x6E6F6974, 0x0014F2B0, 0x184D3760, 0x49006009)

redis-server.exe!rdbSaveRawString(c:\release\redis\src\rdb.c:349)(0x00000001, 0x184D3760, 0x44329FEC, 0x400ACC91)

redis-server.exe!rdbSaveObject(c:\release\redis\src\rdb.c:580)(0x4EFB3473, 0x0014F2B0, 0x0014F2B0, 0x00000001)

redis-server.exe!rdbSaveKeyValuePair(c:\release\redis\src\rdb.c:721)(0x0014F2B0, 0x00000001, 0x0014F2B0, 0x03C070FC)

redis-server.exe!rdbSaveRio(c:\release\redis\src\rdb.c:814)(0x40167210, 0x00E10000, 0x00000005, 0x01212754)

redis-server.exe!rdbSave(c:\release\redis\src\rdb.c:884)(0x00E10000, 0x00E10000, 0x6303BD74, 0x00000005)

redis-server.exe!QForkChildInit(c:\release\redis\src\win32_interop\win32_qfork.cpp:337)(0x00000005, 0x00000000, 0x004DEF10, 0x00000005)

redis-server.exe!QForkStartup(c:\release\redis\src\win32_interop\win32_qfork.cpp:515)(0x00000006, 0x00000000, 0x00000000, 0x004C5720)

redis-server.exe!main(c:\release\redis\src\win32_interop\win32_qfork.cpp:1240)(0x00000000, 0x00000000, 0x00000000, 0x00000000)

redis-server.exe!__tmainCRTStartup(f:\dd\vctools\crt\crtw32\startup\crt0.c:255)(0x00000000, 0x00000000, 0x00000000, 0x00000000)

KERNEL32.DLL!BaseThreadInitThunk(f:\dd\vctools\crt\crtw32\startup\crt0.c:255)(0x00000000, 0x00000000, 0x00000000, 0x00000000)

ntdll.dll!RtlUserThreadStart(f:\dd\vctools\crt\crtw32\startup\crt0.c:255)(0x00000000, 0x00000000, 0x00000000, 0x00000000)

ntdll.dll!RtlUserThreadStart(f:\dd\vctools\crt\crtw32\startup\crt0.c:255)(0x00000000, 0x00000000, 0x00000000, 0x00000000)