{"action":"opened","issue":{"url":"https://api.github.com/repos/facebook/hhvm/issues/6654","labels_url":"https://api.github.com/repos/facebook/hhvm/issues/6654/labels{/name}","comments_url":"https://api.github.com/repos/facebook/hhvm/issues/6654/comments","events_url":"https://api.github.com/repos/facebook/hhvm/issues/6654/events","html_url":"https://github.com/facebook/hhvm/issues/6654","id":121891026,"number":6654,"title":"almost-omnipresent race condition with proxy_fcgi","user":{"login":"calimeroteknik","id":7931883,"avatar_url":"https://avatars.githubusercontent.com/u/7931883?v=3","gravatar_id":"","url":"https://api.github.com/users/calimeroteknik","html_url":"https://github.com/calimeroteknik","followers_url":"https://api.github.com/users/calimeroteknik/followers","following_url":"https://api.github.com/users/calimeroteknik/following{/other_user}","gists_url":"https://api.github.com/users/calimeroteknik/gists{/gist_id}","starred_url":"https://api.github.com/users/calimeroteknik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calimeroteknik/subscriptions","organizations_url":"https://api.github.com/users/calimeroteknik/orgs","repos_url":"https://api.github.com/users/calimeroteknik/repos","events_url":"https://api.github.com/users/calimeroteknik/events{/privacy}","received_events_url":"https://api.github.com/users/calimeroteknik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-13T01:19:25Z","updated_at":"2015-12-13T01:19:25Z","closed_at":null,"body":"Using apache 2.2.31 with hhvm 2c752c1ba on gentoo stable, I get very unreliable behaviour from HHVM.\r\n\r\nSometimes things work as expected (a script running `<?php echo \"ok\\n\";`), but most of the time I get a 503 error with this in error_log:\r\n`[error] (104)Connection reset by peer: proxy: FCGI: Error dispatching request to :80:`\r\n\r\nRunning strace on the apache and hhvm processes help, especially over laggy SSH, which makes this likely to be a race condition. No crashes, ever, of any process.\r\n[strace.txt](https://github.com/facebook/hhvm/files/60305/strace.txt)\r\n\r\n\r\nRunning php-fpm instead of hhvm makes things work flawlessly, even under bulk tests.\r\n\r\nSomebody notes the same issue with apache 2.4 in the comments here: https://serversforhackers.com/proxying-to-fastcgi-in-ubuntuapache-24"}}