Giter VIP home page Giter VIP logo

redis-research's Introduction

redis-research

redis学习笔记 redis源码学习笔记,有些东西看了容易忘,因此零碎地没看一点持续整理成笔记

redis-research's People

Contributors

hailei avatar

Stargazers

 avatar Wang Xiaoran avatar  avatar  avatar Terry Wang avatar zeekling avatar  avatar 大龄时荒者 avatar Titan avatar haodedong avatar song Yu avatar  avatar ZiJun-Li avatar xufeiwu avatar wisteria avatar  avatar wangshuai avatar 仔仔 avatar ggyy avatar  avatar fxrc avatar egbert.yi avatar Shen Longxing avatar 叶延超 avatar tommyjarvis avatar Enlight Chen avatar  avatar roc avatar robbin han avatar  avatar  avatar  avatar Liu Lantao avatar Franklin avatar

Watchers

James Cloos avatar Aloha avatar  avatar

redis-research's Issues

求教redis连接Operation now in progress错误的原因

大神你好,看到你对redis研究的一些笔记,我遇到个问题想请教下。

我有一台redis的实例,近阶段经常不定时出现socket连接错误:Operation now in progress,使用的是PHP的predis库,连接是TCP连接,用的PHP内置的stream_socket_client函数。

以下是info信息,redis是跑在虚拟机上的,让运维检查过那台虚拟机上IO和CPU好像也并不高,初步怀疑是否是aof的时候阻塞导致的,请大神指教下。

redis_version:2.4.15
redis_git_sha1:00000000
redis_git_dirty:0
arch_bits:64
multiplexing_api:epoll
gcc_version:4.1.2
process_id:5630
uptime_in_seconds:41745087
uptime_in_days:483
lru_clock:500275
used_cpu_sys:3929.24
used_cpu_user:3163.36
used_cpu_sys_children:19.36
used_cpu_user_children:79.60
connected_clients:2
connected_slaves:0
client_longest_output_list:0
client_biggest_input_buf:0
blocked_clients:0
used_memory:363262528
used_memory_human:346.43M
used_memory_rss:465199104
used_memory_peak:363270776
used_memory_peak_human:346.44M
mem_fragmentation_ratio:1.28
mem_allocator:jemalloc-3.0.0
loading:0
aof_enabled:1
changes_since_last_save:20147336
bgsave_in_progress:0
last_save_time:1389321024
bgrewriteaof_in_progress:0
total_connections_received:25589457
total_commands_processed:49190533
expired_keys:7674576
evicted_keys:0
keyspace_hits:18294202
keyspace_misses:4860432
pubsub_channels:0
pubsub_patterns:0
latest_fork_usec:21926
vm_enabled:0
role:master
aof_current_size:880417823
aof_base_size:531405008
aof_pending_rewrite:0
aof_buffer_length:0
aof_pending_bio_fsync:0
db0:keys=947777,expires=947614

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.