{"action":"created","issue":{"url":"https://api.github.com/repos/ipfs/go-ipfs/issues/2237","labels_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/2237/labels{/name}","comments_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/2237/comments","events_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/2237/events","html_url":"https://github.com/ipfs/go-ipfs/issues/2237","id":128326692,"number":2237,"title":"goroutines building up in yamux.Read","user":{"login":"whyrusleeping","id":1243164,"avatar_url":"https://avatars.githubusercontent.com/u/1243164?v=3","gravatar_id":"","url":"https://api.github.com/users/whyrusleeping","html_url":"https://github.com/whyrusleeping","followers_url":"https://api.github.com/users/whyrusleeping/followers","following_url":"https://api.github.com/users/whyrusleeping/following{/other_user}","gists_url":"https://api.github.com/users/whyrusleeping/gists{/gist_id}","starred_url":"https://api.github.com/users/whyrusleeping/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whyrusleeping/subscriptions","organizations_url":"https://api.github.com/users/whyrusleeping/orgs","repos_url":"https://api.github.com/users/whyrusleeping/repos","events_url":"https://api.github.com/users/whyrusleeping/events{/privacy}","received_events_url":"https://api.github.com/users/whyrusleeping/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ipfs/go-ipfs/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-23T12:46:23Z","updated_at":"2016-01-25T05:28:39Z","closed_at":null,"body":"Not really sure yet whats going on here, but on latest master i'm seeing lots of goroutines building up waiting on a read. It looks like its caused by a 'dead' connection, where NewStream is called a bunch, and `Write` gets called on that stream, spinning off a goroutine to sit and wait for a read to happen for the handshake."},"comment":{"url":"https://api.github.com/repos/ipfs/go-ipfs/issues/comments/174408525","html_url":"https://github.com/ipfs/go-ipfs/issues/2237#issuecomment-174408525","issue_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/2237","id":174408525,"user":{"login":"rht","id":395821,"avatar_url":"https://avatars.githubusercontent.com/u/395821?v=3","gravatar_id":"","url":"https://api.github.com/users/rht","html_url":"https://github.com/rht","followers_url":"https://api.github.com/users/rht/followers","following_url":"https://api.github.com/users/rht/following{/other_user}","gists_url":"https://api.github.com/users/rht/gists{/gist_id}","starred_url":"https://api.github.com/users/rht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rht/subscriptions","organizations_url":"https://api.github.com/users/rht/orgs","repos_url":"https://api.github.com/users/rht/repos","events_url":"https://api.github.com/users/rht/events{/privacy}","received_events_url":"https://api.github.com/users/rht/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T05:28:39Z","updated_at":"2016-01-25T05:28:39Z","body":"This `NewStream` could be the cause to the peerhost-zombies in #2240."}}