{"action":"opened","issue":{"url":"https://api.github.com/repos/facebook/hhvm/issues/6013","labels_url":"https://api.github.com/repos/facebook/hhvm/issues/6013/labels{/name}","comments_url":"https://api.github.com/repos/facebook/hhvm/issues/6013/comments","events_url":"https://api.github.com/repos/facebook/hhvm/issues/6013/events","html_url":"https://github.com/facebook/hhvm/issues/6013","id":101480825,"number":6013,"title":"HHVM takes long time to execute request if it was idle for a time, how to solve?","user":{"login":"steffenbrem","id":1569156,"avatar_url":"https://avatars.githubusercontent.com/u/1569156?v=3","gravatar_id":"","url":"https://api.github.com/users/steffenbrem","html_url":"https://github.com/steffenbrem","followers_url":"https://api.github.com/users/steffenbrem/followers","following_url":"https://api.github.com/users/steffenbrem/following{/other_user}","gists_url":"https://api.github.com/users/steffenbrem/gists{/gist_id}","starred_url":"https://api.github.com/users/steffenbrem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steffenbrem/subscriptions","organizations_url":"https://api.github.com/users/steffenbrem/orgs","repos_url":"https://api.github.com/users/steffenbrem/repos","events_url":"https://api.github.com/users/steffenbrem/events{/privacy}","received_events_url":"https://api.github.com/users/steffenbrem/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-17T18:23:24Z","updated_at":"2015-08-17T18:23:24Z","closed_at":null,"body":"Hi,\r\n\r\nI have installed HHVM nightly with Nginx 1.9.x (FastCGI) and once the cache is warm, it is working perfect (response time `~30ms`). But when HHVM is idle for some time (~ 20-30 seconds) it seems to ignore the cache it had and the response time raised to around `250ms`. Why doesn't it stay fast? Am I missing an important configuration setting?\r\n\r\nThis is my `php.ini`\r\n```\r\n; php options\r\ndate.timezone=\"UTC\"\r\nsession.save_handler = files\r\nsession.save_path = /var/lib/hhvm/sessions\r\nsession.gc_maxlifetime = 1440\r\n\r\n; hhvm specific\r\nhhvm.log.level = Warning\r\nhhvm.log.always_log_unhandled_exceptions = true\r\nhhvm.log.runtime_error_reporting_level = 8191\r\nhhvm.mysql.typed_results = false\r\n\r\nhhvm.libxml.ext_entity_whitelist = file,http\r\n```\r\n\r\nAnd my `server.ini`:\r\n```\r\n; php options\r\n\r\npid = /var/run/hhvm/pid\r\n\r\n; hhvm specific\r\n\r\n\r\nhhvm.server.port = 9000\r\nhhvm.server.type = fastcgi\r\nhhvm.server.default_document = index.php\r\nhhvm.log.use_log_file = true\r\nhhvm.log.file = /var/log/hhvm/error.log\r\nhhvm.repo.central.path = /var/run/hhvm/hhvm.hhbc\r\n\r\nhhvm.jit = true\r\nhhvm.jit_a_size = 256000000\r\nhhvm.jit_a_cold_size = 256000000\r\nhhvm.jit_a_max_usage = 256000000\r\n\r\nhhvm.server.thread_count = 2\r\n```\r\n"}}