Redis is an open source, highly-scalable key-value store, commonly referred to as a "NoSQL database."
Questions tagged [redis]
441 questions
2
votes
1 answer
Redis not starting on boot with systemd but works with manual start
I have installed redis on Ubuntu 16.04 according to the digialtocean guide. It uses systemd and should start on boot.
I can start redis from cli
sudo systemctl start redis
and it works with no error or issue. However when I reboot, redis fails to…

beginner_
- 191
- 1
- 8
2
votes
1 answer
/tmp directory is not cleaned on live server
Laravel: 5.5 Horizon: 1.2.3 php: 7.2 ubuntu: 16.04, LAMP
I don't know if this issue is related to redis server of horizon, but what I'm sure that this happens. When using database driver the /tmp starts to fill with tmp php files with pattern like…

Yamen Ashraf
- 121
- 1
- 4
2
votes
1 answer
Installer for Redis Sentinel on Ubuntu 16.04 LTS
I've installed Redis server v=4.0.6 on Ubuntu 16.04 LTS from Chris Lea's PPA.
It works great and I set up 2 Slaves. All is good.
-- Now I want to install and configure Redis Sentinel, but I can't find installers and configuration guide. Google…

user450409
- 125
- 4
- 16
2
votes
3 answers
One liner to check if specific port(s) is/are open
Redis Quick Start states:
Make sure the port Redis uses to listen for connections (by default 6379 and additionally 16379 if you run Redis in cluster mode, plus 26379 for Sentinel) is firewalled, so that it is not possible to contact Redis from the…

Majid Fouladpour
- 311
- 5
- 19
2
votes
1 answer
How to increase allowed number of clients in Redis?
(Server: Ubuntu Xenial 64bit)
/etc/security/limits.conf has the following lines:
* soft nofile 24576
* hard nofile 32768
redis soft nofile 24576
redis hard …

DejanLekic
- 304
- 3
- 16
2
votes
1 answer
Redis Sentinel Not Failing Over
We have three redis 3.2.7 servers. Each redis server runs redis itself and the redis sentinel (for failover). Here's the sentinel config for each node
Slave 1 (sentinel) 192.168.0.15
bind 192.168.0.15
port 26379
logfile…

Brad
- 619
- 1
- 10
- 28
2
votes
2 answers
Redis runs on OpenSuse 42.1, but throws many errors, How do I fix?
Installed Redis 3.2.4 on OpenSuse 42.1 with package manager. The machine has 16GB of memory.
Did these steps to get running. (I would like to run as deamon, but havent changed the settings.)
cp default.conf.example default.conf
chown root.redis…

Merlin
- 131
- 4
2
votes
1 answer
AWS EC2 Ubuntu instance not allowing connections to Redis
I created an EC2 t2.micro instance and was able to SSH into the machine and install Redis. Redis is working since i can redis-cli into it and ping/pong it and write records from the command-line. I am allowing the Redis port in the Security Group…

Brett Mathe
- 181
- 5
2
votes
1 answer
Redis Cluster over stunnel configuration
I'm trying to set up a 3 node Redis Cluster that communicates over stunnel.
Redis listens on port 6379 (configurable) for client pub/sub and on the configured port+10000 (not configurable - it becomes 16379 in this case) for cluster communication.
I…

user2871503
- 21
- 4
2
votes
1 answer
Limit redis connections when using PhpRedis as session store
We are using PhpRedis as a session handler for PHP sessions. Other than that, we are running a standard Apache/PHP configuration.
Since we are using an external Redis-as-a-service provider, we would like to keep the number of connections low as they…

DannyB
- 143
- 7
2
votes
0 answers
Correctly Optimizing Redis for memory ussage
I'm a but of a newbie to systems admin & redis configuration and am trying to figure our how to optimize redis.
We are running a Magento eCommerce app on an AWS m3.large EC2 instance with redis and the backend caching seems quote slow. Up to 15…

Holly
- 1,027
- 5
- 14
- 25
2
votes
1 answer
How to run multiple redis instances with systemd
I recently moved to Debian 8 "Jessie" which now use systemd and I can't find a way to run multiple redis instances.
I found out there is a /lib/systemd/system/redis-server.service file to start redis-server on reboot. So I created a new file call…

Nicolas BADIA
- 366
- 1
- 6
- 15
2
votes
3 answers
Redis Sentinel Configuration and Hostnames
I have 2 sentineles and 2 redis servers. I want to configure sentinels using hostnames of redis servers. Currently, I define each hostname in hosts file like this.
10.22.20.156 clsupport1
10.22.20.157 clsupport2
And I try to configure…

bhdrkn
- 73
- 1
- 8
2
votes
3 answers
Redis GUI needed for AWS ElastiCache on an EC2 instance
I've a AWS ElastiCache Redis cluster setup that I wish to manage. Since AWS doesn't let you access ElastiCache outside the VPC, I've setup a micro EC2 instance that carried a copy of the phpRedisAdmin script pointed to this cluster. But AWS has…

Kanuj Bhatnagar
- 131
- 1
- 7
2
votes
0 answers
Using database for storing text files and images
I need to build a image/static file cache which would host maybe few hundred up to thousand static files from 1kb to ~200kb. I'd need super fast reads (I'm using redis, but it's one threaded and I'm not sure how it's clustering works since it's in…

Jason
- 21
- 2