I'm using this PPA;
redis-server : chris lea
Redis is an open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.launchpad.net
Can be use this Repo for Centos 7?
Anyone upgraded to Redis 6?
redis-cli
SHUTDOWN SAVE
sudo yum -y install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
sudo yum --enablerepo=remi install redis
sudo systemctl enable --now redis
Q: phpredis supports persistent connection, are these recommended?
A: I do not recommend using persistent connections, as they appear to be quite buggy.
This'persistent' => true,
helps A LOT on one of the big boards I manage.
Good to hear! It took a while for that feature to become reliable. I recommend reducing as much disk-io as you can as well.
'persistent' => true,
is now safe to use?I do not personally use the feature, but it should be much more reliable than it used to be. Most forums aren't going to need it.FAQ
Redis Cache By Xon
I already have disabled but same error show up several times a day. Yes same issue here. @Xon do you have any other option?xenforo.comRedis Cache By Xon
I already have disabled but same error show up several times a day. Yes same issue here. @Xon do you have any other option?xenforo.com
@rdn
@Xon
So I take it the'persistent' => true,
is now safe to use?
Yes, it extends the CSS caching to actually store it as gzip'ed data and send that over-the-wire so you don't need to decompress/recompress like native css caching.
Lower overhead mostly, in time and final output size.2.'serializer' => 'igbinary', // to disable set to 'php'
what does the "serializer" do and what are the advantages of igbinary over php?
which handles fragmentation better and allows multiple CPUs to be used as redis is single threaded.
# By default threading is disabled, we suggest enabling it only in machines
# that have at least 4 or more cores, leaving at least one spare core.
# Using more than 8 threads is unlikely to help much. We also recommend using
# threaded I/O only if you actually have performance problems, with Redis
# instances being able to use a quite big percentage of CPU time, otherwise
# there is no point in using this feature.
...
I'm using "redis-cli -h 127.0.0.1 -p 6379" in ssh and there's no error and working with 'info'command.//Redis Start
$config['cache']['enabled'] = true;
$config['cache']['provider'] = 'SV\RedisCache\Redis';
$config['cache']['config'] = [
'server' => '127.0.0.1',
'port' => 6379,
];
//Redis Ends
I've checked, add-on works without error. and selinux = disabled, i'm using cento7 so apparmor is not a problem.Please ensure to add-on all files have been uploaded, and the add-on is enabled without errors. Check the add-on list and see if there is any errors on the add-on, and that php isn't being restricted by selinux or apparmor from talking to Redis.
Funny you should mention this , mine is identical.I've checked, add-on works without error. and selinux = disabled, i'm using cento7 so apparmor is not a problem.
It's weird.
We use essential cookies to make this site work, and optional cookies to enhance your experience.