Redis 3.2.9 - Redis aborting for OUT OF MEMORY

225 views
Skip to first unread message

osh

unread,
Jul 24, 2017, 7:16:31 AM7/24/17
to Redis DB
your help is appreciated.
I've allocated 1g to solve it but still getting:

=== REDIS BUG REPORT START: Cut & paste starting from here ===
6050:M 24 Jul 06:40:39.777 # ------------------------------------------------
6050:M 24 Jul 06:40:39.777 # !!! Software Failure. Press left mouse button to continue
6050:M 24 Jul 06:40:39.777 # Guru Meditation: "Redis aborting for OUT OF MEMORY" #server.c:3829
6050:M 24 Jul 06:40:39.777 # (forcing SIGSEGV in order to print the stack trace)
6050:M 24 Jul 06:40:39.777 # ------------------------------------------------
6050:M 24 Jul 06:40:39.777 # Redis 3.2.9 crashed by signal: 11
6050:M 24 Jul 06:40:39.777 # Crashed running the instuction at: 0x45c10a
6050:M 24 Jul 06:40:39.777 # Accessing address: 0xffffffffffffffff
6050:M 24 Jul 06:40:39.777 # Failed assertion: <no assertion failed> (<no file>:0)

------ STACK TRACE ------
EIP:
redis-server 127.0.0.1:6379(_serverPanic+0x7a)[0x45c10a]

Backtrace:
redis-server 127.0.0.1:6379(logStackTrace+0x29)[0x45d7f9]
redis-server 127.0.0.1:6379(sigsegvHandler+0xac)[0x45de9c]
/lib64/libpthread.so.0(+0xf370)[0x7f8d35de0370]
redis-server 127.0.0.1:6379(_serverPanic+0x7a)[0x45c10a]
redis-server 127.0.0.1:6379(redisOutOfMemoryHandler+0x2c)[0x4248ec]
redis-server 127.0.0.1:6379(zmalloc+0x69)[0x42dc69]
redis-server 127.0.0.1:6379(sdsnewlen+0x3b)[0x42b10b]
redis-server 127.0.0.1:6379(rdbLoadLzfStringObject+0x6d)[0x44059d]
redis-server 127.0.0.1:6379(rdbGenericLoadStringObject+0x43)[0x440b23]
redis-server 127.0.0.1:6379(rdbLoadObject+0xdd)[0x44238d]
redis-server 127.0.0.1:6379(rdbLoad+0x205)[0x443075]
redis-server 127.0.0.1:6379(loadDataFromDisk+0x34)[0x42acf4]
redis-server 127.0.0.1:6379(main+0x381)[0x41e6d1]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f8d35a30b35]
redis-server 127.0.0.1:6379[0x41e9d5]

------ INFO OUTPUT ------
# Server
redis_version:3.2.9
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:b4847d3cadaff10e
redis_mode:standalone
os:Linux 4.9.32-15.41.amzn1.x86_64 x86_64
arch_bits:64
multiplexing_api:epoll
gcc_version:4.8.3
process_id:6050
run_id:5c15564f808d3861199dd7de6de9a905cb194049
tcp_port:6379
uptime_in_seconds:1
uptime_in_days:0
hz:10
lru_clock:7720614
executable:/home/ec2-user/servers/redis-server
config_file:/home/ec2-user/servers/redis1.conf

# Clients
connected_clients:0
client_longest_output_list:0
client_biggest_input_buf:0
blocked_clients:0

# Memory
used_memory:181498984
used_memory_human:173.09M
used_memory_rss:0
used_memory_rss_human:0B
used_memory_peak:181498984
used_memory_peak_human:173.09M
total_system_memory:1041788928
total_system_memory_human:993.53M
used_memory_lua:37888
used_memory_lua_human:37.00K
maxmemory:1000000000
maxmemory_human:953.67M
maxmemory_policy:noeviction
mem_fragmentation_ratio:0.00
mem_allocator:jemalloc-4.0.3

# Persistence
loading:1
rdb_changes_since_last_save:0
rdb_bgsave_in_progress:0
rdb_last_save_time:1500892838
rdb_last_bgsave_status:ok
rdb_last_bgsave_time_sec:-1
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
loading_start_time:1500892838
loading_total_bytes:213547288
loading_loaded_bytes:69204482
loading_loaded_perc:32.41
loading_eta_seconds:2

# Stats
total_connections_received:0
total_commands_processed:0
instantaneous_ops_per_sec:0
total_net_input_bytes:0
total_net_output_bytes:0
instantaneous_input_kbps:0.00
instantaneous_output_kbps:0.00
rejected_connections:0
sync_full:0
sync_partial_ok:0
sync_partial_err:0
expired_keys:0
evicted_keys:0
keyspace_hits:0
keyspace_misses:0
pubsub_channels:0
pubsub_patterns:0
latest_fork_usec:0
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:0.06
used_cpu_user:0.65
used_cpu_sys_children:0.00
used_cpu_user_children:0.00

# Commandstats

# Cluster
cluster_enabled:0

# Keyspace
db0:keys=35019,expires=0,avg_ttl=0
hash_init_value: 1501273236

------ CLIENT LIST OUTPUT ------

------ REGISTERS ------
6050:M 24 Jul 06:40:39.799 #
RAX:0000000000000000 RBX:00000000004d95b0
RCX:000000007fffffb2 RDX:0000000000000000
RDI:00007f8d35dcb400 RSI:00007f8d35dcca10
RBP:00000000004dbc88 RSP:00007ffc887a9790
R8 :00007f8d36708780 R9 :000000000000004d
R10:0000000000000030 R11:0000000000000000
R12:0000000000000ef5 R13:0000000000000005
R14:0000000000000000 R15:00000000000028e2
RIP:000000000045c10a EFL:0000000000010202
CSGSFS:002b000000000033
6050:M 24 Jul 06:40:39.799 # (00007ffc887a979f) -> 0000000000000000
6050:M 24 Jul 06:40:39.799 # (00007ffc887a979e) -> 00007f8d2f05b000
6050:M 24 Jul 06:40:39.799 # (00007ffc887a979d) -> 0000000000000000
6050:M 24 Jul 06:40:39.799 # (00007ffc887a979c) -> 0000000000000003
6050:M 24 Jul 06:40:39.799 # (00007ffc887a979b) -> 000000000000119f
6050:M 24 Jul 06:40:39.799 # (00007ffc887a979a) -> 0000000000e9b3a0
6050:M 24 Jul 06:40:39.799 # (00007ffc887a9799) -> 000000000042b10b
6050:M 24 Jul 06:40:39.799 # (00007ffc887a9798) -> 0000000000000002
6050:M 24 Jul 06:40:39.799 # (00007ffc887a9797) -> 00000000000028dc
6050:M 24 Jul 06:40:39.800 # (00007ffc887a9796) -> 00007ffc887a97e1
6050:M 24 Jul 06:40:39.800 # (00007ffc887a9795) -> 000000000042dc69
6050:M 24 Jul 06:40:39.800 # (00007ffc887a9794) -> 00000000000028e2
6050:M 24 Jul 06:40:39.800 # (00007ffc887a9793) -> 00000000004248ec
6050:M 24 Jul 06:40:39.800 # (00007ffc887a9792) -> 0000000000000000
6050:M 24 Jul 06:40:39.800 # (00007ffc887a9791) -> 00000000000028e2
6050:M 24 Jul 06:40:39.800 # (00007ffc887a9790) -> 0000000000000000

------ FAST MEMORY TEST ------
6050:M 24 Jul 06:40:39.800 # Bio thread for job type #0 terminated
6050:M 24 Jul 06:40:39.800 # Bio thread for job type #1 terminated
*** Preparing to test memory region 722000 (94208 bytes)
*** Preparing to test memory region e8d000 (135168 bytes)
*** Preparing to test memory region 7f8d22e00000 (184549376 bytes)
*** Preparing to test memory region 7f8d2dfff000 (8388608 bytes)
*** Preparing to test memory region 7f8d2e800000 (10485760 bytes)
*** Preparing to test memory region 7f8d35800000 (2097152 bytes)
*** Preparing to test memory region 7f8d35dcc000 (20480 bytes)
*** Preparing to test memory region 7f8d35fe9000 (16384 bytes)
*** Preparing to test memory region 7f8d36708000 (16384 bytes)
*** Preparing to test memory region 7f8d3670f000 (16384 bytes)
*** Preparing to test memory region 7f8d36715000 (4096 bytes)
.Segmentation fault

Jan-Erik Rediger

unread,
Jul 24, 2017, 3:51:26 PM7/24/17
to redi...@googlegroups.com
You ran out of memory. Nothing Redis can do there.

Your system has 1Gb of memory, Redis is using 173Mb. Other applications
and the system are probably using the rest.
Your maxmemory is set to 1Gb as well. Lower it and keep in mind that
other applications and your system needs memory as well.
> --
> You received this message because you are subscribed to the Google Groups "Redis DB" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
> To post to this group, send email to redi...@googlegroups.com.
> Visit this group at https://groups.google.com/group/redis-db.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages