redis卡死无法读取数据如何解决?
PHPz
PHPz 2017-04-21 11:18:08
0
1
1190

之前是redis dump.rdb 的时候会卡死,然后我关掉了save功能,但是过了一段时间之后又卡死了,这次不知道什么原因,怎样解决了。

以下是info的信息:

# Server
redis_version:2.8.14
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:626c81d6c826620d
redis_mode:standalone
os:Linux 2.6.32-431.el6.x86_64 x86_64
arch_bits:64
multiplexing_api:epoll
gcc_version:4.4.7
process_id:17850
run_id:e30dd4f0daacb253e9546ea2b5e1f870457fe76b
tcp_port:6379
uptime_in_seconds:1146005
uptime_in_days:13
hz:10
lru_clock:3700842
config_file:/usr/local/redis/redis.conf

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

# Memory
used_memory:5438475464
used_memory_human:5.06G
used_memory_rss:2564509696
used_memory_peak:5443044424
used_memory_peak_human:5.07G
used_memory_lua:33792
mem_fragmentation_ratio:0.47
mem_allocator:jemalloc-3.6.0

# Persistence
loading:0
rdb_changes_since_last_save:25874762
rdb_bgsave_in_progress:0
rdb_last_save_time:1411840981
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

# Stats
total_connections_received:502342
total_commands_processed:29412929
instantaneous_ops_per_sec:7
rejected_connections:0
sync_full:0
sync_partial_ok:0
sync_partial_err:0
expired_keys:0
evicted_keys:0
keyspace_hits:46460656
keyspace_misses:604517
pubsub_channels:0
pubsub_patterns:0
latest_fork_usec: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:9110.47
used_cpu_user:2490.67
used_cpu_sys_children:0.00
used_cpu_user_children:0.00

# Keyspace
db3:keys=33583427,expires=0,avg_ttl=0
PHPz
PHPz

学习是最好的投资!

全部回复(1)
画月亮

是不是内存不够

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板