{"action":"created","issue":{"url":"https://api.github.com/repos/sul-dlss/exhibits/issues/206","repository_url":"https://api.github.com/repos/sul-dlss/exhibits","labels_url":"https://api.github.com/repos/sul-dlss/exhibits/issues/206/labels{/name}","comments_url":"https://api.github.com/repos/sul-dlss/exhibits/issues/206/comments","events_url":"https://api.github.com/repos/sul-dlss/exhibits/issues/206/events","html_url":"https://github.com/sul-dlss/exhibits/issues/206","id":150948364,"number":206,"title":"Large items (from SDR?) overflow /tmp, causes app server to become unresponsive","user":{"login":"julianmorley","id":8161286,"avatar_url":"https://avatars.githubusercontent.com/u/8161286?v=3","gravatar_id":"","url":"https://api.github.com/users/julianmorley","html_url":"https://github.com/julianmorley","followers_url":"https://api.github.com/users/julianmorley/followers","following_url":"https://api.github.com/users/julianmorley/following{/other_user}","gists_url":"https://api.github.com/users/julianmorley/gists{/gist_id}","starred_url":"https://api.github.com/users/julianmorley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julianmorley/subscriptions","organizations_url":"https://api.github.com/users/julianmorley/orgs","repos_url":"https://api.github.com/users/julianmorley/repos","events_url":"https://api.github.com/users/julianmorley/events{/privacy}","received_events_url":"https://api.github.com/users/julianmorley/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sul-dlss/exhibits/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/sul-dlss/exhibits/labels/ready","name":"ready","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-04-25T18:44:07Z","updated_at":"2016-07-12T16:37:48Z","closed_at":null,"body":"A user-initiated request, presumably for large items from SDR (based on convo with @cbeer), causes mini_magick / mogrify to write large files to /tmp. When these files exceed the space available in /tmp, the web server becomes unresponsive which impacts service availability.\r\n\r\nOver the weekend I saw multiple attempts by mini_magick to process 13GB files, taking down exhibits app servers. At one point both app servers were down, taking exhibits.stanford.edu offline.\r\n\r\nShort term fix is to provision excessively large /tmp space, but there's a wider performance/scalability/accessibility issue of end users manipulating files of this size. \r\n\r\nObviously, a legitimate end-user action should not crash the app server, and should scale beyond one or two concurrent users performing the same action. "},"comment":{"url":"https://api.github.com/repos/sul-dlss/exhibits/issues/comments/232103273","html_url":"https://github.com/sul-dlss/exhibits/issues/206#issuecomment-232103273","issue_url":"https://api.github.com/repos/sul-dlss/exhibits/issues/206","id":232103273,"user":{"login":"cbeer","id":111218,"avatar_url":"https://avatars.githubusercontent.com/u/111218?v=3","gravatar_id":"","url":"https://api.github.com/users/cbeer","html_url":"https://github.com/cbeer","followers_url":"https://api.github.com/users/cbeer/followers","following_url":"https://api.github.com/users/cbeer/following{/other_user}","gists_url":"https://api.github.com/users/cbeer/gists{/gist_id}","starred_url":"https://api.github.com/users/cbeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbeer/subscriptions","organizations_url":"https://api.github.com/users/cbeer/orgs","repos_url":"https://api.github.com/users/cbeer/repos","events_url":"https://api.github.com/users/cbeer/events{/privacy}","received_events_url":"https://api.github.com/users/cbeer/received_events","type":"User","site_admin":false},"created_at":"2016-07-12T16:37:48Z","updated_at":"2016-07-12T16:37:48Z","body":"Moved background tasks to a dedicated worker box, so at least the web app servers don't fall over."}}
{"actor":{"display_login":"cbeer"}}