{"action":"opened","issue":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/19746","repository_url":"https://api.github.com/repos/cockroachdb/cockroach","labels_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/19746/labels{/name}","comments_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/19746/comments","events_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/19746/events","html_url":"https://github.com/cockroachdb/cockroach/issues/19746","id":270752712,"number":19746,"title":"OOM error on start-up","user":{"login":"dianasaur323","id":5768024,"avatar_url":"https://avatars0.githubusercontent.com/u/5768024?v=4","gravatar_id":"","url":"https://api.github.com/users/dianasaur323","html_url":"https://github.com/dianasaur323","followers_url":"https://api.github.com/users/dianasaur323/followers","following_url":"https://api.github.com/users/dianasaur323/following{/other_user}","gists_url":"https://api.github.com/users/dianasaur323/gists{/gist_id}","starred_url":"https://api.github.com/users/dianasaur323/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dianasaur323/subscriptions","organizations_url":"https://api.github.com/users/dianasaur323/orgs","repos_url":"https://api.github.com/users/dianasaur323/repos","events_url":"https://api.github.com/users/dianasaur323/events{/privacy}","received_events_url":"https://api.github.com/users/dianasaur323/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/cockroachdb/cockroach/milestones/11","html_url":"https://github.com/cockroachdb/cockroach/milestone/11","labels_url":"https://api.github.com/repos/cockroachdb/cockroach/milestones/11/labels","id":2543483,"number":11,"title":"1.2","description":"","creator":{"login":"dianasaur323","id":5768024,"avatar_url":"https://avatars0.githubusercontent.com/u/5768024?v=4","gravatar_id":"","url":"https://api.github.com/users/dianasaur323","html_url":"https://github.com/dianasaur323","followers_url":"https://api.github.com/users/dianasaur323/followers","following_url":"https://api.github.com/users/dianasaur323/following{/other_user}","gists_url":"https://api.github.com/users/dianasaur323/gists{/gist_id}","starred_url":"https://api.github.com/users/dianasaur323/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dianasaur323/subscriptions","organizations_url":"https://api.github.com/users/dianasaur323/orgs","repos_url":"https://api.github.com/users/dianasaur323/repos","events_url":"https://api.github.com/users/dianasaur323/events{/privacy}","received_events_url":"https://api.github.com/users/dianasaur323/received_events","type":"User","site_admin":false},"open_issues":461,"closed_issues":101,"state":"open","created_at":"2017-05-25T18:08:15Z","updated_at":"2017-11-02T18:06:51Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2017-11-02T18:06:51Z","updated_at":"2017-11-02T18:06:51Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"```temp dir:   /root/cockroach-data/cockroach-temp622938337\r\nstore[0]:   path=/root/cockroach-data\r\nstatus:     restarted pre-existing node\r\nclusterID:  55a5c72f-7a41-4755-b827-0a00f105c876\r\nnodeID:     2\r\nfatal error: runtime: out of memory\r\n\r\nruntime stack:\r\nruntime.throw(0x1f83654, 0x16)\r\n        /usr/local/go/src/runtime/panic.go:605 +0x95\r\nruntime.sysMap(0xc465a30000, 0x20000000, 0xc42045c700, 0x34ba498)\r\n        /usr/local/go/src/runtime/mem_linux.go:216 +0x1d0\r\nruntime.(*mheap).sysAlloc(0x347b480, 0x20000000, 0x7f7bd5e5a9e8)\r\n        /usr/local/go/src/runtime/malloc.go:470 +0xd7\r\nruntime.(*mheap).grow(0x347b480, 0x10000, 0x0)\r\n        /usr/local/go/src/runtime/mheap.go:887 +0x60\r\nruntime.(*mheap).allocSpanLocked(0x347b480, 0x10000, 0x34ba4a8, 0x0)\r\n        /usr/local/go/src/runtime/mheap.go:800 +0x334\r\nruntime.(*mheap).alloc_m(0x347b480, 0x10000, 0xffffffffffff0101, 0xc42045c780)\r\n        /usr/local/go/src/runtime/mheap.go:666 +0x118\r\nruntime.(*mheap).alloc.func1()\r\n        /usr/local/go/src/runtime/mheap.go:733 +0x4d\r\nruntime.systemstack(0x7f7bd5e5aad0)\r\n        /usr/local/go/src/runtime/asm_amd64.s:360 +0xab\r\nruntime.(*mheap).alloc(0x347b480, 0x10000, 0xc422010101, 0x7f7bd5e5ab38)\r\n        /usr/local/go/src/runtime/mheap.go:732 +0xa1\r\nruntime.largeAlloc(0x20000000, 0x7f7bd9be0101, 0x10000000000002a)\r\n        /usr/local/go/src/runtime/malloc.go:827 +0x98\r\nruntime.mallocgc.func1()\r\n        /usr/local/go/src/runtime/malloc.go:722 +0x46\r\nruntime.systemstack(0xc420019300)\r\n        /usr/local/go/src/runtime/asm_amd64.s:344 +0x79\r\nruntime.mstart()\r\n        /usr/local/go/src/runtime/proc.go:1125\r\ngoroutine 2808 [running]:\r\nruntime.systemstack_switch()\r\n        /usr/local/go/src/runtime/asm_amd64.s:298 fp=0xc42504a4c8 sp=0xc42504a4c0 pc=0x636370\r\nruntime.mallocgc(0x20000000, 0x1c92d80, 0x1, 0xc455a10000)\r\n        /usr/local/go/src/runtime/malloc.go:721 +0x7b8 fp=0xc42504a570 sp=0xc42504a4c8 pc=0x5ecdd8\r\nruntime.makeslice(0x1c92d80, 0xff7d70d, 0x20000000, 0xc455a10000, 0x7ffdf0a, 0x10000000)\r\n        /usr/local/go/src/runtime/slice.go:54 +0x77 fp=0xc42504a5a0 sp=0xc42504a570 pc=0x61f947\r\ngithub.com/cockroachdb/cockroach/pkg/storage/engine.(*RocksDBBatchBuilder).grow(0xc4241e40f8, 0x2193cc)\r\n        /go/src/github.com/cockroachdb/cockroach/pkg/storage/engine/batch.go:131 +0x6b fp=0xc42504a600 sp=0xc42504a5a0 pc=0xf67feb\r\ngithub.com/cockroachdb/cockroach/pkg/storage/engine.(*RocksDBBatchBuilder).ApplyRepr(0xc4241e40f8, 0xc43f046000, 0x2193d8, 0x21a000, 0x0, 0x0)\r\n        /go/src/github.com/cockroachdb/cockroach/pkg/storage/engine/batch.go:247 +0x67 fp=0xc42504a680 sp=0xc42504a600 pc=0xf689c7\r\ngithub.com/cockroachdb/cockroach/pkg/storage/engine.(*rocksDBBatch).ApplyBatchRepr(0xc4241e4000, 0xc43f046000, 0x2193d8, 0x21a000, 0x2f86f00, 0x0, 0x0)\r\n        /go/src/github.com/cockroachdb/cockroach/pkg/storage/engine/rocksdb.go:1261 +0x5e fp=0xc42504a6c0 sp=0xc42504a680 pc=0xf8654e\r\ngithub.com/cockroachdb/cockroach/pkg/storage.(*Replica).applySnapshot(0xc4205ec380, 0x2f740e0, 0xc420628180, 0x9a4451a88fef287c, 0xd3dfa48e4dd2a3a0, 0xc42b7f0000, 0x263, 0x400, 0xc420557000, 0xed, ...)\r\n        /go/src/github.com/cockroachdb/cockroach/pkg/storage/replica_raftstorage.go:762 +0x6a1 fp=0xc42504aac0 sp=0xc42504a6c0 pc=0x10dd2d1\r\ngithub.com/cockroachdb/cockroach/pkg/storage.(*Replica).handleRaftReadyRaftMuLocked(0xc4205ec380, 0x9a4451a88fef287c, 0xd3dfa48e4dd2a3a0, 0xc42b7f0000, 0x263, 0x400, 0xc420557000, 0xed, 0x100, 0xc42121efc0, ...)\r\n        /go/src/github.com/cockroachdb/cockroach/pkg/storage/replica.go:3376 +0x2028 fp=0xc42504b300 sp=0xc42504aac0 pc=0x10a22e8\r\ngithub.com/cockroachdb/cockroach/pkg/storage.(*Store).processRaftSnapshotRequest.func1(0x2f740e0, 0xc422225980, 0xc4205ec380, 0x0)\r\n        /go/src/github.com/cockroachdb/cockroach/pkg/storage/store.go:3244 +0x8ba fp=0xc42504b9d0 sp=0xc42504b300 pc=0x112873a\r\ngithub.com/cockroachdb/cockroach/pkg/storage.(*Store).withReplicaForRequest(0xc42063ac00, 0x2f740e0, 0xc422225980, 0xc42121f000, 0xc4233f3a68, 0x0)\r\n        /go/src/github.com/cockroachdb/cockroach/pkg/storage/store.go:2969 +0x135 fp=0xc42504ba38 sp=0xc42504b9d0 pc=0x1100255\r\ngithub.com/cockroachdb/cockroach/pkg/storage.(*Store).processRaftSnapshotRequest(0xc42063ac00, 0x2f740e0, 0xc423fc6ae0, 0xc42121f000, 0x9a4451a88fef287c, 0xd3dfa48e4dd2a3a0, 0xc42b7f0000, 0x263, 0x400, 0xc420557000, ...)\r\n        /go/src/github.com/cockroachdb/cockroach/pkg/storage/store.go:3035 +0xd3 fp=0xc42504bae8 sp=0xc42504ba38 pc=0x11009b3\r\ngithub.com/cockroachdb/cockroach/pkg/storage.(*Store).HandleSnapshot(0xc42063ac00, 0xc42121efc0, 0x7f7bd8cb79c0, 0xc421d30e60, 0x0, 0x0)\r\n        /go/src/github.com/cockroachdb/cockroach/pkg/storage/store.go:2838 +0x686 fp=0xc42504bd00 sp=0xc42504bae8 pc=0x10fecb6\r\ngithub.com/cockroachdb/cockroach/pkg/storage.(*RaftTransport).RaftSnapshot.func1.1(0x2f80420, 0xc421d30e60, 0xc4204b3950, 0x2f740e0, 0xc423fc69f0, 0x10, 0xd3dab5)\r\n        /go/src/github.com/cockroachdb/cockroach/pkg/storage/raft_transport.go:386 +0x13a fp=0xc42504bf08 sp=0xc42504bd00 pc=0x11199ba\r\ngithub.com/cockroachdb/cockroach/pkg/storage.(*RaftTransport).RaftSnapshot.func1(0x2f740e0, 0xc423fc69f0)\r\n        /go/src/github.com/cockroachdb/cockroach/pkg/storage/raft_transport.go:387 +0x5d fp=0xc42504bf68 sp=0xc42504bf08 pc=0x1119c3d\r\ngithub.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunAsyncTask.func1(0xc4206da1b0, 0x2f740e0, 0xc423fc69f0, 0xc42140c040, 0x32, 0x0, 0x0, 0xc423fc6a50)\r\n        /go/src/github.com/cockroachdb/cockroach/pkg/util/stop/stopper.go:267 +0xe6 fp=0xc42504bfa0 sp=0xc42504bf68 pc=0xd3dad6\r\nruntime.goexit()\r\n        /usr/local/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc42504bfa8 sp=0xc42504bfa0 pc=0x638fa1\r\ncreated by github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunAsyncTask\r\n        /go/src/github.com/cockroachdb/cockroach/pkg/util/stop/stopper.go:262 +0x133```"}}
{"actor":{"display_login":"dianasaur323"}}