{"action":"opened","issue":{"url":"https://api.github.com/repos/colinmollenhour/Cm_RedisSession/issues/89","repository_url":"https://api.github.com/repos/colinmollenhour/Cm_RedisSession","labels_url":"https://api.github.com/repos/colinmollenhour/Cm_RedisSession/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/colinmollenhour/Cm_RedisSession/issues/89/comments","events_url":"https://api.github.com/repos/colinmollenhour/Cm_RedisSession/issues/89/events","html_url":"https://github.com/colinmollenhour/Cm_RedisSession/issues/89","id":166926578,"number":89,"title":"after few hours website slows down","user":{"login":"Acidfabric","id":10161006,"avatar_url":"https://avatars.githubusercontent.com/u/10161006?v=3","gravatar_id":"","url":"https://api.github.com/users/Acidfabric","html_url":"https://github.com/Acidfabric","followers_url":"https://api.github.com/users/Acidfabric/followers","following_url":"https://api.github.com/users/Acidfabric/following{/other_user}","gists_url":"https://api.github.com/users/Acidfabric/gists{/gist_id}","starred_url":"https://api.github.com/users/Acidfabric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Acidfabric/subscriptions","organizations_url":"https://api.github.com/users/Acidfabric/orgs","repos_url":"https://api.github.com/users/Acidfabric/repos","events_url":"https://api.github.com/users/Acidfabric/events{/privacy}","received_events_url":"https://api.github.com/users/Acidfabric/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-21T21:52:25Z","updated_at":"2016-07-21T21:52:25Z","closed_at":null,"body":"I have been trying to use Redis for Magento for performance boost but I am having issues with Redis in Magneto CE 1.9.2.4.\r\n\r\nMy website after few hours slows down when I using Magento with Redis, sometimes it can took about one minute to load a page. Strange that admin zone works normaly.\r\n\r\nI'm using easyengine stack to install main dependencies to server: hhvm as a php compiler, nginx as a webserver, redis as a cache server.\r\n\r\nServer OS: Ubuntu 14.04 CPU: 4 x 2.40 GHz RAM: 3072 MB + 384 MB plus + 1536 MB SWAP (using 3261 MB)\r\n\r\n\r\nMy local.xml config:\r\n\r\n```\r\n<config>\r\n    <global>\r\n        <install>\r\n            <date><![CDATA[Wed, 27 Apr 2016 21:17:58 +0000]]></date>\r\n        </install>\r\n        <crypt>\r\n            <key><![CDATA[***********]]></key>\r\n        </crypt>\r\n        <disable_local_modules>false</disable_local_modules>\r\n        <resources>\r\n            <db>\r\n                <table_prefix><![CDATA[]]></table_prefix>\r\n            </db>\r\n            <default_setup>\r\n                <connection>\r\n                    <host><![CDATA[localhost]]></host>\r\n                    <username><![CDATA[*********]]></username>\r\n                    <password><![CDATA[*********]]></password>\r\n                    <dbname><![CDATA[*********]]></dbname>\r\n                    <initStatements><![CDATA[SET NAMES utf8]]></initStatements>\r\n                    <model><![CDATA[mysql4]]></model>\r\n                    <type><![CDATA[pdo_mysql]]></type>\r\n                    <pdoType><![CDATA[]]></pdoType>\r\n                    <active>1</active>\r\n                </connection>\r\n            </default_setup>\r\n        </resources>\r\n        <session_save><![CDATA[db]]></session_save>\r\n\r\n    <!-- redis cache -->\r\n        <cache>\r\n          <backend>Cm_Cache_Backend_Redis</backend>\r\n          <backend_options>\r\n            <server>127.0.0.1</server>                               \r\n            <port>6379</port>\r\n            <persistent></persistent>                                \r\n            <database>0</database>                                   \r\n            <password></password>                                   \r\n            <force_standalone>0</force_standalone>                   \r\n            <connect_retries>1</connect_retries>                     \r\n            <read_timeout>10</read_timeout>                          \r\n            <automatic_cleaning_factor>0</automatic_cleaning_factor> \r\n            <compress_data>1</compress_data>                         \r\n            <compress_tags>1</compress_tags>                         \r\n            <compress_threshold>20480</compress_threshold>           \r\n            <compression_lib>gzip</compression_lib>                  \r\n            <use_lua>0</use_lua>                                     \r\n          </backend_options>\r\n        </cache>\r\n\r\n    <!-- redis session storage -->\r\n        <session_save>db</session_save>\r\n        <redis_session>                                          \r\n            <host>127.0.0.1</host>                               \r\n            <port>6379</port>\r\n            <password></password>                                \r\n            <timeout>2.5</timeout>                               \r\n            <persistent></persistent>                            \r\n            <db>1</db>                                           \r\n            <compression_threshold>2048</compression_threshold>  \r\n            <compression_lib>gzip</compression_lib>              \r\n            <log_level>1</log_level>                             \r\n            <max_concurrency>6</max_concurrency>                 \r\n            <break_after_frontend>5</break_after_frontend>       \r\n            <break_after_adminhtml>30</break_after_adminhtml>\r\n            <first_lifetime>600</first_lifetime>                 \r\n            <bot_first_lifetime>60</bot_first_lifetime>          \r\n            <bot_lifetime>7200</bot_lifetime>                    \r\n            <disable_locking>0</disable_locking>                 \r\n            <min_lifetime>60</min_lifetime>                      \r\n            <max_lifetime>2592000</max_lifetime>                 \r\n        </redis_session>\r\n    </global>\r\n\r\n    <admin>\r\n        <routers>\r\n            <adminhtml>\r\n                <args>\r\n                    <frontName><![CDATA[admin]]></frontName>\r\n                </args>\r\n            </adminhtml>\r\n        </routers>\r\n    </admin>\r\n</config>\r\n```\r\n\r\nHHVM php.ini config:\r\n```\r\n; php options\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\nhhvm.log.header = true\r\nhhvm.log.natives_stack_trace = true\r\nhhvm.mysql.socket = /var/run/mysqld/mysqld.sock\r\nhhvm.pdo_mysql.socket = /var/run/mysqld/mysqld.sock\r\nhhvm.mysqli.socket = /var/run/mysqld/mysqld.sock\r\nhhvm.log.header = true\r\nhhvm.log.natives_stack_trace = true\r\n```\r\n\r\nmysql config:\r\n```\r\n[client]\r\nport        = 3306\r\nsocket      = /var/run/mysqld/mysqld.sock\r\n\r\n[mysqld_safe]\r\nsocket      = /var/run/mysqld/mysqld.sock\r\nnice        = 0\r\n\r\n[mysqld]\r\nuser        = mysql\r\npid-file    = /var/run/mysqld/mysqld.pid\r\nsocket      = /var/run/mysqld/mysqld.sock\r\nport        = 3306\r\nbasedir     = /usr\r\ndatadir     = /var/lib/mysql\r\ntmpdir      = /tmp\r\nlc_messages_dir = /usr/share/mysql\r\nlc_messages = en_US\r\nskip-external-locking\r\n\r\nmax_connections     = 100\r\nconnect_timeout     = 5\r\nwait_timeout        = 600\r\nmax_allowed_packet  = 16M\r\nthread_cache_size       = 128\r\nsort_buffer_size    = 4M\r\nbulk_insert_buffer_size = 16M\r\ntmp_table_size      = 32M\r\nmax_heap_table_size = 32M\r\n\r\nmyisam_recover_options = BACKUP\r\nkey_buffer_size     = 128M\r\n#open-files-limit   = 2000\r\ntable_open_cache    = 400\r\nmyisam_sort_buffer_size = 512M\r\nconcurrent_insert   = 2\r\nread_buffer_size    = 2M\r\nread_rnd_buffer_size    = 1M\r\n\r\nquery_cache_limit       = 128K\r\nquery_cache_size        = 64M\r\n\r\nlog_warnings        = 2\r\n\r\nslow_query_log_file = /var/log/mysql/mariadb-slow.log\r\nlong_query_time = 10\r\nlog_slow_verbosity  = query_plan\r\n\r\nlog_bin         = /var/log/mysql/mariadb-bin\r\nlog_bin_index       = /var/log/mysql/mariadb-bin.index\r\n\r\nexpire_logs_days    = 10\r\nmax_binlog_size         = 100M\r\n\r\ndefault_storage_engine  = InnoDB\r\n\r\ninnodb_buffer_pool_size = 256M\r\ninnodb_log_buffer_size  = 8M\r\ninnodb_file_per_table   = 1\r\ninnodb_open_files   = 400\r\ninnodb_io_capacity  = 400\r\ninnodb_flush_method = O_DIRECT\r\n\r\n[mysqldump]\r\nquick\r\nquote-names\r\nmax_allowed_packet  = 16M\r\n\r\n[isamchk]\r\nkey_buffer      = 16M\r\n\r\n!includedir /etc/mysql/conf.d/\r\n```"}}
{"actor":{"display_login":"Acidfabric"}}