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

Bug Report - MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. #650

Open georgegrainger-labs opened 3 years ago

georgegrainger-labs commented 3 years ago

Prior to submitting a bug report, I've run a memory test which passed, and doubled paging file size, the issue still persists however.

=== REDIS BUG REPORT START: Cut & paste starting from here === Redis version: 3.2.100 [3428] 26 Jan 05:45:55.310 # --- ABORT [3428] 26 Jan 05:45:55.311 # --- STACK TRACE redis-server.exe!LogStackTrace(c:\release\redis\src\win32_interop\win32_stacktrace.cpp:95)(0x00000016, 0xF3C00009, 0x00000000, 0x00000001) redis-server.exe!AbortHandler(c:\release\redis\src\win32_interop\win32_stacktrace.cpp:208)(0x00000001, 0x26015470, 0x401671E0, 0xF57ACE3B) redis-server.exe!raise(f:\dd\vctools\crt\crtw32\misc\winsig.c:587)(0x00000001, 0x00000000, 0x303A302D, 0x303A3030) redis-server.exe!abort(f:\dd\vctools\crt\crtw32\misc\abort.c:82)(0x401671E0, 0x303A302D, 0x303A302D, 0x00000053) redis-server.exe!zmalloc_default_oom(c:\release\redis\src\zmalloc.c:136)(0x30400000, 0x303A302D, 0x40167210, 0x4004A472) redis-server.exe!zmalloc(c:\release\redis\src\zmalloc.c:146)(0x303A3030, 0x0000001F, 0x0013F220, 0x400BFA57) redis-server.exe!rdbSaveLzfStringObject(c:\release\redis\src\rdb.c:281)(0x303A3030, 0x0013F2E0, 0xED0F4090, 0xF3C00009) redis-server.exe!rdbSaveRawString(c:\release\redis\src\rdb.c:349)(0x00000001, 0xED0F4090, 0xE627E2F7, 0xED01AC00) redis-server.exe!rdbSaveObject(c:\release\redis\src\rdb.c:580)(0x0013F220, 0x00000001, 0x0013F2E0, 0x00000001) redis-server.exe!rdbSaveKeyValuePair(c:\release\redis\src\rdb.c:721)(0x0013F2E0, 0x00000001, 0x0013F2E0, 0x02C07040) redis-server.exe!rdbSaveRio(c:\release\redis\src\rdb.c:814)(0x40167210, 0x00A90000, 0x00000005, 0x00E92754) redis-server.exe!rdbSave(c:\release\redis\src\rdb.c:884)(0x00A90000, 0x00A90000, 0x600C20AD, 0x00000005) redis-server.exe!QForkChildInit(c:\release\redis\src\win32_interop\win32_qfork.cpp:337)(0x00000005, 0x00000000, 0x00213D60, 0x00000005) redis-server.exe!QForkStartup(c:\release\redis\src\win32_interop\win32_qfork.cpp:515)(0x00000006, 0x00000000, 0x00000000, 0x00208F60) 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) [3428] 26 Jan 05:45:55.343 # === REDIS BUG REPORT END. Make sure to include from START to END. ===

Server

redis_version:3.2.100 redis_git_sha1:00000000 redis_git_dirty:0 redis_build_id:dd26f1f93c5130ee redis_mode:standalone os:Windows arch_bits:64 multiplexing_api:WinSock_IOCP process_id:2732 run_id:5aef4b192b3acf41a8f9d578619dc8cf2d715963 tcp_port:6379 uptime_in_seconds:215851 uptime_in_days:2 hz:10 lru_clock:1215693 executable:C:\Program Files\Redis\"C:\Program Files\Redis\redis-server.exe" config_file:C:\Program Files\Redis\redis.windows-service.conf

Clients

connected_clients:45 client_longest_output_list:0 client_biggest_input_buf:0 blocked_clients:0

Memory

used_memory:930105560 used_memory_human:887.02M used_memory_rss:930120496 used_memory_rss_human:887.03M used_memory_peak:1433116776 used_memory_peak_human:1.33G total_system_memory:0 total_system_memory_human:0B used_memory_lua:98304 used_memory_lua_human:96.00K maxmemory:0 maxmemory_human:0B maxmemory_policy:noeviction mem_fragmentation_ratio:1.00 mem_allocator:jemalloc-3.6.0

Persistence

loading:0 rdb_changes_since_last_save:9623 rdb_bgsave_in_progress:0 rdb_last_save_time:1611828152 rdb_last_bgsave_status:ok rdb_last_bgsave_time_sec:8 rdb_current_bgsave_time_sec:-1 aof_enabled:0 aof_rewrite_in_progress:0 aof_rewrite_scheduled:0 aof_last_rewrite_time_sec:-1 aof_current_rewrite_time_sec:-1 aof_last_bgrewrite_status:ok aof_last_write_status:ok

Stats

total_connections_received:57862 total_commands_processed:14746489 instantaneous_ops_per_sec:135 total_net_input_bytes:427677572230 total_net_output_bytes:192009032489 instantaneous_input_kbps:2873.55 instantaneous_output_kbps:25.07 rejected_connections:0 sync_full:0 sync_partial_ok:0 sync_partial_err:0 expired_keys:55618 evicted_keys:0 keyspace_hits:9228814 keyspace_misses:44936 pubsub_channels:1 pubsub_patterns:0 latest_fork_usec:28974 migrate_cached_sockets:0

Replication

role:master connected_slaves:0 master_repl_offset:0 repl_backlog_active:0 repl_backlog_size:1048576 repl_backlog_first_byte_offset:0 repl_backlog_histlen:0

CPU

used_cpu_sys:751.05 used_cpu_user:596.50 used_cpu_sys_children:0.00 used_cpu_user_children:0.00

Cluster

cluster_enabled:0

Keyspace

db0:keys=14644,expires=14212,avg_ttl=49813265