Skip to content

Instantly share code, notes, and snippets.

@mre
Created May 22, 2014 08:27
Show Gist options
  • Select an option

  • Save mre/6a341d9f08c905987a4e to your computer and use it in GitHub Desktop.

Select an option

Save mre/6a341d9f08c905987a4e to your computer and use it in GitHub Desktop.
Redis connection issues. Output of redis info
# Server
redis_version:2.8.9
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:53bb8484a594dab0
redis_mode:standalone
os:FreeBSD 9.2-RELEASE-p6 amd64
arch_bits:64
multiplexing_api:kqueue
gcc_version:4.2.1
process_id:20398
run_id:xxxxxxxxxxxxxxxx
tcp_port:6380
uptime_in_seconds:53709
uptime_in_days:0
hz:10
lru_clock:8233431
config_file:/usr/local/etc/redis_6380.conf
# Clients
connected_clients:65
client_longest_output_list:0
client_biggest_input_buf:0
blocked_clients:0
# Memory
used_memory:11231875376
used_memory_human:10.46G
used_memory_rss:11231923968
used_memory_peak:12198858520
used_memory_peak_human:11.36G
used_memory_lua:33792
mem_fragmentation_ratio:1.00
mem_allocator:libc
# Persistence
loading:0
rdb_changes_since_last_save:7875
rdb_bgsave_in_progress:0
rdb_last_save_time:1400742246
rdb_last_bgsave_status:ok
rdb_last_bgsave_time_sec:128
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:20883238
total_commands_processed:1464561492
instantaneous_ops_per_sec:771
rejected_connections:0
sync_full:1
sync_partial_ok:0
sync_partial_err:1
expired_keys:622997
evicted_keys:0
keyspace_hits:480478421
keyspace_misses:17653570
pubsub_channels:0
pubsub_patterns:0
latest_fork_usec:450797
# Replication
role:master
connected_slaves:1
slave0:ip=10.2.3.152,port=6380,state=online,offset=45484974777,lag=1
master_repl_offset:45484995315
repl_backlog_active:1
repl_backlog_size:1048576
repl_backlog_first_byte_offset:45483946740
repl_backlog_histlen:1048576
# CPU
used_cpu_sys:2052.40
used_cpu_user:5284.90
used_cpu_sys_children:912.71
used_cpu_user_children:27393.28
# Keyspace
db0:keys=39355280,expires=838513,avg_ttl=249056694
db4:keys=62,expires=62,avg_ttl=73770671
db5:keys=844,expires=0,avg_ttl=0
db8:keys=154,expires=154,avg_ttl=403093829
db9:keys=1108,expires=0,avg_ttl=0
db11:keys=4026987,expires=4026986,avg_ttl=1608844295
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment