High CPU and memory usage after start, and denial of service

cockroach 1.1 stable
single node.

High CPU and memory usage and denial of service.

last logs…

> W171025 15:50:37.586014 96 storage/store.go:3581  [n1,s1] handle raft ready: 4.8s [p
> W171025 15:50:37.586120 83 storage/store.go:3581  [n1,s1] handle raft ready: 4.8s [processed=1]
> W171025
> W171025 15:50:37.586340 87 storage/store.go:3581  [n1,s1] handle raft read
> W171025 15:50:37.586445 64 storage/store.go:3581  [n1,s1] handle raft ready: 4.8s [processed=1]
> W171025 15:5
> W171025 15:50:39.054538
> W171025 15:50:39.054553 165 storage/node_liveness.go:34
> W171025 15:50:39.055187 12091 storage/node_liveness.go:40
> W171025 15:50:38.351309 64 storage/store.go:3581  [n1,s1] handle raft ready: 0.8s [processed=1]
> W171025 15:50:3
> W171025 15:50:38.371527
> W171025 15:50:38.371670 56 storage/store.go:3581  [n1,s
> W171025 15
> W171025 15:50:38.371928 57 storage/store.go:3581  [n1,s1] handle raft ready: 0.8s [processed=1]
> W171025 15:50
> W171025 15:50:38.372726 95 storage/store.go:3581  [n1,s1] handle raft ready: 0.8s [process
> W171025 15:50:38.372843 88 storage/store.go:3581  [n1,s1] handle raft ready: 0.8s [processed=1]
> W171025 15:50
> W171025 15:50:38.373217 99 storage/store.go:3581  [n1,s1] handle raft read
> W171025 15:50:38.373366 58 storage/store.go:3581  [n1,s1] handle raft ready: 0.8s [
> W171025 15:50:38.373486 53 storage/store.go:3581  [n1,s1] handle raft ready: 0.8s [
> W171025 15:50:38.373623 94 storage/store.go:3581  [n1,s1] handle raft ready: 0.8s [processed=1]
> W
> W171025 15:50:38.373879 98 storage/store.go:3581  [n1,s1] handle raft ready: 0.8s [
> W171025 15:50:38.374006 97 storage/store.go:3581  [n1,s1] handle raft ready: 0.8s [processed=1]
> W171025 15:50:38.401574 63 storage/store.go:3581  [
> W171025 15:50
> W171025 15:50:38.401900 61 storage/store.go:3581  [n1,s1] handle raft ready: 0.8s [processed=1]
> W171025 15:50:38.402026 55 storage/store.go:3581  [n1,s1] handle raft ready: 0.8s [
> W171025 15:
> W171025 15:50:38.402308 86 storage/store.go:3581  [n1,s1] handle raft ready: 0.8
> W171025 1
> W171025 15:50:38.402571 85 storage/store.go:3581  [n1,s1] handle raft ready: 0.8s [p
> W171025 15:50:38.402692 92 storage/store.go:3581  [n1,s1] handle raft ready: 0.8s [processed=1]
> W171025
> W171025 15:50:38.402957 90 storage/store.go:3581  [n1,s1] handle raft read
> W171025 15:50:38.403066 96 storage/store.go:3581  [n1,s1] handle raft ready: 0.8s [processed=1]
> W171025 15:50:38.40
> W171025 15:50:38.403338 84 storage/store.go:3581  [n1,s1] handle raft ready: 0.8s [
> W171025 15:50:38.403475 87 storage/store.go:3581  [n1,s1] handle raft re
> I171025 15:50:39.648954 62 storage/replica_proposal.go:453  [replicate,n1,s1,r287/1
> I171025 15:
> I171025 15:50:39.912663 78 gossip/gossip.go:478  [n1] gossip status (ok, 1 node)
> gossip client
> gossip server (0/3 cur/max c
> I171025 15:50:40.031177 92 storage/replica_proposal.go:453  [replicate,n1,s1,r444/1:/Table/29{4
> I171025 15:50:40
> I171025 15:50:40.668458 96 storage/replica_proposal.go:453  [replicate,n1,s1,r487/1:/Table/33{7
> W171025 15:50:42.034209 84 storage/engine/rocksdb.go:1493  batch [5/300/0] commit took 840.7532
> goroutine 84 [running]:
> runtime/debug.Stack(0x1b5f580, 0x2aca3a0, 0xc42
>
> github.com/cockroachdb/
>         /go/src/github.com/cockroachdb/cockroach/pkg/st
> github.com/cockroachdb/cockroach/pkg/storage/engine.(*roc
>         /go/src/github.com/cockroachdb/cockroach/pkg/storage/engine/rocksdb.go:1416 +0x815
> gith
>         /go/src
> github.com/co
>         /go/src/github.com/cockroachdb/cockroach/pkg/storage/replica.go:4399 +0x52e
> github.com/
>         /go/src/
> github.com/cockroachdb/cockroach/pkg/storage.(*Replica).handleRaftReady(0xc420a0ac00, 0x0,
>         /go/src/github.com/cockroachdb/cockroach/pkg/storage
> github.com/cockroachdb/cockroach/pkg/storage.(*Store).processReady(0xc420060800, 0x
>         /go/src/github.com/cockroachdb/cockroach/pkg/storage/store.go:3569 +0xd8
> github.com/coc
>         /go/src/github.com/cockroachdb/
> github.com/cockroachdb/cockroach/pkg/storag
>         /go/src/github.com/cockroachdb/cockroach/pkg/storage/scheduler.go:167 +0x3e
> github.com/
>         /go/src/git
> created by github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunWorker
>
> W171025 15:50:42.034282 84 storage/store.go:3581  [n1,s1] handle r
> W171025 15:50:45.478073 64 storage/engine/rocksdb.go:1493  batch [10/17121/0] commit
> goroutine 64 [running]:
> runtime/debug.Stack(0x1b5f580, 0x2aca3a0, 0xc4200145a8)
>         /usr/lo
> github.
>         /go/src/github.com/cockroachdb/cockroach/pkg/storage/engine/rocksd
> github.com/cockroachdb/cockroach/pkg/storage/engine.(*rocksDBBatch).Commit(0xc464523440, 0xc420
>         /go/
> github.com/cockroachdb/
>         /go/src/github.com/cockroachdb/cockroach/pkg/st
> github.com/cockroachdb/cockroach/pkg/storage.(*Replica).h
>         /go/src/github.com/cockroachdb/cockroach/pkg/storage/replica.go:3173 +0x102
> github.com/
>         /go/src
> github.com/cockroachdb/
>         /go/src/github.com/cockroachdb/cockroach/pkg/st
> github.com
>         /go/src/github.com/cockroachdb/cockroach/pkg/storage/scheduler.go:167 +0x3e
> github.com/
>         /go/s
> created by github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunWorker
>         /go^C
[root@54hub logs]# I171025 15:50:30.161775 63 storage/replica_proposal.go:453  [replicate,n1,s1,r327/1:/Table/211{-/5/"dow…}] new range lease repl=(n1,s1):1 start=0.000000000,0 epo=22 pro=1508946629.838244062,0 following repl=(n1,s1):1 29.956494 80 server/status/runtime.go:223  [n1] runtime stats: 1.1 GiB RSS, 1605 goroutines, 908 MiB/25 MiB/1004 MiB GO alloc/idle/total, 83 MiB/101 MiB CGO alloc/total,577610.67cgo/sec, 3I171025 15:50:28.329355 53 storage/replica_proposal.go:453  [replicate,n1,s1,r389/1:/Table/24{3-4}] new range lease repl=(n1,s1):1 start=0.000000000,0 epo=22 pro=1508946627.799049832,0 following repl=(n1,s1):1 start=0.000000000,0 epo=17 pro=1508852851.433773145,0^C
[root@54hub logs]#
[root@54hub logs]#
[root@54hub logs]#
[root@54hub logs]#
[root@54hub logs]#
[root@54hub logs]#
[root@54hub logs]#
[root@54hub logs]#
[root@54hub logs]# tail -n 200 cockroach.log
        /go/src/github.com/cockroachdb/cockroach/pkg/util/stop/stopper.go:199 +0xad
W171025 15:52:18.712976 58 storage/store.go:3581  [n1,s1] handle raft ready: 2.1s [processed=1]
W171025 15:52:18.713323 25136 storage/node_liveness.go:400  [replicate,n1,s1,r272/1:/Table/16{4-5}] slow heartbeat took 2.1s
I171025 15:52:19.132913 53 storage/replica_proposal.go:453  [n1,s1,r458/1:/Table/30{8-9}] new range lease repl=(n1,s1):1 start=0.000000000,0 epo=22 pro=1508946737.656195551,0 following repl=(n1,s1):1 start=0.000000000,0 epo=22 pro=1508946715.886747294,0
W171025 15:52:19.133256 53 storage/store.go:3581  [n1,s1] handle raft ready: 1.5s [processed=1]
I171025 15:52:19.186668 96 storage/replica_proposal.go:453  [n1,s1,r615/1:/Table/303/{1/29082…-2/NULL/…}] new range lease repl=(n1,s1):1 start=0.000000000,0 epo=22 pro=1508946737.608375660,0 following repl=(n1,s1):1 start=0.000000000,0 epo=22 pro=1508946583.436629950,0
I171025 15:52:19.242753 54 storage/replica_proposal.go:453  [n1,s1,r451/1:/Table/30{1-2}] new range lease repl=(n1,s1):1 start=0.000000000,0 epo=22 pro=1508946738.381275440,0 following repl=(n1,s1):1 start=0.000000000,0 epo=22 pro=1508946715.887113604,0
W171025 15:52:19.243958 65 storage/store.go:3581  [n1,s1] handle raft ready: 0.5s [processed=1]
I171025 15:52:19.244002 64 storage/replica_proposal.go:453  [n1,s1,r452/1:/Table/30{2-3}] new range lease repl=(n1,s1):1 start=0.000000000,0 epo=22 pro=1508946738.059604580,0 following repl=(n1,s1):1 start=0.000000000,0 epo=22 pro=1508946715.887686861,0
W171025 15:52:19.244150 64 storage/store.go:3581  [n1,s1] handle raft ready: 0.5s [processed=1]
I171025 15:52:19.246127 60 storage/replica_proposal.go:453  [n1,s1,r457/1:/Table/30{7-8}] new range lease repl=(n1,s1):1 start=0.000000000,0 epo=22 pro=1508946738.352872085,0 following repl=(n1,s1):1 start=0.000000000,0 epo=22 pro=1508946715.886672564,0
W171025 15:52:19.246490 60 storage/store.go:3581  [n1,s1] handle raft ready: 0.5s [processed=1]
I171025 15:52:19.380787 63 storage/replica_proposal.go:453  [replicate,n1,s1,r272/1:/Table/16{4-5}] new range lease repl=(n1,s1):1 start=0.000000000,0 epo=22 pro=1508946736.616746549,0 following repl=(n1,s1):1 start=0.000000000,0 epo=17 pro=1508852921.512403084,0
W171025 15:52:19.411990 96 storage/store.go:3581  [n1,s1] handle raft ready: 1.8s [processed=1]
I171025 15:52:20.026847 25946 sql/mon/bytes_usage.go:580  [n1,client=192.168.1.54:42583] conn: bytes usage increases to 16 MiB (+21504)
W171025 15:52:20.052990 52 storage/store.go:3581  [n1,s1] handle raft ready: 0.5s [processed=1]
I171025 15:52:20.656608 57 storage/replica_proposal.go:453  [replicate,n1,s1,r455/1:/Table/30{5-6}] new range lease repl=(n1,s1):1 start=0.000000000,0 epo=22 pro=1508946739.534277160,0 following repl=(n1,s1):1 start=0.000000000,0 epo=17 pro=1508852908.978872057,0
W171025 15:52:20.656916 57 storage/store.go:3581  [n1,s1] handle raft ready: 0.6s [processed=2]
W171025 15:52:23.260009 94 storage/engine/rocksdb.go:1493  batch [4/268/0] commit took 2.572765264s (>500ms):
goroutine 94 [running]:
runtime/debug.Stack(0x1b5f580, 0x2aca3a0, 0xc4200145a8)
        /usr/local/go/src/runtime/debug/stack.go:24 +0x79
github.com/cockroachdb/cockroach/pkg/storage/engine.(*rocksDBBatch).commitInternal(0xc43ca34b40, 0x0, 0x0, 0x0)
        /go/src/github.com/cockroachdb/cockroach/pkg/storage/engine/rocksdb.go:1493 +0x16d
github.com/cockroachdb/cockroach/pkg/storage/engine.(*rocksDBBatch).Commit(0xc43ca34b40, 0x28f43700, 0x0, 0x0)
        /go/src/github.com/cockroachdb/cockroach/pkg/storage/engine/rocksdb.go:1416 +0x815
github.com/cockroachdb/cockroach/pkg/storage.(*Replica).applyRaftCommand(0xc42063b400, 0x7f70c5b2dde8, 0xc4a55a1860, 0xc42bc2eac8, 0x8, 0xc47d20c1e0, 0x2c, 0x30, 0xc47d20c210, 0x2d, ...)
        /go/src/github.com/cockroachdb/cockroach/pkg/storage/replica.go:4627 +0x436
github.com/cockroachdb/cockroach/pkg/storage.(*Replica).processRaftCommand(0xc42063b400, 0x7f70c5b2dde8, 0xc4a55a1860, 0xc42bc2eac8, 0x8, 0x18, 0x50155, 0x100000001, 0x1, 0x0, ...)
        /go/src/github.com/cockroachdb/cockroach/pkg/storage/replica.go:4399 +0x52e
github.com/cockroachdb/cockroach/pkg/storage.(*Replica).handleRaftReadyRaftMuLocked(0xc42063b400, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /go/src/github.com/cockroachdb/cockroach/pkg/storage/replica.go:3481 +0x1528
github.com/cockroachdb/cockroach/pkg/storage.(*Replica).handleRaftReady(0xc42063b400, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /go/src/github.com/cockroachdb/cockroach/pkg/storage/replica.go:3173 +0x102
github.com/cockroachdb/cockroach/pkg/storage.(*Store).processReady(0xc420060800, 0x7f70c5b2dde8, 0xc420aea390, 0x2c)
        /go/src/github.com/cockroachdb/cockroach/pkg/storage/store.go:3569 +0xd8
github.com/cockroachdb/cockroach/pkg/storage.(*raftScheduler).worker(0xc4206825a0, 0x7f70c5b2dde8, 0xc420aea390)
        /go/src/github.com/cockroachdb/cockroach/pkg/storage/scheduler.go:216 +0x298
github.com/cockroachdb/cockroach/pkg/storage.(*raftScheduler).Start.func2(0x7f70c5b2dde8, 0xc420aea390)
        /go/src/github.com/cockroachdb/cockroach/pkg/storage/scheduler.go:167 +0x3e
github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunWorker.func1(0xc4203f1e90, 0xc4204e0900, 0xc4203f1e80)
        /go/src/github.com/cockroachdb/cockroach/pkg/util/stop/stopper.go:198 +0xf7
created by github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunWorker
        /go/src/github.com/cockroachdb/cockroach/pkg/util/stop/stopper.go:199 +0xad
W171025 15:52:23.261013 94 storage/store.go:3581  [n1,s1] handle raft ready: 3.1s [processed=1]
W171025 15:52:24.309942 94 storage/store.go:3581  [n1,s1] handle raft ready: 1.0s [processed=1]
W171025 15:52:24.880964 94 storage/store.go:3581  [n1,s1] handle raft ready: 0.6s [processed=1]
I171025 15:52:25.164435 80 server/status/runtime.go:223  [n1] runtime stats: 2.3 GiB RSS, 3908 goroutines, 2.0 GiB/2.4 MiB/2.2 GiB GO alloc/idle/total, 94 MiB/117 MiB CGO alloc/total, 373673.87cgo/sec, 2.81/0.04 %(u/s)time, 0.01 %gc (2x)
W171025 15:52:25.343328 165 storage/node_liveness.go:400  [n1,hb] slow heartbeat took 2.6s
W171025 15:52:25.343346 165 storage/node_liveness.go:343  [n1,hb] failed node liveness heartbeat: context deadline exceeded
W171025 15:52:25.448200 94 storage/store.go:3581  [n1,s1] handle raft ready: 0.6s [processed=1]
W171025 15:52:26.363059 94 storage/store.go:3581  [n1,s1] handle raft ready: 0.9s [processed=1]
W171025 15:52:27.039280 94 storage/store.go:3581  [n1,s1] handle raft ready: 0.7s [processed=1]
W171025 15:52:27.670091 94 storage/store.go:3581  [n1,s1] handle raft ready: 0.6s [processed=1]
W171025 15:52:28.343881 83 storage/engine/rocksdb.go:1493  batch [3/1419/0] commit took 606.082785ms (>500ms):
goroutine 83 [running]:
runtime/debug.Stack(0x1b5f580, 0x2aca3a0, 0xc4200145a8)
        /usr/local/go/src/runtime/debug/stack.go:24 +0x79
github.com/cockroachdb/cockroach/pkg/storage/engine.(*rocksDBBatch).commitInternal(0xc441fcb200, 0x0, 0x0, 0x0)
        /go/src/github.com/cockroachdb/cockroach/pkg/storage/engine/rocksdb.go:1493 +0x16d
github.com/cockroachdb/cockroach/pkg/storage/engine.(*rocksDBBatch).Commit(0xc441fcb200, 0xc420444001, 0x0, 0x0)
        /go/src/github.com/cockroachdb/cockroach/pkg/storage/engine/rocksdb.go:1416 +0x815
github.com/cockroachdb/cockroach/pkg/storage.(*Replica).handleRaftReadyRaftMuLocked(0xc42045b800, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /go/src/github.com/cockroachdb/cockroach/pkg/storage/replica.go:3353 +0x5f9
github.com/cockroachdb/cockroach/pkg/storage.(*Replica).handleRaftReady(0xc42045b800, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /go/src/github.com/cockroachdb/cockroach/pkg/storage/replica.go:3173 +0x102
github.com/cockroachdb/cockroach/pkg/storage.(*Store).processReady(0xc420060800, 0x7f70c5b2dde8, 0xc420af4390, 0x44)
        /go/src/github.com/cockroachdb/cockroach/pkg/storage/store.go:3569 +0xd8
github.com/cockroachdb/cockroach/pkg/storage.(*raftScheduler).worker(0xc4206825a0, 0x7f70c5b2dde8, 0xc420af4390)
        /go/src/github.com/cockroachdb/cockroach/pkg/storage/scheduler.go:216 +0x298
github.com/cockroachdb/cockroach/pkg/storage.(*raftScheduler).Start.func2(0x7f70c5b2dde8, 0xc420af4390)
        /go/src/github.com/cockroachdb/cockroach/pkg/storage/scheduler.go:167 +0x3e
github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunWorker.func1(0xc4203f1c80, 0xc4204e0900, 0xc4203f1c70)
        /go/src/github.com/cockroachdb/cockroach/pkg/util/stop/stopper.go:198 +0xf7
created by github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunWorker
        /go/src/github.com/cockroachdb/cockroach/pkg/util/stop/stopper.go:199 +0xad
W171025 15:52:28.690095 55 storage/store.go:3581  [n1,s1] handle raft ready: 8.0s [processed=1]
W171025 15:52:28.750403 94 storage/store.go:3581  [n1,s1] handle raft ready: 1.1s [processed=1]
W171025 15:52:28.968035 165 storage/node_liveness.go:400  [n1,hb] slow heartbeat took 2.4s
W171025 15:52:28.968050 165 storage/node_liveness.go:343  [n1,hb] failed node liveness heartbeat: context deadline exceeded
W171025 15:52:29.870127 26173 storage/node_liveness.go:400  [replicate,n1,s1,r427/1:/Table/27{7-8}] slow heartbeat took 9.2s
W171025 15:52:29.890174 26613 storage/node_liveness.go:400  [n1,s1,r405/1:/System/tsd/cr.store.rocksdb.…] slow heartbeat took 8.7s
E171025 15:52:29.964132 28042 storage/replica_range_lease.go:192  [n1,s1,r451/1:/Table/30{1-2}] heartbeat failed on epoch increment
I171025 15:52:29.966518 80 server/status/runtime.go:223  [n1] runtime stats: 2.4 GiB RSS, 4052 goroutines, 2.2 GiB/12 MiB/2.4 GiB GO alloc/idle/total, 94 MiB/117 MiB CGO alloc/total, 660296.08cgo/sec, 3.99/0.03 %(u/s)time, 0.00 %gc (2x)
W171025 15:52:29.985192 62 storage/engine/rocksdb.go:1493  batch [3/234/0] commit took 707.258587ms (>500ms):
goroutine 62 [running]:
runtime/debug.Stack(0x1b5f580, 0x2aca3a0, 0xc4200145a8)
        /usr/local/go/src/runtime/debug/stack.go:24 +0x79
github.com/cockroachdb/cockroach/pkg/storage/engine.(*rocksDBBatch).commitInternal(0xc42cc06d80, 0x0, 0x0, 0x0)
        /go/src/github.com/cockroachdb/cockroach/pkg/storage/engine/rocksdb.go:1493 +0x16d
github.com/cockroachdb/cockroach/pkg/storage/engine.(*rocksDBBatch).Commit(0xc42cc06d80, 0x108ea900, 0x0, 0x0)
        /go/src/github.com/cockroachdb/cockroach/pkg/storage/engine/rocksdb.go:1416 +0x815
github.com/cockroachdb/cockroach/pkg/storage.(*Replica).applyRaftCommand(0xc4209fb000, 0x7f70c5b2dde8, 0xc4476b80c0, 0xc448c424b8, 0x8, 0xc485309e80, 0x33, 0x40, 0xc485309ec0, 0x38, ...)
        /go/src/github.com/cockroachdb/cockroach/pkg/storage/replica.go:4627 +0x436
github.com/cockroachdb/cockroach/pkg/storage.(*Replica).processRaftCommand(0xc4209fb000, 0x7f70c5b2dde8, 0xc4476b80c0, 0xc448c424b8, 0x8, 0x14, 0x3ac1d, 0x100000001, 0x1, 0x0, ...)
        /go/src/github.com/cockroachdb/cockroach/pkg/storage/replica.go:4399 +0x52e
github.com/cockroachdb/cockroach/pkg/storage.(*Replica).handleRaftReadyRaftMuLocked(0xc4209fb000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /go/src/github.com/cockroachdb/cockroach/pkg/storage/replica.go:3481 +0x1528
github.com/cockroachdb/cockroach/pkg/storage.(*Replica).handleRaftReady(0xc4209fb000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /go/src/github.com/cockroachdb/cockroach/pkg/storage/replica.go:3173 +0x102
github.com/cockroachdb/cockroach/pkg/storage.(*Store).processReady(0xc420060800, 0x7f70c5b2dde8, 0xc420aea0f0, 0x77)
        /go/src/github.com/cockroachdb/cockroach/pkg/storage/store.go:3569 +0xd8
github.com/cockroachdb/cockroach/pkg/storage.(*raftScheduler).worker(0xc4206825a0, 0x7f70c5b2dde8, 0xc420aea0f0)
        /go/src/github.com/cockroachdb/cockroach/pkg/storage/scheduler.go:216 +0x298
github.com/cockroachdb/cockroach/pkg/storage.(*raftScheduler).Start.func2(0x7f70c5b2dde8, 0xc420aea0f0)
        /go/src/github.com/cockroachdb/cockroach/pkg/storage/scheduler.go:167 +0x3e
github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunWorker.func1(0xc4203f1be0, 0xc4204e0900, 0xc4203f1bd0)
        /go/src/github.com/cockroachdb/cockroach/pkg/util/stop/stopper.go:198 +0xf7
created by github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunWorker
        /go/src/github.com/cockroachdb/cockroach/pkg/util/stop/stopper.go:199 +0xad
W171025 15:52:29.985258 62 storage/store.go:3581  [n1,s1] handle raft ready: 9.0s [processed=1]

Dear 枫知秋

Many apologies for the belated answer to your issue.
We have corrected a number of CPU and memory issues in the latest v1.1 releases and the upcoming v2.0 release. We hope you can download a recent version of CockroachDB and check if the issue persists.

If it does persist, please consider filing an issue on GitHub, so we can follow up with a technical investigation.
Thank you!