{"action":"closed","issue":{"url":"https://api.github.com/repos/node-inspector/node-inspector/issues/574","labels_url":"https://api.github.com/repos/node-inspector/node-inspector/issues/574/labels{/name}","comments_url":"https://api.github.com/repos/node-inspector/node-inspector/issues/574/comments","events_url":"https://api.github.com/repos/node-inspector/node-inspector/issues/574/events","html_url":"https://github.com/node-inspector/node-inspector/issues/574","id":59357983,"number":574,"title":"Hangs during CPU profiling","user":{"login":"dillonkrug","id":3105014,"avatar_url":"https://avatars.githubusercontent.com/u/3105014?v=3","gravatar_id":"","url":"https://api.github.com/users/dillonkrug","html_url":"https://github.com/dillonkrug","followers_url":"https://api.github.com/users/dillonkrug/followers","following_url":"https://api.github.com/users/dillonkrug/following{/other_user}","gists_url":"https://api.github.com/users/dillonkrug/gists{/gist_id}","starred_url":"https://api.github.com/users/dillonkrug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dillonkrug/subscriptions","organizations_url":"https://api.github.com/users/dillonkrug/orgs","repos_url":"https://api.github.com/users/dillonkrug/repos","events_url":"https://api.github.com/users/dillonkrug/events{/privacy}","received_events_url":"https://api.github.com/users/dillonkrug/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/node-inspector/node-inspector/labels/Triaging","name":"Triaging","color":"d7e102"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-28T20:56:06Z","updated_at":"2015-04-24T18:01:34Z","closed_at":"2015-04-24T18:01:34Z","body":"Apparent with node versions 0.12.0, 0.11.16, and 0.10.29\r\n\r\nI also tried various versions of node-inspector back to v0.8.3\r\n\r\nSteps to reproduce:\r\n - start node-inspector\r\n - start node --debug app (my web app)\r\n - open node inspector in the browser\r\n - start CPU profiler\r\n - hit a couple endpoints on my api\r\n\r\nAfter a few (<10) requests, my app hangs with the cpu at 100%\r\n\r\nDon't know if it's helpful, but I sampled the process in activity monitor, which you can see in [this gist](https://gist.github.com/dillonkrug/ca7dad3482d48e146adc)\r\n\r\n(edit: I should point out that I sampled many times, repeating the whole process, and it always looked the same - __psynch_mutexwait seems to have something to do with... something)\r\n\r\nI did some very unscientific testing, and it appears that this problem happens even when the only thing the app is doing is serving a static file.\r\n\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/9055234-hangs-during-cpu-profiling?utm_campaign=plugin&utm_content=tracker%2F195817&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F195817&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"}}