{"action":"created","issue":{"url":"https://api.github.com/repos/apache/cloudstack/issues/2892","repository_url":"https://api.github.com/repos/apache/cloudstack","labels_url":"https://api.github.com/repos/apache/cloudstack/issues/2892/labels{/name}","comments_url":"https://api.github.com/repos/apache/cloudstack/issues/2892/comments","events_url":"https://api.github.com/repos/apache/cloudstack/issues/2892/events","html_url":"https://github.com/apache/cloudstack/pull/2892","id":368585189,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxNzI2MzEz","number":2892,"title":"sysctl: don't use swap until last resort","user":{"login":"rhtyd","id":95203,"node_id":"MDQ6VXNlcjk1MjAz","avatar_url":"https://avatars0.githubusercontent.com/u/95203?v=4","gravatar_id":"","url":"https://api.github.com/users/rhtyd","html_url":"https://github.com/rhtyd","followers_url":"https://api.github.com/users/rhtyd/followers","following_url":"https://api.github.com/users/rhtyd/following{/other_user}","gists_url":"https://api.github.com/users/rhtyd/gists{/gist_id}","starred_url":"https://api.github.com/users/rhtyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhtyd/subscriptions","organizations_url":"https://api.github.com/users/rhtyd/orgs","repos_url":"https://api.github.com/users/rhtyd/repos","events_url":"https://api.github.com/users/rhtyd/events{/privacy}","received_events_url":"https://api.github.com/users/rhtyd/received_events","type":"User","site_admin":false},"labels":[{"id":584073391,"node_id":"MDU6TGFiZWw1ODQwNzMzOTE=","url":"https://api.github.com/repos/apache/cloudstack/labels/virtual-router","name":"virtual-router","color":"ffaaeb","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/apache/cloudstack/milestones/6","html_url":"https://github.com/apache/cloudstack/milestone/6","labels_url":"https://api.github.com/repos/apache/cloudstack/milestones/6/labels","id":3332856,"node_id":"MDk6TWlsZXN0b25lMzMzMjg1Ng==","number":6,"title":"4.11.2.0","description":"The next release target 4.11.2.0","creator":{"login":"rhtyd","id":95203,"node_id":"MDQ6VXNlcjk1MjAz","avatar_url":"https://avatars0.githubusercontent.com/u/95203?v=4","gravatar_id":"","url":"https://api.github.com/users/rhtyd","html_url":"https://github.com/rhtyd","followers_url":"https://api.github.com/users/rhtyd/followers","following_url":"https://api.github.com/users/rhtyd/following{/other_user}","gists_url":"https://api.github.com/users/rhtyd/gists{/gist_id}","starred_url":"https://api.github.com/users/rhtyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhtyd/subscriptions","organizations_url":"https://api.github.com/users/rhtyd/orgs","repos_url":"https://api.github.com/users/rhtyd/repos","events_url":"https://api.github.com/users/rhtyd/events{/privacy}","received_events_url":"https://api.github.com/users/rhtyd/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":75,"state":"open","created_at":"2018-05-09T10:42:20Z","updated_at":"2018-10-10T10:16:23Z","due_on":"2018-09-17T07:00:00Z","closed_at":null},"comments":5,"created_at":"2018-10-10T09:54:46Z","updated_at":"2018-10-11T09:57:56Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/apache/cloudstack/pulls/2892","html_url":"https://github.com/apache/cloudstack/pull/2892","diff_url":"https://github.com/apache/cloudstack/pull/2892.diff","patch_url":"https://github.com/apache/cloudstack/pull/2892.patch"},"body":"This tries to provide a threshold based fix for #2873 where swappinness of VR is not used until last resort. By limiting swappiness unless actually needed, the VR system degradation can be avoided for most cases.\r\n\r\n## Types of changes\r\n<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n- [ ] New feature (non-breaking change which adds functionality)\r\n- [x] Bug fix (non-breaking change which fixes an issue)\r\n- [ ] Enhancement (improves an existing feature and functionality)\r\n- [ ] Cleanup (Code refactoring and cleanup, that may add test cases)\r\n\r\n## How Has This Been Tested?\r\n\r\nThe default swapiness on VRs is 60, by reducing the value swapiness it is anticipated that swappiness will not be normally seen. I could not reproduce the swapping so could not test it."},"comment":{"url":"https://api.github.com/repos/apache/cloudstack/issues/comments/428895711","html_url":"https://github.com/apache/cloudstack/pull/2892#issuecomment-428895711","issue_url":"https://api.github.com/repos/apache/cloudstack/issues/2892","id":428895711,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODg5NTcxMQ==","user":{"login":"wido","id":326786,"node_id":"MDQ6VXNlcjMyNjc4Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/326786?v=4","gravatar_id":"","url":"https://api.github.com/users/wido","html_url":"https://github.com/wido","followers_url":"https://api.github.com/users/wido/followers","following_url":"https://api.github.com/users/wido/following{/other_user}","gists_url":"https://api.github.com/users/wido/gists{/gist_id}","starred_url":"https://api.github.com/users/wido/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wido/subscriptions","organizations_url":"https://api.github.com/users/wido/orgs","repos_url":"https://api.github.com/users/wido/repos","events_url":"https://api.github.com/users/wido/events{/privacy}","received_events_url":"https://api.github.com/users/wido/received_events","type":"User","site_admin":false},"created_at":"2018-10-11T09:57:56Z","updated_at":"2018-10-11T09:57:56Z","author_association":"CONTRIBUTOR","body":"@resmo But then probably also set:\r\n\r\n<pre>kernel.panic = 60</pre>\r\n\r\nIn that case the kernel also reboots the system after 60 seconds in case of a kernel panic, otherwise the VM will just hang."}}
{"actor":{"display_login":"wido"}}