TPerry
Well-known member
That's what I get for assuming... I "thought" REMI was already in the repo list.... it's EPEL that is!remi repo has redis 3.0x which is needed
Working now. Now to see how it compares to memcache(d).
That's what I get for assuming... I "thought" REMI was already in the repo list.... it's EPEL that is!remi repo has redis 3.0x which is needed
nope REMI is disabled by default see http://centminmod.com/yum.htmlThat's what I get for assuming... I "thought" REMI was already in the repo list.... it's EPEL that is!
Working now. Now to see how it compares to memcache(d).
Server Error Log
Error Info
CredisException: read error on connection - library/Redis/lib/Credis/Client.php:1065
Generated By: Unknown Account, Today at 11:57
Stack Trace
#0 /home/nginx/domains/pijanitvor.com/public/library/Redis/lib/Credis/Client.php(603): Credis_Client->__call('select', Array)
#1 /home/nginx/domains/pijanitvor.com/public/library/Redis/Cm/Cache/Backend/Redis.php(144): Credis_Client->select(0)
#2 /home/nginx/domains/pijanitvor.com/public/library/Zend/Cache.php(153): Cm_Cache_Backend_Redis->__construct(Array)
#3 /home/nginx/domains/pijanitvor.com/public/library/Zend/Cache.php(94): Zend_Cache::_makeBackend('Redis', Array, false, false)
#4 /home/nginx/domains/pijanitvor.com/public/library/XenForo/Application.php(761): Zend_Cache::factory('Core', 'Redis', Array, Array)
#5 /home/nginx/domains/pijanitvor.com/public/library/XenForo/Application.php(971): XenForo_Application->loadCache(Object(Zend_Config))
#6 /home/nginx/domains/pijanitvor.com/public/library/XenForo/Application.php(1002): XenForo_Application->lazyLoad('cache', NULL)
#7 /home/nginx/domains/pijanitvor.com/public/library/XenForo/Application.php(1647): XenForo_Application::get('cache')
#8 /home/nginx/domains/pijanitvor.com/public/library/XenForo/Model.php(146): XenForo_Application::getCache()
#9 /home/nginx/domains/pijanitvor.com/public/library/SV/RedisCache/RedisDataRegistry.php(152): XenForo_Model->_getCache(true)
#10 /home/nginx/domains/pijanitvor.com/public/library/XenForo/Dependencies/Abstract.php(147): XenForo_Model_DataRegistry->getMulti(Array)
#11 /home/nginx/domains/pijanitvor.com/public/library/XenForo/FrontController.php(127): XenForo_Dependencies_Abstract->preLoadData()
#12 /home/nginx/domains/pijanitvor.com/public/index.php(13): XenForo_FrontController->run()
#13 {main}
Request State
array(3) {
["url"] => string(53) "https://www.pijanitvor.com/posts/386598/rate?rating=1"
["_GET"] => array(2) {
["/posts/386598/rate"] => string(0) ""
["rating"] => string(1) "1"
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(42) "/threads/lov-lignje-pod-feral.21025/page-8"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}
appendonly yes
aof-rewrite-incremental-fsync yes
appendfsync everysec
- Track latest Redis integration component (Credis project).
Do you mean having "appendonly yes" ?You might need to-do tuning for how frequently it saves (or if it saves at all) the Redis DB depending on the host.
Can someone share all the settings to put into xenForo config.php please?
// Cache
$config['cache']['enabled'] = true;
$config['cache']['cacheSessions'] = true;
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions'] = array(
'caching' => true,
'cache_id_prefix' => 'phc_',
'automatic_serialization' => false,
'lifetime' => 0
);
$config['cache']['backend'] = 'Redis';
$config['cache']['backendOptions'] = array(
'server' => '127.0.0.1',
'port' => 6379,
'use_lua' => true,
);
require(XenForo_Application::getConfigDir().'/SV/RedisCache/Installer.php');
// End Cache
SB only does between 6mb/s to 12mb/s or so.https://forums.spacebattles.com/ is not doing the same stats? or more than that?
Yeah. Or disabling any saving.Do you mean having "appendonly yes" ?
Per the FAQ, something like:Can someone share all the settings to put into xenForo config.php please?
$config['cache']['backend'] = 'Redis';
$config['cache']['backendOptions'] = array(
'server' => '127.0.0.1',
'port' => 6379,
'connect_retries' => 2,
'use_lua' => true
);
require(XenForo_Application::getConfigDir().'/SV/RedisCache/Installer.php');
So from this page: http://redis.io/topics/persistenceYeah. Or disabling any saving.
Which I do on SB, since the 2GB linode which hosts the database and redis sometimes has latency issues that Redis is sensitive too. Might need to upgrade it to a 4GB linode sometime within the next 6 months.
It should be on the admincp homepage, on the right hand column above the list of add-ons. You might need to scroll down some.Where do I see this? Can't find it. I installed Redis, PECL and @Xon addon.
We use essential cookies to make this site work, and optional cookies to enhance your experience.