{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/hhvm/issues/5022","labels_url":"https://api.github.com/repos/facebook/hhvm/issues/5022/labels{/name}","comments_url":"https://api.github.com/repos/facebook/hhvm/issues/5022/comments","events_url":"https://api.github.com/repos/facebook/hhvm/issues/5022/events","html_url":"https://github.com/facebook/hhvm/issues/5022","id":61511727,"number":5022,"title":"3.6 crashes 3.7 does not. help debugging","user":{"login":"dtrackd","id":11036365,"avatar_url":"https://avatars.githubusercontent.com/u/11036365?v=3","gravatar_id":"","url":"https://api.github.com/users/dtrackd","html_url":"https://github.com/dtrackd","followers_url":"https://api.github.com/users/dtrackd/followers","following_url":"https://api.github.com/users/dtrackd/following{/other_user}","gists_url":"https://api.github.com/users/dtrackd/gists{/gist_id}","starred_url":"https://api.github.com/users/dtrackd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtrackd/subscriptions","organizations_url":"https://api.github.com/users/dtrackd/orgs","repos_url":"https://api.github.com/users/dtrackd/repos","events_url":"https://api.github.com/users/dtrackd/events{/privacy}","received_events_url":"https://api.github.com/users/dtrackd/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/hhvm/labels/needs%20more%20info","name":"needs more info","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-14T08:54:52Z","updated_at":"2015-05-01T13:40:16Z","closed_at":null,"body":"We run a very busy laravel php website (roughly ~6million page-views per day)\r\n\r\nnow in development we found no issues with using HHVM as the fastcgi php interpreter but in production under load. it crashes every ~10-20mins. (using debian packages 3.6)\r\n\r\nSo for debugging I compiled the latest version (1 day ago from master) and its been running very smooth for over 6 hours so far.\r\n\r\nhere are so far the error output:\r\n\r\n```\r\nroot@app1:~/dev/gcc-build/dev/hhvm/hphp/hhvm# ./hhvm -c /etc/hhvm/server.ini -m server\r\nWARNING: Logging before InitGoogleLogging() is written to STDERR\r\nE0314 16:08:57.780988  8306 AsyncServerSocket.cpp:758] accept failed: out of file descriptors; entering accept back-off state\r\nE0314 16:08:57.781131  8306 Acceptor.cpp:376] error accepting on acceptor socket: accept() failed\r\nE0314 16:08:58.781551  8306 AsyncServerSocket.cpp:758] accept failed: out of file descriptors; entering accept back-off state\r\nE0314 16:08:58.784643  8306 Acceptor.cpp:376] error accepting on acceptor socket: accept() failed\r\nE0314 16:08:59.781615  8306 AsyncServerSocket.cpp:758] accept failed: out of file descriptors; entering accept back-off state\r\nE0314 16:08:59.781728  8306 Acceptor.cpp:376] error accepting on acceptor socket: accept() failed\r\nE0314 16:09:00.782081  8306 AsyncServerSocket.cpp:758] accept failed: out of file descriptors; entering accept back-off state\r\nE0314 16:09:00.782927  8306 Acceptor.cpp:376] error accepting on acceptor socket: accept() failed\r\nE0314 16:09:01.782346  8306 AsyncServerSocket.cpp:758] accept failed: out of file descriptors; entering accept back-off state\r\nE0314 16:09:01.783643  8306 Acceptor.cpp:376] error accepting on acceptor socket: accept() failed\r\nE0314 16:09:02.938805  8306 AsyncServerSocket.cpp:758] accept failed: out of file descriptors; entering accept back-off state\r\nE0314 16:09:02.938881  8306 Acceptor.cpp:376] error accepting on acceptor socket: accept() failed\r\nE0314 16:09:03.939275  8306 AsyncServerSocket.cpp:758] accept failed: out of file descriptors; entering accept back-off state\r\nE0314 16:09:03.942631  8306 Acceptor.cpp:376] error accepting on acceptor socket: accept() failed\r\nE0314 16:09:04.939795  8306 AsyncServerSocket.cpp:758] accept failed: out of file descriptors; entering accept back-off state\r\nE0314 16:09:04.941396  8306 Acceptor.cpp:376] error accepting on acceptor socket: accept() failed\r\nE0314 16:09:05.940807  8306 AsyncServerSocket.cpp:758] accept failed: out of file descriptors; entering accept back-off state\r\nE0314 16:09:05.945056  8306 Acceptor.cpp:376] error accepting on acceptor socket: accept() failed\r\nerror : string is not in UTF-8\r\nencoding error : output conversion failed due to conv error, bytes 0xF1 0x6F 0x6C 0x2F\r\nI/O error : encoder error\r\nerror : string is not in UTF-8\r\nencoding error : output conversion failed due to conv error, bytes 0xF1 0x6F 0x6C 0x2F\r\nI/O error : encoder error\r\nerror : string is not in UTF-8\r\nencoding error : output conversion failed due to conv error, bytes 0xF1 0x6F 0x6C 0x2F\r\nI/O error : encoder error\r\nerror : string is not in UTF-8\r\nencoding error : output conversion failed due to conv error, bytes 0xF1 0x6F 0x6C 0x2F\r\nI/O error : encoder error\r\nerror : string is not in UTF-8\r\nencoding error : output conversion failed due to conv error, bytes 0xF1 0x6F 0x6C 0x2F\r\nI/O error : encoder error\r\nerror : string is not in UTF-8\r\nencoding error : output conversion failed due to conv error, bytes 0xF1 0x6F 0x6C 0x2F\r\nI/O error : encoder error\r\n\r\n```\r\n\r\nIs this anything I should be concerned about? and also what is any other means for debuging in production in case there is other things I might have missed"},"comment":{"url":"https://api.github.com/repos/facebook/hhvm/issues/comments/98136349","html_url":"https://github.com/facebook/hhvm/issues/5022#issuecomment-98136349","issue_url":"https://api.github.com/repos/facebook/hhvm/issues/5022","id":98136349,"user":{"login":"dtrackd","id":11036365,"avatar_url":"https://avatars.githubusercontent.com/u/11036365?v=3","gravatar_id":"","url":"https://api.github.com/users/dtrackd","html_url":"https://github.com/dtrackd","followers_url":"https://api.github.com/users/dtrackd/followers","following_url":"https://api.github.com/users/dtrackd/following{/other_user}","gists_url":"https://api.github.com/users/dtrackd/gists{/gist_id}","starred_url":"https://api.github.com/users/dtrackd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtrackd/subscriptions","organizations_url":"https://api.github.com/users/dtrackd/orgs","repos_url":"https://api.github.com/users/dtrackd/repos","events_url":"https://api.github.com/users/dtrackd/events{/privacy}","received_events_url":"https://api.github.com/users/dtrackd/received_events","type":"User","site_admin":false},"created_at":"2015-05-01T13:40:16Z","updated_at":"2015-05-01T13:40:16Z","body":"Thanks for the info @jwatzman \r\n\r\nSo now that I am on 3.7 I have crashes happening maybe every 2 hours or so. here is the stacktrace:\r\n\r\n```\r\nroot@app1:/tmp# cat stacktrace.16958.log\r\nHost: app1\r\nProcessID: 16959\r\nThreadID: 7f19301ff700\r\nThreadPID: 16993\r\nName: /etc/init.d/hhvm\r\nType: Segmentation fault\r\nRuntime: hhvm\r\nVersion: tags/HHVM-3.7.0-0-gc8baf9cd3cb603e030969bfe24634d5e85549915\r\nDebuggerCount: 0\r\n\r\nServer: domain.com\r\nThreadType: Web Request\r\nServer_SERVER_NAME: app1\r\nURL: /blahblah/bla\r\n\r\n# 0  HPHP::jit::FixupMap::fixupWork(HPHP::ExecutionContext*, HPHP::ActRec*) const at /usr/bin/hhvm:0\r\n# 1  HPHP::jit::MCGenerator::syncWork() at /usr/bin/hhvm:0\r\n# 2  HPHP::createBacktrace(HPHP::BacktraceArgs const&) at /usr/bin/hhvm:0\r\n# 3  HPHP::debug_string_backtrace(bool, bool, long) at /usr/bin/hhvm:0\r\n# 4  raise at /lib/x86_64-linux-gnu/libc.so.6:0\r\n# 5  abort at /lib/x86_64-linux-gnu/libc.so.6:0\r\n# 6  __assert_fail at /lib/x86_64-linux-gnu/libc.so.6:0\r\n# 7  memcached_stat_execute at /usr/lib/x86_64-linux-gnu/libmemcached.so.10:0\r\n# 8  memcached_set_by_key at /usr/lib/x86_64-linux-gnu/libmemcached.so.10:0\r\n# 9  HPHP::c_Memcached_ni_setbykey(HPHP::ObjectData*, HPHP::String const&, HPHP::String const&, HPHP::Variant const&, int) at /usr/bin/hhvm:0\r\n# 10 void HPHP::Native::callFunc<false, false>(HPHP::Func const*, void*, HPHP::TypedValue*, HPHP::TypedValue&) at /usr/bin/hhvm:0\r\n# 11 HPHP::TypedValue* HPHP::Native::methodWrapper<false, false>(HPHP::ActRec*) at /usr/bin/hhvm:0\r\n```"}}