Skip to content

Instantly share code, notes, and snippets.

@d4l3k
Created November 22, 2017 11:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save d4l3k/2d00a8f87b17624326aa8cc6807846fa to your computer and use it in GitHub Desktop.
Save d4l3k/2d00a8f87b17624326aa8cc6807846fa to your computer and use it in GitHub Desktop.
I171122 10:36:38.859185 1 util/log/clog.go:992 [config] file created at: 2017/11/22 10:36:38
I171122 10:36:38.859185 1 util/log/clog.go:992 [config] running on machine: ariel
I171122 10:36:38.859185 1 util/log/clog.go:992 [config] binary: CockroachDB CCL v1.2-alpha.20171026 (linux amd64, built 2017/10/26 20:12:03, go1.9)
I171122 10:36:38.859185 1 util/log/clog.go:992 [config] arguments: [/usr/bin/cockroach start --certs-dir=/etc/cockroachdb/certs --store=/var/data/cockroachdb/ --port=26257 --http-port=7005 --logtostderr=ERROR]
I171122 10:36:38.859185 1 util/log/clog.go:992 line format: [IWEF]yymmdd hh:mm:ss.uuuuuu goid file:line msg utf8=✓
I171122 10:36:38.859184 1 server/config.go:311 available memory from cgroups (8.0 EiB) exceeds system memory 31 GiB, using system memory
W171122 10:36:38.859557 1 cli/start.go:713 Using the default setting for --cache (128 MiB).
A significantly larger value is usually needed for good performance.
If you have a dedicated server a reasonable setting is --cache=25% (7.9 GiB).
I171122 10:36:38.859589 1 cli/start.go:801 CockroachDB CCL v1.2-alpha.20171026 (linux amd64, built 2017/10/26 20:12:03, go1.9)
I171122 10:36:38.978543 1 server/config.go:311 available memory from cgroups (8.0 EiB) exceeds system memory 31 GiB, using system memory
I171122 10:36:38.978619 1 server/config.go:409 system total memory: 31 GiB
I171122 10:36:38.979496 1 server/config.go:411 server configuration:
max offset 500000000
cache size 128 MiB
SQL memory pool size 128 MiB
scan interval 10m0s
scan max idle time 200ms
metrics sample interval 10s
event log enabled true
linearizable false
I171122 10:36:38.979741 66 cli/start.go:508 starting cockroach node
I171122 10:36:39.031973 66 storage/engine/rocksdb.go:411 opening rocksdb instance at "/var/data/cockroachdb/cockroach-temp748498357"
I171122 10:36:39.124987 66 storage/engine/rocksdb.go:411 opening rocksdb instance at "/var/data/cockroachdb"
I171122 10:36:39.157112 66 server/config.go:511 [n?] 1 storage engine initialized
I171122 10:36:39.157130 66 server/config.go:514 [n?] RocksDB cache size: 128 MiB
I171122 10:36:39.157141 66 server/config.go:514 [n?] store 0: RocksDB, max size 0 B, max open file limit 30000
I171122 10:36:39.161295 66 server/server.go:865 [n?] sleeping for 386.026278ms to guarantee HLC monotonicity
W171122 10:36:45.861701 222 storage/replica_range_lease.go:334 can't determine lease status due to node liveness error: node not in the liveness table
W171122 10:36:45.861719 222 storage/replica_range_lease.go:334 can't determine lease status due to node liveness error: node not in the liveness table
W171122 10:36:45.861768 222 storage/store.go:1300 [n1,s1,r7/1:/Table/{SystemCon…-11}] could not gossip system config: [NotLeaseHolderError] r7: replica (n1,s1):1 not lease holder; lease holder unknown
F171122 10:36:45.864086 115 storage/store.go:3662 [n1,s1] {while committing batch}: while committing batch: Corruption: block checksum mismatch
goroutine 115 [running]:
github.com/cockroachdb/cockroach/pkg/util/log.getStacks(0x33eef00, 0x14f9621828e10d15, 0x2c0d0a2, 0x10)
/go/src/github.com/cockroachdb/cockroach/pkg/util/log/clog.go:833 +0xcf
github.com/cockroachdb/cockroach/pkg/util/log.(*loggingT).outputLogEntry(0x33eef00, 0xc400000004, 0x2c0d0a2, 0x10, 0xe4e, 0xc420f5c060, 0x5d)
/go/src/github.com/cockroachdb/cockroach/pkg/util/log/clog.go:736 +0x620
github.com/cockroachdb/cockroach/pkg/util/log.addStructured(0x2f27ac0, 0xc420d04000, 0xc400000004, 0x2, 0x1f37769, 0x6, 0xc420f4ded0, 0x2, 0x2)
/go/src/github.com/cockroachdb/cockroach/pkg/util/log/structured.go:153 +0x2fc
github.com/cockroachdb/cockroach/pkg/util/log.logDepth(0x2f27ac0, 0xc420d04000, 0x1, 0x4, 0x1f37769, 0x6, 0xc420f4ded0, 0x2, 0x2)
/go/src/github.com/cockroachdb/cockroach/pkg/util/log/log.go:56 +0x8c
github.com/cockroachdb/cockroach/pkg/util/log.Fatalf(0x2f27ac0, 0xc420d04000, 0x1f37769, 0x6, 0xc420f4ded0, 0x2, 0x2)
/go/src/github.com/cockroachdb/cockroach/pkg/util/log/log.go:150 +0x7e
github.com/cockroachdb/cockroach/pkg/storage.(*Store).processReady(0xc420175000, 0x2f27ac0, 0xc420d04000, 0x1)
/go/src/github.com/cockroachdb/cockroach/pkg/storage/store.go:3662 +0x4d3
github.com/cockroachdb/cockroach/pkg/storage.(*raftScheduler).worker(0xc4208385a0, 0x2f27ac0, 0xc420d04000)
/go/src/github.com/cockroachdb/cockroach/pkg/storage/scheduler.go:216 +0x259
github.com/cockroachdb/cockroach/pkg/storage.(*raftScheduler).Start.func2(0x2f27ac0, 0xc420d04000)
/go/src/github.com/cockroachdb/cockroach/pkg/storage/scheduler.go:167 +0x3e
github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunWorker.func1(0xc4204b63c0, 0xc42017c870, 0xc4204b63b0)
/go/src/github.com/cockroachdb/cockroach/pkg/util/stop/stopper.go:198 +0xf3
created by github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunWorker
/go/src/github.com/cockroachdb/cockroach/pkg/util/stop/stopper.go:191 +0xad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment