{"action":"created","issue":{"url":"https://api.github.com/repos/flynn/flynn/issues/3161","repository_url":"https://api.github.com/repos/flynn/flynn","labels_url":"https://api.github.com/repos/flynn/flynn/issues/3161/labels{/name}","comments_url":"https://api.github.com/repos/flynn/flynn/issues/3161/comments","events_url":"https://api.github.com/repos/flynn/flynn/issues/3161/events","html_url":"https://github.com/flynn/flynn/issues/3161","id":166694369,"number":3161,"title":"CPU pegged at 100% on all cluster servers when builds are interrupted","user":{"login":"kenaniah","id":363800,"avatar_url":"https://avatars.githubusercontent.com/u/363800?v=3","gravatar_id":"","url":"https://api.github.com/users/kenaniah","html_url":"https://github.com/kenaniah","followers_url":"https://api.github.com/users/kenaniah/followers","following_url":"https://api.github.com/users/kenaniah/following{/other_user}","gists_url":"https://api.github.com/users/kenaniah/gists{/gist_id}","starred_url":"https://api.github.com/users/kenaniah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenaniah/subscriptions","organizations_url":"https://api.github.com/users/kenaniah/orgs","repos_url":"https://api.github.com/users/kenaniah/repos","events_url":"https://api.github.com/users/kenaniah/events{/privacy}","received_events_url":"https://api.github.com/users/kenaniah/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/flynn/flynn/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2016-07-20T22:11:00Z","updated_at":"2016-07-21T02:43:05Z","closed_at":null,"body":"## Description\r\n\r\nTested on various clusters from `v20160623.0` to `v20160719.0`...\r\n\r\nWhen performing a build via `git push flynn` and interrupting it build via `Ctrl+C`, the `SIGINT` is apparently not trapped correctly by the slugbuilder.\r\n\r\nAttempting to push and interrupt the same build multiple times in succession will cause all servers in the cluster to hang with the CPU pegged at 100% usage, leaving the cluster completely inoperable and unrecoverable. \r\n\r\n## Steps to reproduce\r\n\r\n`git push flynn`\r\n\r\nWait for slugbuilder to start...\r\n\r\nSend `SIGINT` (via `Ctrl+C` for most terminals) once the build is in progress\r\n\r\nRepeat a few times until the build system fails with:\r\n\r\n```\r\nremote: ERROR: Build failed: ratelimited: maximum concurrent AddJob calls running, try again later\r\n```"},"comment":{"url":"https://api.github.com/repos/flynn/flynn/issues/comments/234141502","html_url":"https://github.com/flynn/flynn/issues/3161#issuecomment-234141502","issue_url":"https://api.github.com/repos/flynn/flynn/issues/3161","id":234141502,"user":{"login":"kenaniah","id":363800,"avatar_url":"https://avatars.githubusercontent.com/u/363800?v=3","gravatar_id":"","url":"https://api.github.com/users/kenaniah","html_url":"https://github.com/kenaniah","followers_url":"https://api.github.com/users/kenaniah/followers","following_url":"https://api.github.com/users/kenaniah/following{/other_user}","gists_url":"https://api.github.com/users/kenaniah/gists{/gist_id}","starred_url":"https://api.github.com/users/kenaniah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenaniah/subscriptions","organizations_url":"https://api.github.com/users/kenaniah/orgs","repos_url":"https://api.github.com/users/kenaniah/repos","events_url":"https://api.github.com/users/kenaniah/events{/privacy}","received_events_url":"https://api.github.com/users/kenaniah/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T02:43:05Z","updated_at":"2016-07-21T02:43:05Z","body":"I did a manual install using one of the base images that Flynn used back in the day.\r\n\r\n### My launch config:\r\n```bash\r\n#!/bin/bash\r\nexport FLYNN_VERSION=v20160718.0\r\nsudo FLYNN_VERSION=v20160718.0 bash < <(curl -fsSL https://dl.flynn.io/install-flynn)\r\nsudo flynn-host init --discovery https://discovery.flynn.io/clusters/...\r\nsudo start flynn-host\r\n```\r\n\r\n### My base AMI:\r\n\r\n```\r\nami-06116566\r\n```\r\n\r\nWhich is in `us-west-1` and is named:\r\n\r\n```\r\nubuntu/images/hvm-ssd/ubuntu-trusty-14.04-amd64-server-20160114.5\r\n```"}}
{"actor":{"display_login":"kenaniah"}}