{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/hhvm/issues/6671","labels_url":"https://api.github.com/repos/facebook/hhvm/issues/6671/labels{/name}","comments_url":"https://api.github.com/repos/facebook/hhvm/issues/6671/comments","events_url":"https://api.github.com/repos/facebook/hhvm/issues/6671/events","html_url":"https://github.com/facebook/hhvm/issues/6671","id":122705906,"number":6671,"title":"3.11: hh_client sometimes hangs indefinitely with \"hh_server is busy: [processing]\"","user":{"login":"pbl64k","id":814655,"avatar_url":"https://avatars.githubusercontent.com/u/814655?v=3","gravatar_id":"","url":"https://api.github.com/users/pbl64k","html_url":"https://github.com/pbl64k","followers_url":"https://api.github.com/users/pbl64k/followers","following_url":"https://api.github.com/users/pbl64k/following{/other_user}","gists_url":"https://api.github.com/users/pbl64k/gists{/gist_id}","starred_url":"https://api.github.com/users/pbl64k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbl64k/subscriptions","organizations_url":"https://api.github.com/users/pbl64k/orgs","repos_url":"https://api.github.com/users/pbl64k/repos","events_url":"https://api.github.com/users/pbl64k/events{/privacy}","received_events_url":"https://api.github.com/users/pbl64k/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-17T10:26:14Z","updated_at":"2015-12-18T01:26:10Z","closed_at":null,"body":"Hack's typechecker seems to have started suffering from this problem intermittently after upgrading to 3.11. The severity of the problem seems to vary from deployment to deployment. On my personal workstation:\r\n\r\n    lepin@xub:~/svn/fundamentals$ hh_client \r\n    For more detailed logs, try `tail -f $(hh_client --logname)`\r\n    hh_server's version doesn't match the client's, so it will exit.\r\n    Going to launch a new one.\r\n    [2015-12-17 12:14:46] Unix.Unix_error(Unix.ECONNREFUSED, \"connect\", \"\")\r\n    Server launched with the following command:\r\n    \t'/usr/bin/hh_server' '-d' '/mnt/neo/public_html/svn/fundamentals' '--waiting-client' '5'\r\n    Spawned hh_server (child pid=28826)\r\n    Logs will go to /tmp/hh_server/zSmntzSneozSpublic_htmlzSsvnzSfundamentals.monitor_log\r\n    No errors!\r\n    lepin@xub:~/svn/fundamentals$ hh_client \r\n    No errors!\r\n    lepin@xub:~/svn/fundamentals$ hh_client \r\n    No errors!\r\n    lepin@xub:~/svn/fundamentals$ hh_client \r\n    hh_server is busy: [processing] -^Clepin@xub:~/svn/fundamentals$ \r\n    lepin@xub:~/svn/fundamentals$ hh_client \r\n    No errors!\r\n    lepin@xub:~/svn/fundamentals$ hh_client \r\n    No errors!\r\n    lepin@xub:~/svn/fundamentals$ hh_client \r\n    No errors!\r\n    lepin@xub:~/svn/fundamentals$ hh_client \r\n    No errors!\r\n    lepin@xub:~/svn/fundamentals$ hh_client \r\n    No errors!\r\n    lepin@xub:~/svn/fundamentals$ hh_client \r\n    No errors!\r\n    lepin@xub:~/svn/fundamentals$ hh_client \r\n    No errors!\r\n    lepin@xub:~/svn/fundamentals$ hh_client \r\n    hh_server is busy: [processing] \\^Clepin@xub:~/svn/fundamentals$ \r\n    lepin@xub:~/svn/fundamentals$ uname -a\r\n    Linux xub 3.19.0-26-generic #28-Ubuntu SMP Tue Aug 11 14:16:32 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux\r\n    lepin@xub:~/svn/fundamentals$ hhvm --version\r\n    HipHop VM 3.11.0 (rel)\r\n    Compiler: tags/HHVM-3.11.0-0-g3dd564a8cde23e3205a29720d3435c771274085e\r\n    Repo schema: 52047bdda550f21c2ec2fcc295e0e6d02407be51\r\n    lepin@xub:~/svn/fundamentals$ hh_client --version\r\n    3dd564a8cde23e3205a29720d3435c771274085e Dec  9 2015 16:12:10\r\n    lepin@xub:~/svn/fundamentals$ hh_server --version\r\n    3dd564a8cde23e3205a29720d3435c771274085e Dec  9 2015 16:12:10lepin@xub:~/svn/fundamentals$ \r\n\r\nOn a small virtual development server:\r\n\r\n    lepin@hhvm-test:~/public_html/svn/GBO$ hh_client\r\n    [2015-12-17 12:18:40] Unix.Unix_error(Unix.ECONNREFUSED, \"connect\", \"\")\r\n    For more detailed logs, try `tail -f $(hh_client --logname)`\r\n    Server launched with the following command:\r\n    \t'/usr/bin/hh_server' '-d' '/home/lepin/public_html/svn/GBO' '--waiting-client' '5'\r\n    Spawned hh_server (child pid=6854)\r\n    Logs will go to /tmp/hh_server/zShomezSlepinzSpublic_htmlzSsvnzSGBO.monitor_log\r\n    No errors!\r\n    lepin@hhvm-test:~/public_html/svn/GBO$ hh_client\r\n    hh_server is busy: [processing] |^Clepin@hhvm-test:~/public_html/svn/GBO$ hh_client\r\n    hh_server is busy: [processing] /^Clepin@hhvm-test:~/public_html/svn/GBO$ hh_client\r\n    hh_server is busy: [processing] \\^Clepin@hhvm-test:~/public_html/svn/GBO$ \r\n    lepin@hhvm-test:~/public_html/svn/GBO$ uname -a\r\n    Linux hhvm-test 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux\r\n    lepin@hhvm-test:~/public_html/svn/GBO$ hhvm --version\r\n    HipHop VM 3.11.0 (rel)\r\n    Compiler: tags/HHVM-3.11.0-0-g3dd564a8cde23e3205a29720d3435c771274085e\r\n    Repo schema: 52047bdda550f21c2ec2fcc295e0e6d02407be51\r\n    lepin@hhvm-test:~/public_html/svn/GBO$ hh_client --version\r\n    3dd564a8cde23e3205a29720d3435c771274085e Dec  9 2015 14:50:12\r\n    lepin@hhvm-test:~/public_html/svn/GBO$ hh_server --version\r\n    3dd564a8cde23e3205a29720d3435c771274085e Dec  9 2015 14:50:12lepin@hhvm-test:~/public_html/svn/GBO$ \r\n\r\nThis happens even in a freshly created directory with nothing but empty `.hhconfig` in it. The `hh_client` never seems to recover unless terminated, at least not in a few minutes of waiting. Unless this is trivially reproducible, I'm sure this information won't be sufficient to track this down. Please let me know what additional information could help identify the issue, I'll try to provide it if at all possible."},"comment":{"url":"https://api.github.com/repos/facebook/hhvm/issues/comments/165631967","html_url":"https://github.com/facebook/hhvm/issues/6671#issuecomment-165631967","issue_url":"https://api.github.com/repos/facebook/hhvm/issues/6671","id":165631967,"user":{"login":"thewavelength","id":1430997,"avatar_url":"https://avatars.githubusercontent.com/u/1430997?v=3","gravatar_id":"","url":"https://api.github.com/users/thewavelength","html_url":"https://github.com/thewavelength","followers_url":"https://api.github.com/users/thewavelength/followers","following_url":"https://api.github.com/users/thewavelength/following{/other_user}","gists_url":"https://api.github.com/users/thewavelength/gists{/gist_id}","starred_url":"https://api.github.com/users/thewavelength/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thewavelength/subscriptions","organizations_url":"https://api.github.com/users/thewavelength/orgs","repos_url":"https://api.github.com/users/thewavelength/repos","events_url":"https://api.github.com/users/thewavelength/events{/privacy}","received_events_url":"https://api.github.com/users/thewavelength/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T01:26:09Z","updated_at":"2015-12-18T01:26:09Z","body":"I confirm the same behaviour on 3.11.0. Sadly, I can't just upgrade to nightly that fast."}}