Tendis
Tendis copied to clipboard
drainRspCallback:Connection reset by peer
线上环境使用tendis是2.4.3最新版本的,使用的lpush命令,大约2k/s左右,并没有bigkey,查看了下rocksdb的日志,也没有发生阻写,有很多的慢日志都是2-4s导致客户端超时严重,和下边的日志,慢日志的命令都不大,能帮忙查看一下吗?还挺急的 W0610 08:06:31.369436 261 network.cpp:902] drainRspCallback:Connection reset by peer W0610 08:06:31.369606 260 network.cpp:902] drainRspCallback:Connection reset by peer W0610 08:06:31.369451 258 network.cpp:902] drainRspCallback:Connection reset by peer W0610 08:06:31.369457 264 network.cpp:902] drainRspCallback:Connection reset by peer W0610 08:06:31.369611 259 network.cpp:902] drainRspCallback:Connection reset by peer W0610 08:06:31.369670 264 network.cpp:902] drainRspCallback:Connection reset by peer W0610 08:06:31.369618 260 network.cpp:902] drainRspCallback:Connection reset by peer W0610 08:06:31.369719 257 network.cpp:902] drainRspCallback:Connection reset by peer W0610 08:43:17.921859 259 network.cpp:902] drainRspCallback:Connection reset by peer W0610 08:43:17.921867 261 network.cpp:902] drainRspCallback:Connection reset by peer W0610 08:43:17.922086 264 network.cpp:902] drainRspCallback:Connection reset by peer W0610 08:43:17.921895 263 network.cpp:902] drainRspCallback:Connection reset by peer W0610 08:43:17.922129 262 network.cpp:902] drainRspCallback:Connection reset by peer W0610 08:43:17.922149 257 network.cpp:902] drainRspCallback:Connection reset by peer W0610 08:43:17.922128 264 network.cpp:902] drainRspCallback:Connection reset by peer W0610 08:43:17.922196 257 network.cpp:902] drainRspCallback:Connection reset by peer W0610 08:43:17.922087 260 network.cpp:902] drainRspCallback:Connection reset by peer W0610 08:43:17.922168 262 network.cpp:902] drainRspCallback:Connection reset by peer W0610 08:43:17.922191 259 network.cpp:902] drainRspCallback:Connection reset by peer W0610 08:43:17.922168 263 network.cpp:902] drainRspCallback:Connection reset by peer W0610 08:43:17.922304 264 network.cpp:902] drainRspCallback:Connection reset by peer W0610 08:43:17.922308 259 network.cpp:902] drainRspCallback:Connection reset by peer W0610 08:43:17.922330 263 network.cpp:902] drainRspCallback:Connection reset by peer W0610 08:43:17.922395 260 network.cpp:902] drainRspCallback:Connection reset by peer W0610 08:43:17.922453 264 network.cpp:902] drainRspCallback:Connection reset by peer W0610 08:43:17.922514 258 network.cpp:902] drainRspCallback:Connection reset by peer W0610 08:43:17.922575 262 network.cpp:902] drainRspCallback:Connection reset by peer W0610 08:43:17.922667 259 network.cpp:902] drainRspCallback:Connection reset by peer W0610 08:43:17.922750 260 network.cpp:902] drainRspCallback:Connection reset by peer I0610 09:22:43.853833 299 command.cpp:836] bigkey delete:656E67696E5F6167673A343332353731303532383833363432,rcdType:L,size:2143
下边是配置文件
- "allow-cross-slot"
- "no"
- "aof-enabled"
- "no"
- "aof-psync-num"
- "500"
- "bind"
- ""0.0.0.0""
- "binlog-send-batch"
- "256"
- "binlog-send-bytes"
- "16777216"
- "binlog-using-defaultcf"
- "no"
- "binlogdelrange"
- "100000"
- "binlogfilesecs"
- "1200"
- "binlogfilesizemb"
- "64"
- "binlogratelimitmb"
- "64"
- "checkkeytypeforsetcmd"
- "no"
- "chunksize"
- "16384"
- "cluster-enabled"
- "yes"
- "cluster-migration-barrier"
- "1"
- "cluster-migration-batch-size"
- "10240"
- "cluster-migration-binlog-iters"
- "10"
- "cluster-migration-distance"
- "10000"
- "cluster-migration-rate-limit"
- "32"
- "cluster-migration-slots-num-per-task"
- "10"
- "cluster-migration-timeout"
- "5"
- "cluster-node-timeout"
- "30000"
- "cluster-require-full-coverage"
- "yes"
- "cluster-single-node"
- "no"
- "cluster-slave-no-failover"
- "no"
- "cluster-slave-validity-factor"
- "10"
- "compactrange-after-deleterange"
- "no"
- "daemon"
- "no"
- "databases"
- "16"
- "delcntindexmgr"
- "10000"
- "deletefilesinrange-for-binlog"
- "yes"
- "deljobcntindexmgr"
- "1"
- "dir"
- ""./store/db""
- "direct-io"
- "no"
- "domain-enabled"
- "no"
- "dumpdir"
- ""./store/dump""
- "executorthreadnum"
- "16"
- "executorworkpoolsize"
- "8"
- "force-recovery"
- "0"
- "fullpushthreadnum"
- "4"
- "fullreceivethreadnum"
- "4"
- "garbage-delete-size"
- "30"
- "garbagedeletethreadnum"
- "1"
- "generallog"
- "no"
- "incrpushthreadnum"
- "8"
- "jeprof-auto-dump"
- "no"
- "keysdefaultlimit"
- "100"
- "kvstorecount"
- "10"
- "lockdbxwaittimeout"
- "5"
- "lockwaittimeout"
- "3600"
- "log-error"
- "no"
- "logdir"
- ""./store/log""
- "loglevel"
- ""notice""
- "logrecyclethreadnum"
- "4"
- "lua-time-limit"
- "5000"
- "luastatemaxidletime"
- "3600000"
- "masterauth"
- ""***""
- "maxbinlogkeepnum"
- "10000000"
- "maxclients"
- "10000"
- "migrate-gc-enabled"
- "no"
- "migrate-snapshot-key-num"
- "100000"
- "migrate-snapshot-retry-num"
- "1000"
- "migratereceivethreadnum"
- "4"
- "migratesenderthreadnum"
- "4"
- "minbinlogkeepsec"
- "604800"
- "netbatchsize"
- "1048576"
- "netbatchtimeoutsec"
- "60"
- "netiothreadnum"
- "8"
- "noexpire"
- "no"
- "pausetimeindexmgr"
- "10"
- "pidfile"
- ""./store/tendisplus.pid""
- "port"
- "6509"
- "proto-max-bulk-len"
- "536870912"
- "replicate-fix-enabled"
- "yes"
- "requirepass"
- ""***""
- "rocks.blockcache_num_shard_bits"
- "6"
- "rocks.blockcache_strict_capacity_limit"
- "no"
- "rocks.blockcachemb"
- "20480"
- "rocks.compaction_deletes_ratio"
- "0.000000"
- "rocks.compaction_deletes_trigger"
- "0"
- "rocks.compaction_deletes_window"
- "0"
- "rocks.compress_type"
- ""snappy""
- "rocks.disable_wal"
- "no"
- "rocks.flush_log_at_trx_commit"
- "no"
- "rocks.level0_compress_enabled"
- "no"
- "rocks.level1_compress_enabled"
- "yes"
- "rocks.max_background_jobs"
- "2"
- "rocks.max_open_files"
- "-1"
- "rocks.rate_limiter_auto_tuned"
- "yes"
- "rocks.rate_limiter_fairness"
- "10"
- "rocks.rate_limiter_rate_bytes_per_sec"
- "0"
- "rocks.rate_limiter_refill_period_us"
- "100000"
- "rocks.wal_dir"
- """"
- "save-min-binlogid"
- "yes"
- "scancntindexmgr"
- "1000"
- "scandefaultlimit"
- "10"
- "scandefaultmaxiteratetimes"
- "10000"
- "scanjobcntindexmgr"
- "1"
- "slave-migrate-enabled"
- "no"
- "slavebinlogkeepnum"
- "1"
- "slowlog"
- ""./store/log/slowlog""
- "slowlog-file-enabled"
- "yes"
- "slowlog-flush-interval"
- "1000"
- "slowlog-log-slower-than"
- "100000"
- "slowlog-max-len"
- "128"
- "storage"
- ""rocks""
- "timeoutsecbinlogwaitrsp"
- "30"
- "truncatebinlogintervalms"
- "1000"
- "truncatebinlognum"
- "100000"
- "version-increase"
- "yes"
复在issue中,我后续跟进一下。
已发
我跟进一下