{"action":"created","issue":{"url":"https://api.github.com/repos/rebus-org/Rebus/issues/501","repository_url":"https://api.github.com/repos/rebus-org/Rebus","labels_url":"https://api.github.com/repos/rebus-org/Rebus/issues/501/labels{/name}","comments_url":"https://api.github.com/repos/rebus-org/Rebus/issues/501/comments","events_url":"https://api.github.com/repos/rebus-org/Rebus/issues/501/events","html_url":"https://github.com/rebus-org/Rebus/issues/501","id":167571482,"number":501,"title":"High CPU consumption on idle","user":{"login":"zabulus","id":2720011,"avatar_url":"https://avatars.githubusercontent.com/u/2720011?v=3","gravatar_id":"","url":"https://api.github.com/users/zabulus","html_url":"https://github.com/zabulus","followers_url":"https://api.github.com/users/zabulus/followers","following_url":"https://api.github.com/users/zabulus/following{/other_user}","gists_url":"https://api.github.com/users/zabulus/gists{/gist_id}","starred_url":"https://api.github.com/users/zabulus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zabulus/subscriptions","organizations_url":"https://api.github.com/users/zabulus/orgs","repos_url":"https://api.github.com/users/zabulus/repos","events_url":"https://api.github.com/users/zabulus/events{/privacy}","received_events_url":"https://api.github.com/users/zabulus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rebus-org/Rebus/labels/++","name":"++","color":"DDDDDD"},{"url":"https://api.github.com/repos/rebus-org/Rebus/labels/Backlog","name":"Backlog","color":"02e10c"},{"url":"https://api.github.com/repos/rebus-org/Rebus/labels/Idea","name":"Idea","color":"444444"},{"url":"https://api.github.com/repos/rebus-org/Rebus/labels/Rebus","name":"Rebus","color":"2018e1"}],"state":"closed","locked":false,"assignee":{"login":"mookid8000","id":32968,"avatar_url":"https://avatars.githubusercontent.com/u/32968?v=3","gravatar_id":"","url":"https://api.github.com/users/mookid8000","html_url":"https://github.com/mookid8000","followers_url":"https://api.github.com/users/mookid8000/followers","following_url":"https://api.github.com/users/mookid8000/following{/other_user}","gists_url":"https://api.github.com/users/mookid8000/gists{/gist_id}","starred_url":"https://api.github.com/users/mookid8000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mookid8000/subscriptions","organizations_url":"https://api.github.com/users/mookid8000/orgs","repos_url":"https://api.github.com/users/mookid8000/repos","events_url":"https://api.github.com/users/mookid8000/events{/privacy}","received_events_url":"https://api.github.com/users/mookid8000/received_events","type":"User","site_admin":false},"assignees":[{"login":"mookid8000","id":32968,"avatar_url":"https://avatars.githubusercontent.com/u/32968?v=3","gravatar_id":"","url":"https://api.github.com/users/mookid8000","html_url":"https://github.com/mookid8000","followers_url":"https://api.github.com/users/mookid8000/followers","following_url":"https://api.github.com/users/mookid8000/following{/other_user}","gists_url":"https://api.github.com/users/mookid8000/gists{/gist_id}","starred_url":"https://api.github.com/users/mookid8000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mookid8000/subscriptions","organizations_url":"https://api.github.com/users/mookid8000/orgs","repos_url":"https://api.github.com/users/mookid8000/repos","events_url":"https://api.github.com/users/mookid8000/events{/privacy}","received_events_url":"https://api.github.com/users/mookid8000/received_events","type":"User","site_admin":false}],"milestone":null,"comments":36,"created_at":"2016-07-26T10:13:16Z","updated_at":"2016-08-17T13:55:07Z","closed_at":"2016-08-17T12:56:42Z","body":"My cluster node doesn't do anything, but consumes over 70% of i5 CPU.\r\nI've profiled this issue and found that main CPU consumer is following execution path:\r\n\r\nFunction Name|Module Name|Inclusive Samples|Exclusive Samples|Inclusive Samples %|Exclusive Samples %\r\n-------------|-----------|-----------------|-----------------|-------------------|-------------------\r\nRebus.Workers.ThreadBased.ThreadWorker.ThreadStart|Rebus.dll|103,661|38|100.00|0.04\r\nRebus.Workers.ThreadBased.ThreadWorker.DoWork|Rebus.dll|103,623|65|99.96|0.06\r\nRebus.Workers.ThreadBased.ThreadWorker.TryReceiveNewMessage|Rebus.dll|103,473|77|99.82|0.07\r\nSystem.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start|mscorlib.dll|103,270|251|99.62|0.24\r\nRebus.Workers.ThreadBased.ThreadWorker+<TryReceiveNewMessage>d__16.MoveNext|Rebus.dll|103,019|77|99.38|0.07\r\nRebus.Threading.ParallelOperationsManager.TryBegin|Rebus.dll|101,190|63|97.62|0.06\r\nSystem.Threading.SemaphoreSlim.Wait|mscorlib.ni.dll|101,060|101,060|97.49|97.49\r\n\r\nPart of rebus configuration:\r\n```\r\n                             .Options(x =>\r\n                             {\r\n                                 x.SetMaxParallelism(4);\r\n                                 x.SetNumberOfWorkers(4);\r\n                             })\r\n```"},"comment":{"url":"https://api.github.com/repos/rebus-org/Rebus/issues/comments/240418385","html_url":"https://github.com/rebus-org/Rebus/issues/501#issuecomment-240418385","issue_url":"https://api.github.com/repos/rebus-org/Rebus/issues/501","id":240418385,"user":{"login":"SeniorMunch","id":21078056,"avatar_url":"https://avatars.githubusercontent.com/u/21078056?v=3","gravatar_id":"","url":"https://api.github.com/users/SeniorMunch","html_url":"https://github.com/SeniorMunch","followers_url":"https://api.github.com/users/SeniorMunch/followers","following_url":"https://api.github.com/users/SeniorMunch/following{/other_user}","gists_url":"https://api.github.com/users/SeniorMunch/gists{/gist_id}","starred_url":"https://api.github.com/users/SeniorMunch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeniorMunch/subscriptions","organizations_url":"https://api.github.com/users/SeniorMunch/orgs","repos_url":"https://api.github.com/users/SeniorMunch/repos","events_url":"https://api.github.com/users/SeniorMunch/events{/privacy}","received_events_url":"https://api.github.com/users/SeniorMunch/received_events","type":"User","site_admin":false},"created_at":"2016-08-17T13:55:07Z","updated_at":"2016-08-17T13:55:07Z","body":"Yes, it doesn't make any sense with less workers than parallelism. \r\n\r\nWe ran into it, because we where just setting number of workers (to 10) without adjusting parallelism (thereby using the default 5). \r\nAnd this wasn't a problem when running an older Rebus version.\r\n\r\nbtw: Great product! :-)\r\n"}}
{"actor":{"display_login":"SeniorMunch"}}