microsoftarchive / redis

Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes
http://redis.io
Other
20.78k stars 5.37k forks source link

Redis server crashing repeatedly on Windows Server 2012 R2. #574

Open sirilvk opened 6 years ago

sirilvk commented 6 years ago

Hi,

Redis Server is crashing on our box from past two days continuously. It's logging the below stack trace.

=== REDIS BUG REPORT START: Cut & paste starting from here === [6232] 16 Oct 10:12:59.774 # Redis version: 3.0.504 [6232] 16 Oct 10:12:59.774 # --- EXCEPTION_ACCESS_VIOLATION [6232] 16 Oct 10:12:59.774 # --- STACK TRACE redis-server.exe!LogStackTrace(c:\release\redis\src\win32_interop\win32_stacktrace.cpp:95)(0x000BE600, 0x0013FF90, 0x00000001, 0x40124730) redis-server.exe!UnhandledExceptiontHandler(c:\release\redis\src\win32_interop\win32_stacktrace.cpp:185)(0x00000000, 0x00000000, 0x00000000, 0x00000000) KERNELBASE.dll!UnhandledExceptionFilter(c:\release\redis\src\win32_interop\win32_stacktrace.cpp:185)(0x00000000, 0xDE311B84, 0x00000000, 0x00000000) ntdll.dll!memset(c:\release\redis\src\win32_interop\win32_stacktrace.cpp:185)(0x000BF230, 0x00000000, 0x4012AC28, 0x00000000) ntdll.dll!_C_specific_handler(c:\release\redis\src\win32_interop\win32_stacktrace.cpp:185)(0x00000000, 0x000BE770, 0x000BF230, 0x000BF230) ntdll.dll!_chkstk(c:\release\redis\src\win32_interop\win32_stacktrace.cpp:185)(0x00000001, 0xDE200000, 0x00000000, 0xDE336510) ntdll.dll!RtlRaiseException(c:\release\redis\src\win32_interop\win32_stacktrace.cpp:185)(0x00000000, 0x00000000, 0x00000000, 0x00000000) ntdll.dll!KiUserExceptionDispatcher(c:\release\redis\src\win32_interop\win32_stacktrace.cpp:185)(0x72632075, 0x03000000, 0x647FFFD0, 0x00000000) redis-server.exe!lzf_compress(c:\release\redis\src\lzf_c.c:207)(0x001783A4, 0x001783A4, 0x0013F6E0, 0x400A0EA3) redis-server.exe!rdbSaveLzfStringObject(c:\release\redis\src\rdb.c:231)(0x001783A4, 0x3DC1C648, 0x0000002B, 0x3DC1C648) redis-server.exe!rdbSaveRawString(c:\release\redis\src\rdb.c:296)(0x0013F6E0, 0x00178378, 0x02C08D43, 0x02C07070) redis-server.exe!rdbSaveObject(c:\release\redis\src\rdb.c:607)(0x0013F6E0, 0x00000001, 0x3D66DB80, 0x00000001) redis-server.exe!rdbSaveRio(c:\release\redis\src\rdb.c:694)(0x40150210, 0x00830000, 0x00000005, 0x00C32754) redis-server.exe!rdbSave(c:\release\redis\src\rdb.c:758)(0x00830000, 0x59E66BAB, 0x00830000, 0x00000005) redis-server.exe!QForkChildInit(c:\release\redis\src\win32_interop\win32_qfork.cpp:337)(0x00000005, 0x00000000, 0x00356720, 0x00000005) redis-server.exe!QForkStartup(c:\release\redis\src\win32_interop\win32_qfork.cpp:515)(0x00000006, 0x00000000, 0x00000000, 0x003571C0) 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) [6232] 16 Oct 10:12:59.774 # --- INFO OUTPUT [1756] 16 Oct 10:13:00.993 # fork operation failed [1756] 16 Oct 10:13:01.040 # Background saving terminated by signal 1 [1756] 16 Oct 10:13:05.087 10000 changes in 60 seconds. Saving... [1756] 16 Oct 10:13:05.087 Background saving started by pid 7084 [1756] 16 Oct 10:13:06.180 # fork operation complete [1756] 16 Oct 10:13:06.196 * Background saving terminated with success [1756] 16 Oct 10:13:18.477 #

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

Don't see any errors while running the memory test. (redis-server.exe --test-memory 4096).

Would really appreciate your help.

The pc is an Intel Core I7 - 6950X with 32 GB ram and 64 bit Windows Server 2012 R2 running on it.

Thanks, Siril.

dongfo commented 5 years ago

it's same to you ,it happens to crash repeatly. i just set

stop-writes-on-bgsave-error no

It seem that no one still maintance this repo. it's time to give up windows redis and window server .