{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/che/issues/1988","repository_url":"https://api.github.com/repos/eclipse/che","labels_url":"https://api.github.com/repos/eclipse/che/issues/1988/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/che/issues/1988/comments","events_url":"https://api.github.com/repos/eclipse/che/issues/1988/events","html_url":"https://github.com/eclipse/che/issues/1988","id":168247816,"number":1988,"title":"Properly handle situations when a ws agent is killed by OOM","user":{"login":"eivantsov","id":5337267,"avatar_url":"https://avatars.githubusercontent.com/u/5337267?v=3","gravatar_id":"","url":"https://api.github.com/users/eivantsov","html_url":"https://github.com/eivantsov","followers_url":"https://api.github.com/users/eivantsov/followers","following_url":"https://api.github.com/users/eivantsov/following{/other_user}","gists_url":"https://api.github.com/users/eivantsov/gists{/gist_id}","starred_url":"https://api.github.com/users/eivantsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eivantsov/subscriptions","organizations_url":"https://api.github.com/users/eivantsov/orgs","repos_url":"https://api.github.com/users/eivantsov/repos","events_url":"https://api.github.com/users/eivantsov/events{/privacy}","received_events_url":"https://api.github.com/users/eivantsov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eclipse/che/labels/kind/bug","name":"kind/bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-29T04:18:48Z","updated_at":"2016-08-04T22:24:26Z","closed_at":null,"body":"When a workspace agent stop responding for whatever reason, projects disappear from project tree, and page refresh results in Cannot get project types error.\r\n\r\n**Reproduction Steps:**\r\n\r\n1. Start a workspace with 1GB\r\n2. Import a fairly large Java project\r\n3. Start Maven build\r\n\r\n**Expected behavior:**\r\n\r\nBuild is a success and the IDE remains functional\r\n\r\n**Observed behavior:**\r\n\r\nWhen OOM happens in a workspace container, kernel may kill WS agent or the WS agent becomes unreachable for some reason. The IDE keeps trying to reach ws agent and fails to do so. As a result, projects disappear from project tree. Page refresh results in Cannot load project type error which is caused by the client trying to reach API deployed with a workspace agent.\r\n\r\n**Proposed solution**\r\n\r\nA user should be at least notified that the workspace is malfunctioning probably because of OOM. It may also be a good idea to try to restart a workspace agent, however warn a user that this situation is likely to happen again with this kind of workspace and more RAM may be required.\r\n\r\n* Problem started happening recently, didn't happen in an older version of Che: [Yes]\r\n* Problem can be reliably reproduced, doesn't happen randomly: [Yes]\r\n"},"comment":{"url":"https://api.github.com/repos/eclipse/che/issues/comments/237701798","html_url":"https://github.com/eclipse/che/issues/1988#issuecomment-237701798","issue_url":"https://api.github.com/repos/eclipse/che/issues/1988","id":237701798,"user":{"login":"JamesDrummond","id":20580888,"avatar_url":"https://avatars.githubusercontent.com/u/20580888?v=3","gravatar_id":"","url":"https://api.github.com/users/JamesDrummond","html_url":"https://github.com/JamesDrummond","followers_url":"https://api.github.com/users/JamesDrummond/followers","following_url":"https://api.github.com/users/JamesDrummond/following{/other_user}","gists_url":"https://api.github.com/users/JamesDrummond/gists{/gist_id}","starred_url":"https://api.github.com/users/JamesDrummond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JamesDrummond/subscriptions","organizations_url":"https://api.github.com/users/JamesDrummond/orgs","repos_url":"https://api.github.com/users/JamesDrummond/repos","events_url":"https://api.github.com/users/JamesDrummond/events{/privacy}","received_events_url":"https://api.github.com/users/JamesDrummond/received_events","type":"User","site_admin":false},"created_at":"2016-08-04T22:24:26Z","updated_at":"2016-08-04T22:24:26Z","body":"@vparfonov Please assign this to yourself. Thanks."}}
{"actor":{"display_login":"JamesDrummond"}}