{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/9254","repository_url":"https://api.github.com/repos/nodejs/node","labels_url":"https://api.github.com/repos/nodejs/node/issues/9254/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/9254/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/9254/events","html_url":"https://github.com/nodejs/node/issues/9254","id":184812430,"number":9254,"title":"Memory leaking with low network speed","user":{"login":"bangbang93","id":3430784,"avatar_url":"https://avatars.githubusercontent.com/u/3430784?v=3","gravatar_id":"","url":"https://api.github.com/users/bangbang93","html_url":"https://github.com/bangbang93","followers_url":"https://api.github.com/users/bangbang93/followers","following_url":"https://api.github.com/users/bangbang93/following{/other_user}","gists_url":"https://api.github.com/users/bangbang93/gists{/gist_id}","starred_url":"https://api.github.com/users/bangbang93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bangbang93/subscriptions","organizations_url":"https://api.github.com/users/bangbang93/orgs","repos_url":"https://api.github.com/users/bangbang93/repos","events_url":"https://api.github.com/users/bangbang93/events{/privacy}","received_events_url":"https://api.github.com/users/bangbang93/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node/labels/net","name":"net","color":"eb6420"},{"url":"https://api.github.com/repos/nodejs/node/labels/stream","name":"stream","color":"c7def8"},{"url":"https://api.github.com/repos/nodejs/node/labels/unconfirmed","name":"unconfirmed","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-24T11:14:05Z","updated_at":"2016-10-25T09:33:02Z","closed_at":"2016-10-25T09:33:02Z","body":"Version: 6.6.0\r\nPlatform: OSX for development, and CentOS 6.6 for production\r\nSubsystem: _stream_writable\r\n\r\nI have a server running with websocket under high load.\r\nI run 8 clusters with 8G Ram.\r\nNot long ago I found about 12 hours, my server will run out of memory.\r\nFinally I found some problem in _stream_writeable module\r\nI dump the heapmemory and analyze with Webstorm\r\n![image](https://cloud.githubusercontent.com/assets/3430784/19643440/f1a630f2-9a1c-11e6-9ed8-c1b4d6a74edd.png)\r\n![image](https://cloud.githubusercontent.com/assets/3430784/19643453/f9f32a12-9a1c-11e6-8432-3007b0ece10d.png)\r\nAnd got this a a lot of object with distance gather than 10 thousands.\r\n\r\nA few days later,I discover that if my server ran out of network bandwidth，memory usage increase  fastly.\r\nBut if there was 8GB data waiting for sending，clients should feel lag obviously.\r\nBut in fact, client didn't felt anything wrong.\r\n\r\nSo I think it's WriteReq linked list does not release in time.\r\n"},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/255985544","html_url":"https://github.com/nodejs/node/issues/9254#issuecomment-255985544","issue_url":"https://api.github.com/repos/nodejs/node/issues/9254","id":255985544,"user":{"login":"bnoordhuis","id":275871,"avatar_url":"https://avatars.githubusercontent.com/u/275871?v=3","gravatar_id":"","url":"https://api.github.com/users/bnoordhuis","html_url":"https://github.com/bnoordhuis","followers_url":"https://api.github.com/users/bnoordhuis/followers","following_url":"https://api.github.com/users/bnoordhuis/following{/other_user}","gists_url":"https://api.github.com/users/bnoordhuis/gists{/gist_id}","starred_url":"https://api.github.com/users/bnoordhuis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bnoordhuis/subscriptions","organizations_url":"https://api.github.com/users/bnoordhuis/orgs","repos_url":"https://api.github.com/users/bnoordhuis/repos","events_url":"https://api.github.com/users/bnoordhuis/events{/privacy}","received_events_url":"https://api.github.com/users/bnoordhuis/received_events","type":"User","site_admin":false},"created_at":"2016-10-25T09:33:02Z","updated_at":"2016-10-25T09:33:02Z","body":"I'll close the issue for now, will reopen when we have a standalone test case.  Keep in mind that if the issue is with ws, you should report it to that project, not node.js core."}}
{"actor":{"display_login":"bnoordhuis"}}