{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/14187","labels_url":"https://api.github.com/repos/owncloud/core/issues/14187/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/14187/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/14187/events","html_url":"https://github.com/owncloud/core/issues/14187","id":57571029,"number":14187,"title":"nginx + php5-fpm results in random 502 Bad Gateway","user":{"login":"laurivosandi","id":194685,"avatar_url":"https://avatars.githubusercontent.com/u/194685?v=3","gravatar_id":"","url":"https://api.github.com/users/laurivosandi","html_url":"https://github.com/laurivosandi","followers_url":"https://api.github.com/users/laurivosandi/followers","following_url":"https://api.github.com/users/laurivosandi/following{/other_user}","gists_url":"https://api.github.com/users/laurivosandi/gists{/gist_id}","starred_url":"https://api.github.com/users/laurivosandi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurivosandi/subscriptions","organizations_url":"https://api.github.com/users/laurivosandi/orgs","repos_url":"https://api.github.com/users/laurivosandi/repos","events_url":"https://api.github.com/users/laurivosandi/events{/privacy}","received_events_url":"https://api.github.com/users/laurivosandi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":47,"created_at":"2015-02-13T08:14:27Z","updated_at":"2015-10-28T10:30:42Z","closed_at":"2015-03-17T17:43:15Z","body":"Hello,\r\n\r\nwe just upgraded several machines to OwnCloud 8 and the result is that php5-fpm occasionally goes nuts and stops responding to nginx. There is nothing interesting in logs and we're running on Ubuntu 14.04 with default nginx and php5-fpm packages."},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/151794604","html_url":"https://github.com/owncloud/core/issues/14187#issuecomment-151794604","issue_url":"https://api.github.com/repos/owncloud/core/issues/14187","id":151794604,"user":{"login":"donSchoe","id":967319,"avatar_url":"https://avatars.githubusercontent.com/u/967319?v=3","gravatar_id":"","url":"https://api.github.com/users/donSchoe","html_url":"https://github.com/donSchoe","followers_url":"https://api.github.com/users/donSchoe/followers","following_url":"https://api.github.com/users/donSchoe/following{/other_user}","gists_url":"https://api.github.com/users/donSchoe/gists{/gist_id}","starred_url":"https://api.github.com/users/donSchoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donSchoe/subscriptions","organizations_url":"https://api.github.com/users/donSchoe/orgs","repos_url":"https://api.github.com/users/donSchoe/repos","events_url":"https://api.github.com/users/donSchoe/events{/privacy}","received_events_url":"https://api.github.com/users/donSchoe/received_events","type":"User","site_admin":false},"created_at":"2015-10-28T10:30:42Z","updated_at":"2015-10-28T10:30:42Z","body":"why is this still closed? is creating a cronjob which restarts fpm every hour just-in-case really a solution?\r\n\r\ni have the issue still with owncloud 8.2, nginx 1.8.0 and php 5.6.14. on archlinux with kernel 4.2.4-1.\r\n\r\nmy current workarounds:\r\ncronjob every full our to ensure fpm is running `0 * * * * systemctl restart php-fpm > /dev/null 2>&1`\r\nswitched nginx fpm socket away from unix to ip `server 127.0.0.1:9000;` (same in fpm config)\r\nincreased nginx `fastcgi_read_timeout 120;`\r\nincreased fpm values in config:\r\n\r\n```\r\npm.max_children = 100\r\npm.start_servers = 20\r\npm.min_spare_servers = 5\r\npm.max_spare_servers = 30\r\npm.max_requests = 500\r\n```\r\n\r\nupgrading php is no option for me since i'm already on 5.6.x. this is a fresh installation of owncloud 8.2.x. maybe if these workarounds are desired behaviour, we should add them to the ngingx docs?"}}