Hi,
We have a redis master that has about 2.6GB of data (mostly UUIDs). We also have a slave redis running as well for that data. The master is running on an SSD drive.
Every few minutes both servers show high disk activity and solid network transfers. The CPU usage is high as well, and the box is very slow during this time.
Forgive my newness on this, but is there something I should look at or configure for this?
Note - I recently did a "slaveof noone" for the slave to stop replication and the problem seems to have gone away.
One note on the live redis box, I think we need to add some RAM. From top: Swap: 3831460k total, 353192k used
Thanks in advance for any tips,
Dennis
========================
In case it's helpful, some info from the redis-cli:
# Server
redis_version:2.6.9
redis_git_sha1:00000000
redis_git_dirty:0
redis_mode:standalone
os:Linux 2.6.29.1-desktop-4mnb i686
arch_bits:32
multiplexing_api:epoll
gcc_version:4.3.2
process_id:3290
run_id:2dc15eb96770f577c4d58462ba7d19f8b46f68b4
tcp_port:6379
uptime_in_seconds:
3106698uptime_in_days:35
lru_clock:67856
# Memory
used_memory:2800254040
used_memory_human:2.61G
used_memory_rss:2490617856
used_memory_peak:2800715496
used_memory_peak_human:2.61G
used_memory_lua:20480
mem_fragmentation_ratio:0.89
mem_allocator:jemalloc-3.2.0
# Persistence
loading:0
rdb_changes_since_last_save:0
rdb_bgsave_in_progress:0
rdb_last_save_time:1363824095
rdb_last_bgsave_status:ok
rdb_last_bgsave_time_sec:32
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
# Stats
total_connections_received:931694
total_commands_processed:2238838
instantaneous_ops_per_sec:0
rejected_connections:0
expired_keys:21007
evicted_keys:0
keyspace_hits:1599146
keyspace_misses:242772
pubsub_channels:0
pubsub_patterns:0
latest_fork_usec:44213
# CPU
used_cpu_sys:186.30
used_cpu_user:83.79
used_cpu_sys_children:6216.39
used_cpu_user_children:61561.99
# Keyspace
db0:keys=429843,expires=10