Notice! - If a Redis module was involved, please open an issue in the module's repo instead! - If you're using docker on Apple M1, please make sure the image you're using was compiled for ARM!
Crash report
Paste the complete crash log between the quotes below. Please include a few lines from the log preceding the crash report to provide some context.
546371:C 31 Dec 2022 06:37:57.158 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
546371:C 31 Dec 2022 06:37:57.158 # Redis version=255.255.255, bits=64, commit=af0a4fe2, modified=0, pid=546371, just started
546371:C 31 Dec 2022 06:37:57.158 # Configuration loaded
546371:M 31 Dec 2022 06:37:57.159 * monotonic clock: POSIX clock_gettime
546371:M 31 Dec 2022 06:37:57.159 * Running mode=standalone, port=6379.
546371:M 31 Dec 2022 06:37:57.161 # Server initialized
546371:M 31 Dec 2022 06:37:57.161 * Loading RDB produced by version 255.255.255
546371:M 31 Dec 2022 06:37:57.161 * RDB age 9134 seconds
546371:M 31 Dec 2022 06:37:57.161 * RDB memory usage when created 0.87 Mb
546371:M 31 Dec 2022 06:37:57.161 * Done loading RDB, keys loaded: 2, keys expired: 0.
546371:M 31 Dec 2022 06:37:57.161 * DB loaded from disk: 0.000 seconds
546371:M 31 Dec 2022 06:37:57.161 * Ready to accept connections tcp
546371:M 31 Dec 2022 06:38:08.830 # Out Of Memory allocating 15841173987392380928 bytes!
=== REDIS BUG REPORT START: Cut & paste starting from here ===
546371:M 31 Dec 2022 06:38:08.830 # ------------------------------------------------
546371:M 31 Dec 2022 06:38:08.830 # !!! Software Failure. Press left mouse button to continue
546371:M 31 Dec 2022 06:38:08.830 # Guru Meditation: Redis aborting for OUT OF MEMORY. Allocating 15841173987392380928 bytes! #server.c:6690
------ STACK TRACE ------
Backtrace:
./src/redis-server 127.0.0.1:6379(redisOutOfMemoryHandler+0x36)[0x56316266a2b6]
./src/redis-server 127.0.0.1:6379(zmalloc+0x64)[0x5631626625f4]
./src/redis-server 127.0.0.1:6379(srandmemberWithCountCommand+0x58d)[0x5631626b3d8d]
./src/redis-server 127.0.0.1:6379(call+0xc6)[0x563162656486]
./src/redis-server 127.0.0.1:6379(processCommand+0xb10)[0x5631626579d0]
./src/redis-server 127.0.0.1:6379(processInputBuffer+0x107)[0x563162677e07]
./src/redis-server 127.0.0.1:6379(readQueryFromClient+0x348)[0x563162678368]
./src/redis-server 127.0.0.1:6379(+0x1b50ac)[0x5631627820ac]
./src/redis-server 127.0.0.1:6379(aeMain+0xf1)[0x56316264bd81]
./src/redis-server 127.0.0.1:6379(main+0x3d4)[0x563162641264]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f7955de7d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f7955de7e40]
./src/redis-server 127.0.0.1:6379(_start+0x25)[0x563162641a25]
------ INFO OUTPUT ------
# Server
redis_version:255.255.255
redis_git_sha1:af0a4fe2
redis_git_dirty:0
redis_build_id:b21063553f60d4ba
redis_mode:standalone
os:Linux 5.4.0-135-generic x86_64
arch_bits:64
monotonic_clock:POSIX clock_gettime
multiplexing_api:epoll
atomicvar_api:c11-builtin
gcc_version:11.3.0
process_id:546371
process_supervised:no
run_id:17465e333adf0bb66b9308f2c971d7e85617c51f
tcp_port:6379
server_time_usec:1672468688830282
uptime_in_seconds:11
uptime_in_days:0
hz:10
configured_hz:10
lru_clock:11524304
executable:/not_patched_redis/./src/redis-server
config_file:/redis/redis.conf
io_threads_active:0
listener0:name=tcp,bind=127.0.0.1,port=6379
# Clients
connected_clients:1
cluster_connections:0
maxclients:10000
client_recent_max_input_buffer:20480
client_recent_max_output_buffer:0
blocked_clients:0
tracking_clients:0
clients_in_timeout_table:0
# Memory
used_memory:938784
used_memory_human:916.78K
used_memory_rss:8949760
used_memory_rss_human:8.54M
used_memory_peak:1111952
used_memory_peak_human:1.06M
used_memory_peak_perc:84.43%
used_memory_overhead:866408
used_memory_startup:864240
used_memory_dataset:72376
used_memory_dataset_perc:97.09%
allocator_allocated:1464320
allocator_active:1818624
allocator_resident:14163968
total_system_memory:134823165952
total_system_memory_human:125.56G
used_memory_lua:31744
used_memory_vm_eval:31744
used_memory_lua_human:31.00K
used_memory_scripts_eval:0
number_of_cached_scripts:0
number_of_functions:0
number_of_libraries:0
used_memory_vm_functions:32768
used_memory_vm_total:64512
used_memory_vm_total_human:63.00K
used_memory_functions:184
used_memory_scripts:184
used_memory_scripts_human:184B
maxmemory:0
maxmemory_human:0B
maxmemory_policy:noeviction
allocator_frag_ratio:1.24
allocator_frag_bytes:354304
allocator_rss_ratio:7.79
allocator_rss_bytes:12345344
rss_overhead_ratio:0.63
rss_overhead_bytes:-5214208
mem_fragmentation_ratio:9.77
mem_fragmentation_bytes:8033480
mem_not_counted_for_evict:0
mem_replication_backlog:0
mem_total_replication_buffers:0
mem_clients_slaves:0
mem_clients_normal:1800
mem_cluster_links:0
mem_aof_buffer:0
mem_allocator:jemalloc-5.2.1
active_defrag_running:0
lazyfree_pending_objects:0
lazyfreed_objects:0
# Persistence
loading:0
async_loading:0
current_cow_peak:0
current_cow_size:0
current_cow_size_age:0
current_fork_perc:0.00
current_save_keys_processed:0
current_save_keys_total:0
rdb_changes_since_last_save:1
rdb_bgsave_in_progress:0
rdb_last_save_time:1672468677
rdb_last_bgsave_status:ok
rdb_last_bgsave_time_sec:-1
rdb_current_bgsave_time_sec:-1
rdb_saves:0
rdb_last_cow_size:0
rdb_last_load_keys_expired:0
rdb_last_load_keys_loaded:2
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_rewrites:0
aof_rewrites_consecutive_failures:0
aof_last_write_status:ok
aof_last_cow_size:0
module_fork_in_progress:0
module_fork_last_cow_size:0
# Stats
total_connections_received:1
total_commands_processed:2
instantaneous_ops_per_sec:0
total_net_input_bytes:133
total_net_output_bytes:200343
total_net_repl_input_bytes:0
total_net_repl_output_bytes:0
instantaneous_input_kbps:0.00
instantaneous_output_kbps:0.00
instantaneous_input_repl_kbps:0.00
instantaneous_output_repl_kbps:0.00
rejected_connections:0
sync_full:0
sync_partial_ok:0
sync_partial_err:0
expired_keys:0
expired_stale_perc:0.00
expired_time_cap_reached_count:0
expire_cycle_cpu_milliseconds:0
evicted_keys:0
evicted_clients:0
total_eviction_exceeded_time:0
current_eviction_exceeded_time:0
keyspace_hits:1
keyspace_misses:0
pubsub_channels:0
pubsub_patterns:0
pubsubshard_channels:0
latest_fork_usec:0
total_forks:0
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
total_active_defrag_time:0
current_active_defrag_time:0
tracking_total_keys:0
tracking_total_items:0
tracking_total_prefixes:0
unexpected_error_replies:0
total_error_replies:0
dump_payload_sanitizations:0
total_reads_processed:3
total_writes_processed:4
io_threaded_reads_processed:0
io_threaded_writes_processed:0
reply_buffer_shrinks:1
reply_buffer_expands:0
acl_access_denied_auth:0
acl_access_denied_cmd:0
acl_access_denied_key:0
acl_access_denied_channel:0
# Replication
role:master
connected_slaves:0
master_failover_state:no-failover
master_replid:37b34ca66af5d81ab944aebc170acab21756a02e
master_replid2:0000000000000000000000000000000000000000
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:0.011968
used_cpu_user:0.012366
used_cpu_sys_children:0.000000
used_cpu_user_children:0.000000
used_cpu_sys_main_thread:0.009679
used_cpu_user_main_thread:0.014519
# Modules
# Commandstats
cmdstat_sadd:calls=1,usec=9,usec_per_call=9.00,rejected_calls=0,failed_calls=0
cmdstat_command|docs:calls=1,usec=1682,usec_per_call=1682.00,rejected_calls=0,failed_calls=0
# Errorstats
# Latencystats
latency_percentiles_usec_sadd:p50=9.023,p99=9.023,p99.9=9.023
latency_percentiles_usec_command|docs:p50=1687.551,p99=1687.551,p99.9=1687.551
# Cluster
cluster_enabled:0
# Keyspace
db0:keys=3,expires=0,avg_ttl=0
------ CLIENT LIST OUTPUT ------
id=3 addr=127.0.0.1:55746 laddr=127.0.0.1:6379 fd=7 name= age=9 idle=0 flags=N db=0 sub=0 psub=0 ssub=0 multi=-1 qbuf=62 qbuf-free=20412 argv-mem=38 multi-mem=0 rbs=1024 rbp=22 obl=22 oll=0 omem=0 tot-mem=22334 events=r cmd=srandmember user=default redir=-1 resp=2
------ CURRENT CLIENT INFO ------
id=3 addr=127.0.0.1:55746 laddr=127.0.0.1:6379 fd=7 name= age=9 idle=0 flags=N db=0 sub=0 psub=0 ssub=0 multi=-1 qbuf=62 qbuf-free=20412 argv-mem=38 multi-mem=0 rbs=1024 rbp=22 obl=22 oll=0 omem=0 tot-mem=22334 events=r cmd=srandmember user=default redir=-1 resp=2
argv[0]: '"srandmember"'
argv[1]: '"someset"'
argv[2]: '"-1428663252545913856"'
546371:M 31 Dec 2022 06:38:08.831 # key 'someset' found in DB containing the following object:
546371:M 31 Dec 2022 06:38:08.831 # Object type: 2
546371:M 31 Dec 2022 06:38:08.831 # Object encoding: 11
546371:M 31 Dec 2022 06:38:08.831 # Object refcount: 1
------ MODULES INFO OUTPUT ------
------ CONFIG DEBUG OUTPUT ------
proto-max-bulk-len 512mb
lazyfree-lazy-expire no
client-query-buffer-limit 1gb
lazyfree-lazy-eviction no
list-compress-depth 0
repl-diskless-load disabled
slave-read-only yes
repl-diskless-sync yes
io-threads 1
lazyfree-lazy-user-flush no
io-threads-do-reads no
replica-read-only yes
activedefrag no
lazyfree-lazy-server-del no
lazyfree-lazy-user-del no
sanitize-dump-payload no
------ FAST MEMORY TEST ------
546371:M 31 Dec 2022 06:38:08.831 # Bio thread for job type #0 terminated
546371:M 31 Dec 2022 06:38:08.831 # Bio thread for job type #1 terminated
546371:M 31 Dec 2022 06:38:08.831 # Bio thread for job type #2 terminated
*** Preparing to test memory region 56316293b000 (2306048 bytes)
*** Preparing to test memory region 5631640dc000 (135168 bytes)
*** Preparing to test memory region 7f7952a00000 (8388608 bytes)
*** Preparing to test memory region 7f7953200000 (6291456 bytes)
*** Preparing to test memory region 7f7953915000 (8388608 bytes)
*** Preparing to test memory region 7f7954116000 (8388608 bytes)
*** Preparing to test memory region 7f7954917000 (8388608 bytes)
*** Preparing to test memory region 7f7955400000 (8388608 bytes)
*** Preparing to test memory region 7f7955dba000 (16384 bytes)
*** Preparing to test memory region 7f7955fd9000 (53248 bytes)
*** Preparing to test memory region 7f79560d3000 (8192 bytes)
.O.O.O.O.O.O.O.O.O.O.O
Fast memory test PASSED, however your memory can still be broken. Please run a memory test for several hours if possible.
=== REDIS BUG REPORT END. Make sure to include from START to END. ===
Please report the crash by opening an issue on github:
http://github.com/redis/redis/issues
If a Redis module was involved, please open in the module's repo instead.
Suspect RAM error? Use redis-server --test-memory to verify it.
Some other issues could be detected by redis-server --check-system
Additional information
- OS distribution and version
Ubuntu 22.04.1 LTS
Redis ver: built from commit af0a4fe20771603f0eab75a1f60748d124cf33c3
- Steps to reproduce (if any)
Run the following commands in the cli:
sadd someset somemember
srandmember someset -1428663252545913856