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服务运行一段时间后自动停止 #630

Closed zs842891929 closed 4 years ago

zs842891929 commented 4 years ago

=== REDIS BUG REPORT START: Cut & paste starting from here === Redis version: 4.0.2.3 [1608] 21 Sep 10:09:26.289 # --- EXCEPTION_ACCESS_VIOLATION [1608] 21 Sep 10:09:26.289 # --- STACK TRACE redis-server.exe!UnhandledExceptiontHandler(d:\dev\github\redis\src\win32_interop\win32_stacktrace.cpp:185)(0x00000000, 0x00000000, 0x00000001, 0x00000000) KERNELBASE.dll!UnhandledExceptionFilter(d:\dev\github\redis\src\win32_interop\win32_stacktrace.cpp:185)(0x00000000, 0x7FFDDCC71980, 0x00000000, 0x00000000) ntdll.dll!memset(d:\dev\github\redis\src\win32_interop\win32_stacktrace.cpp:185)(0x00AAF4F0, 0x00AAF000, 0x1401702D8, 0x00000000) ntdll.dll!_C_specific_handler(d:\dev\github\redis\src\win32_interop\win32_stacktrace.cpp:185)(0x00000000, 0x00AAEA30, 0x00AAF4F0, 0x00AAF4F0) ntdll.dll!_chkstk(d:\dev\github\redis\src\win32_interop\win32_stacktrace.cpp:185)(0x00000001, 0x7FFDDF6D0000, 0x00000000, 0x7FFDDF80409C) ntdll.dll!RtlRaiseException(d:\dev\github\redis\src\win32_interop\win32_stacktrace.cpp:185)(0x00000000, 0x00000000, 0x7FCE4B7FFA93, 0x00000000) ntdll.dll!KiUserExceptionDispatcher(d:\dev\github\redis\src\win32_interop\win32_stacktrace.cpp:185)(0x00000206, 0x1400F6970, 0x01A858A0, 0x01A862C0) redis-server.exe!dictFind(d:\dev\github\redis\src\dict.c:498)(0x7FCE4B7FFA93, 0x00000000, 0x7FCE4BF3C000, 0x1400FEC03) redis-server.exe!moduleCommand(d:\dev\github\redis\src\module.c:3792)(0x1D5702197CD6D10, 0x0000000F, 0x00000206, 0x1400F6970) redis-server.exe!call(d:\dev\github\redis\src\server.c:2293)(0x7FCE4BF3C000, 0x00000000, 0x7FCE4BF3C000, 0x1400BC5F0) redis-server.exe!processCommand(d:\dev\github\redis\src\server.c:2576)(0x00000003, 0x00000000, 0x00000000, 0x00000000) redis-server.exe!processInputBuffer(d:\dev\github\redis\src\networking.c:1443)(0x00000028, 0x00000000, 0x00000000, 0x00000000) redis-server.exe!readQueryFromClient(d:\dev\github\redis\src\networking.c:1537)(0x7FCE4B4730C0, 0x00000001, 0x00000000, 0x7FCE4B40C150) redis-server.exe!aeMain(d:\dev\github\redis\src\ae.c:499)(0x1D56DE2E5D37123, 0x592CD34DB998C, 0x1401A8D78, 0x7FCE4B4F8000) redis-server.exe!redis_main(d:\dev\github\redis\src\server.c:4027)(0x001FE0D0, 0x00000000, 0x00000000, 0x00000002) redis-server.exe!main(d:\dev\github\redis\src\win32_interop\win32_qfork.cpp:1285)(0x001FA090, 0x001FA090, 0x00000002, 0x001FE0D0) redis-server.exe!ServiceWorkerThread(d:\dev\github\redis\src\win32_interop\win32_service.cpp:484)(0x14000CB10, 0x00000000, 0x00000000, 0x00000000) KERNEL32.DLL!BaseThreadInitThunk(d:\dev\github\redis\src\win32_interop\win32_service.cpp:484)(0x7FFDDD1A13D0, 0x00000000, 0x00000000, 0x00000000) ntdll.dll!RtlUserThreadStart(d:\dev\github\redis\src\win32_interop\win32_service.cpp:484)(0x00000000, 0x00000000, 0x00000000, 0x00000000) ntdll.dll!RtlUserThreadStart(d:\dev\github\redis\src\win32_interop\win32_service.cpp:484)(0x00000000, 0x00000000, 0x00000000, 0x00000000) [1608] 21 Sep 10:09:27.195 # --- INFO OUTPUT

Server

redis_version:4.0.2.3 redis_git_sha1:f46d3133 redis_git_dirty:0 redis_build_id:1c447179aa2f56e9 redis_mode:standalone os:Windows
arch_bits:64 multiplexing_api:WinSock_IOCP atomicvar_api:pthread-mutex process_id:1608 run_id:5bba739861c533b84fdfe6f8aec19e12235f3ff4 tcp_port:6379 uptime_in_seconds:246830 uptime_in_days:2 hz:10 lru_clock:8750678 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:511 client_longest_output_list:0 client_biggest_input_buf:0 blocked_clients:0

Memory

used_memory:11358624 used_memory_human:10.83M used_memory_rss:11357232 used_memory_rss_human:10.83M used_memory_peak:11378672 used_memory_peak_human:10.85M used_memory_peak_perc:99.82% used_memory_overhead:9412818 used_memory_startup:633888 used_memory_dataset:1945806 used_memory_dataset_perc:18.14% total_system_memory:0 total_system_memory_human:0B used_memory_lua:43008 used_memory_lua_human:42.00K maxmemory:0 maxmemory_human:0B maxmemory_policy:noeviction mem_fragmentation_ratio:1.00 mem_allocator:jemalloc-3.6.0 active_defrag_running:0 lazyfree_pending_objects:0

Persistence

loading:0 rdb_changes_since_last_save:0 rdb_bgsave_in_progress:0 rdb_last_save_time:1569031592 rdb_last_bgsave_status:ok rdb_last_bgsave_time_sec:0 rdb_current_bgsave_time_sec:-1 rdb_last_cow_size:0 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 aof_last_cow_size:0

Stats

total_connections_received:2063 total_commands_processed:4196 instantaneous_ops_per_sec:1 total_net_input_bytes:3450729 total_net_output_bytes:70512 instantaneous_input_kbps:0.23 instantaneous_output_kbps:0.09 rejected_connections:0 sync_full:0 sync_partial_ok:0 sync_partial_err:0 expired_keys:65 evicted_keys:0 keyspace_hits:116 keyspace_misses:37 pubsub_channels:0 pubsub_patterns:0 latest_fork_usec:1882 migrate_cached_sockets:0 slave_expires_tracked_keys:0 active_defrag_hits:0 active_defrag_misses:0 active_defrag_key_hits:0 active_defrag_key_misses:0

Replication

role:master connected_slaves:0 master_replid:01c3a434f28bafe565a50f27320223ff31c12bc6 master_replid2:5b044a98f823553c00f93d47d59e33c5b5ea3ebd master_repl_offset:0 second_repl_offset:1 repl_backlog_active:0 repl_backlog_size:1048576 repl_backlog_first_byte_offset:0 repl_backlog_histlen:0

CPU

used_cpu_sys:1.13 used_cpu_user:0.55 used_cpu_sys_children:0.00 used_cpu_user_children:0.00

Commandstats

cmdstat_msetnx:calls=47,usec=11111,usec_per_call=236.40 cmdstat_setnx:calls=47,usec=198,usec_per_call=4.21 cmdstat_save:calls=264,usec=12700575,usec_per_call=48108.24 cmdstat_select:calls=24,usec=39,usec_per_call=1.63 cmdstat_set:calls=113,usec=622,usec_per_call=5.50 cmdstat_hgetall:calls=39,usec=147,usec_per_call=3.77 cmdstat_publish:calls=113,usec=114,usec_per_call=1.01 cmdstat_exists:calls=278,usec=489,usec_per_call=1.76 cmdstat_incrby:calls=48,usec=242,usec_per_call=5.04 cmdstat_get:calls=5,usec=22,usec_per_call=4.40 cmdstat_multi:calls=386,usec=1039,usec_per_call=2.69 cmdstat_slaveof:calls=4,usec=5697,usec_per_call=1424.25 cmdstat_config:calls=603,usec=44101,usec_per_call=73.14 cmdstat_flushall:calls=91,usec=4509078,usec_per_call=49550.31 cmdstat_psetex:calls=47,usec=201,usec_per_call=4.28 cmdstat_hincrby:calls=109,usec=459,usec_per_call=4.21 cmdstat_exec:calls=1156,usec=10613,usec_per_call=9.18 cmdstat_info:calls=12,usec=2582,usec_per_call=215.17 cmdstat_eval:calls=230,usec=11842,usec_per_call=51.49 cmdstat_module:calls=1,usec=583,usec_per_call=583.00 cmdstat_pexpire:calls=166,usec=450,usec_per_call=2.71 cmdstat_hset:calls=119,usec=1112,usec_per_call=9.34 cmdstat_ping:calls=19,usec=30,usec_per_call=1.58 cmdstat_del:calls=166,usec=688,usec_per_call=4.14 cmdstat_hexists:calls=109,usec=254,usec_per_call=2.33

Cluster

cluster_enabled:0

Keyspace

[1608] 21 Sep 10:09:27.196 # === REDIS BUG REPORT END. Make sure to include from START to END. ===