{"action":"created","issue":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/1280","labels_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/1280/labels{/name}","comments_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/1280/comments","events_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/1280/events","html_url":"https://github.com/cockroachdb/cockroach/issues/1280","id":85627547,"number":1280,"title":"constantly high CPU","user":{"login":"YugeshN","id":5132310,"avatar_url":"https://avatars.githubusercontent.com/u/5132310?v=3","gravatar_id":"","url":"https://api.github.com/users/YugeshN","html_url":"https://github.com/YugeshN","followers_url":"https://api.github.com/users/YugeshN/followers","following_url":"https://api.github.com/users/YugeshN/following{/other_user}","gists_url":"https://api.github.com/users/YugeshN/gists{/gist_id}","starred_url":"https://api.github.com/users/YugeshN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YugeshN/subscriptions","organizations_url":"https://api.github.com/users/YugeshN/orgs","repos_url":"https://api.github.com/users/YugeshN/repos","events_url":"https://api.github.com/users/YugeshN/events{/privacy}","received_events_url":"https://api.github.com/users/YugeshN/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-06-05T20:36:28Z","updated_at":"2015-06-09T17:55:10Z","closed_at":null,"body":"I am running a single instance of cockroach and am noticing that the DB seems to be running the CPU at around 40-50% constantly, even though there are no clients connected and it's not (supposed to be) doing anything. \r\n\r\nThe console is showing the following:\r\n\r\nI0605 20:32:03.599615   14763 node.go:565] runtime stats: 36 goroutines, 1.21MB active, 673493.03cgo/sec, 0.74/0.01 %(u/s)time, 0.03 %gc (704x)\r\nI0605 20:32:03.601440   14763 range.go:934] gossiping cluster id 39a3d847-a5f1-4483-8f0b-d7963055f647 from store 1, range 1\r\nI0605 20:32:03.601470   14763 range.go:942] gossiping sentinel from store 1, range 1\r\nI0605 20:32:03.601487   14763 range.go:946] gossiping first range from store 1, range 1\r\nE0605 20:32:10.947279   14763 queue.go:262] failure processing range range=1 [\"\" - \"\\xff\\xff\") from replicate queue: allocator.go:207: unable to allocate a target store for {[] }\r\nI0605 20:32:18.599368   14763 node.go:565] runtime stats: 34 goroutines, 0.71MB active, 449544.57cgo/sec, 0.89/0.01 %(u/s)time, 0.02 %gc (510x)\r\nE0605 20:32:20.949825   14763 queue.go:262] failure processing range range=1 [\"\" - \"\\xff\\xff\") from replicate queue: allocator.go:207: unable to allocate a target store for {[] }\r\nE0605 20:32:30.953240   14763 queue.go:262] failure processing range range=1 [\"\" - \"\\xff\\xff\") from replicate queue: allocator.go:207: unable to allocate a target store for {[] }\r\nI0605 20:32:33.605321   14763 node.go:565] runtime stats: 36 goroutines, 1.21MB active, 675120.44cgo/sec, 0.75/0.01 %(u/s)time, 0.03 %gc (711x)\r\n\r\nAny ideas as to what might be causing the CPU issues?\r\n\r\nFYI, I have cockroach running in a VM with 2 CPUs assigned to it (from a 6 core machine). The VM CPU is pegged at 40-50%, whilst the overall machine is around 15%.\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/comments/110446078","html_url":"https://github.com/cockroachdb/cockroach/issues/1280#issuecomment-110446078","issue_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/1280","id":110446078,"user":{"login":"YugeshN","id":5132310,"avatar_url":"https://avatars.githubusercontent.com/u/5132310?v=3","gravatar_id":"","url":"https://api.github.com/users/YugeshN","html_url":"https://github.com/YugeshN","followers_url":"https://api.github.com/users/YugeshN/followers","following_url":"https://api.github.com/users/YugeshN/following{/other_user}","gists_url":"https://api.github.com/users/YugeshN/gists{/gist_id}","starred_url":"https://api.github.com/users/YugeshN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YugeshN/subscriptions","organizations_url":"https://api.github.com/users/YugeshN/orgs","repos_url":"https://api.github.com/users/YugeshN/repos","events_url":"https://api.github.com/users/YugeshN/events{/privacy}","received_events_url":"https://api.github.com/users/YugeshN/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T17:55:10Z","updated_at":"2015-06-09T17:55:10Z","body":"I am still seeing spikes in CPU up to 50% (and slightly higher). The difference now is, it doesn't seem to be constant. It spikes up fairly regularly though. There are no clients connected to it.\r\n\r\nThe console isn't showing anything more than what I previously pasted. It does seem like the spikes are related to the lines I posted previously.\r\n\r\nAny other suggestions on how I could dig into what might be causing it?\r\n\r\nThanks."}}