{"action":"closed","issue":{"url":"https://api.github.com/repos/Azure/WALinuxAgent/issues/1081","repository_url":"https://api.github.com/repos/Azure/WALinuxAgent","labels_url":"https://api.github.com/repos/Azure/WALinuxAgent/issues/1081/labels{/name}","comments_url":"https://api.github.com/repos/Azure/WALinuxAgent/issues/1081/comments","events_url":"https://api.github.com/repos/Azure/WALinuxAgent/issues/1081/events","html_url":"https://github.com/Azure/WALinuxAgent/issues/1081","id":309680848,"node_id":"MDU6SXNzdWUzMDk2ODA4NDg=","number":1081,"title":"Check if SwapSizeMB smaller than size of ressource disk","user":{"login":"stephtr","id":5764184,"node_id":"MDQ6VXNlcjU3NjQxODQ=","avatar_url":"https://avatars1.githubusercontent.com/u/5764184?v=4","gravatar_id":"","url":"https://api.github.com/users/stephtr","html_url":"https://github.com/stephtr","followers_url":"https://api.github.com/users/stephtr/followers","following_url":"https://api.github.com/users/stephtr/following{/other_user}","gists_url":"https://api.github.com/users/stephtr/gists{/gist_id}","starred_url":"https://api.github.com/users/stephtr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephtr/subscriptions","organizations_url":"https://api.github.com/users/stephtr/orgs","repos_url":"https://api.github.com/users/stephtr/repos","events_url":"https://api.github.com/users/stephtr/events{/privacy}","received_events_url":"https://api.github.com/users/stephtr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-29T09:22:45Z","updated_at":"2018-07-12T04:13:54Z","closed_at":"2018-07-12T04:13:54Z","author_association":"NONE","body":"If one accidentially (for example when resizing the VM) sets SwapSizeMB to be larger than the (remaining) size of the ressource disk, `fallocate` fails when rebooting the next time and WALinuxAgent falls back to the slow process of `dd`. It therefore would be probably useful to cap SwapSizeMB to the remaining disk space.\r\nUpdate: Interestingly I couldn't reproduce it with a restart, so maybe it was just an unfortunate accident."}}
{"actor":{"display_login":"hglkrijger"}}