Questions tagged [redis]

Redis is an open source, highly-scalable key-value store, commonly referred to as a "NoSQL database."

163 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
0 answers
400 views

nginx redis upstream lots of TIME_WAIT to some servers after adding a new bunch to upstream

I have nginx upstream of redis servers (5 servers with 4 redis instances on every) like following: upstream redis_cluster { server 10.0.1.8:6379 fail_timeout=0; server 10.0.1.8:6380 ...
d.ansimov's user avatar
  • 123
1 vote
0 answers
1k views

phpmyadmin + redis session save compatibility?

I'm facing a strange behavior on phpmyadmin + redis php session cache. Here is my php-fpm pool configuration : php_value[session.save_handler] = redis php_value[session.save_path] = "tcp://127.0.0....
Julien's user avatar
  • 144
1 vote
0 answers
118 views

Redis ram jump and crash

I use redis for storing statistics on my site , the usual trafic is about 1000-2000 redis calls per second, I recently migrated the website to another hosting service and I am experiancing problems ...
SteveL's user avatar
  • 167
1 vote
1 answer
77 views

Trying not to use 'if' in NginX, but how?

I read that if is evil and should not be used in NginX config. But how can I rewrite my code, so that I don't use the if ? What I want to do is: NginX are supposed to call Redis instead of php if ...
Lean-Juc Dicarp's user avatar
1 vote
0 answers
624 views

Redis Performance Tanks as Number of Nodes Increases

Strange problem. We have 6 nodes behind a loadbalancer. They are high-spec VPSes running Ubuntu. On a separate node we run Redis. Further nodes run MySQL. The whole LAMP setup hosts Magento. ...
JayMcTee's user avatar
  • 4,021
1 vote
1 answer
2k views

Cannot set password for redis sentinel 3.2

I tried to set up redis sentinel to make it has high availability and support fail over. I begin by setup the redis replication (1 master and 2 slaves in 3 ec2-instances) And after that, i install ...
chaintng's user avatar
  • 529
1 vote
0 answers
1k views

Redis Master/Slave Replication - Permission denied connecting to master

I'm trying to set up master/slave replication, but the slave cannot seem to connect to the master. I have two virtual servers set up on Hyper-V running Redis 2.8.19 on CentOS 7. Both servers were ...
IchibanChef's user avatar
1 vote
0 answers
191 views

Redis creates many events in logstash

I'm doing some testing for a POC with logstash. When using redis to buffer messages it appears they stay in redis and continually get added to elasticsearch as new events. For example, if I restart ...
tweeks200's user avatar
  • 351
1 vote
0 answers
2k views

Redis master-slave "connection lost" error

I have two docker machines: $ docker-machine ls NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS redis-master * virtualbox Running tcp:/...
user606521's user avatar
1 vote
0 answers
677 views

Redis Sentinel master not downgraded to slave immediately

I have an architecture with three Redis instances (one master and two slaves) and three Sentinel instances. In front of it there is a HaProxy. All works well until the master Redis instance goes down. ...
Damian's user avatar
  • 111
1 vote
0 answers
148 views

Redis 3.0.5 on Debian Jessie hangs on shutdown when database not in /var/lib/redis. Any ideas?

I am trying to configure redis 3.0.5 (DotDeb build) on Debian Jessie to dump the database in another directory instead of the default /var/lib/redis. I know how to do this, and in my wheezy server ...
Erion's user avatar
  • 155
1 vote
0 answers
282 views

Redis parent process smashing disk despite appendfsync = no

We are seeing loads of IO from redis-server despite our save operations being set to occur once every 15 minutes only. The workload is a "full page cache"; we store blobs of compressed HTML. The HTML ...
Jon M's user avatar
  • 467
1 vote
1 answer
320 views

Problems with the sessions and HAProxy in OpenShift

I have written an application using Kraken and deploy in OpenShift with the option of auto-scaling (use HAProxy) but this has led me two problems: 1) HAProxy constantly sends requests to the ...
Rodrigo Moreno's user avatar
1 vote
1 answer
1k views

resdis bgsave hangs forever on windows

I recently had a data loss due to a non functional bgsave/save (it hang up giving me always the "ERR Background save already in progress" error message) This is my server section of the redis info ...
Jeldrik's user avatar
  • 111
1 vote
1 answer
796 views

How to config user_prefs (SpamAssassin) individually per user in Redis DB?

I'm going to implement mail gateway with FreeBSD 10.1. So, I installed Postfix, Amavisd, Clamav, Spamassassin, Procmail (for filtering spam from maildir to spam folder), Bayes with Redis database. I ...
Fony Lew's user avatar
  • 293
1 vote
1 answer
768 views

Moving a web application to use HAProxy, Varnish, and nginx

I currently have 4 web application servers (running on application) on Rackspace that sit behind a Load Balancer (on Rackspace). In front of the Load Balancer. The application itself makes moderate ...
tptcat's user avatar
  • 257
1 vote
0 answers
410 views

Redis Sentinel false failovers

I'm having problems with Redis. I have 3 servers. Each server have 10 Redises working on different port. Also, each server has one Sentinel instance. Also, there are 5 application servers. Each ...
yax's user avatar
  • 31
1 vote
0 answers
861 views

Unable to open redis 6379 for inbound on AWS EC2

I have two servers on EC2. One hosting my php application and other hosting my redis server. I am managing my php session and data on redis server. So on my php server I gave the ip:port as session ...
Ankur Aggarwal's user avatar
1 vote
0 answers
97 views

Redis Time() command returns an empty result

Our Redis server behaves strangely under high load. When calling the Time() command it will occasionally return an empty result (not an Exception, just empty result). Is this an expected behavior ...
Roey B's user avatar
  • 11
1 vote
1 answer
496 views

Strange CPU Loading peaks on web server

I have strange, very strange peaks of CPU loading on my website. normal loading about 2-3, when i have this peaks it is about 100-150 peaks may be in any time. not depends my normal loading profile.(...
andreyvlru's user avatar
1 vote
0 answers
2k views

Copied redis dump.rdb server to new server, only loads < 5 MB into memory instead of ~1 GB from previous server

I am migrating redis servers (from 2.2 to 2.6, if that's relevant), and after I do a "SAVE" on the old box and copy the file to the new box, I put it in the same location from /etc/redis/redis.conf as ...
joshm1's user avatar
  • 111
1 vote
0 answers
479 views

Trying to compile phpredis on a mac using phpize54

I installed php 5.4 using mac port. I then git cloned the phpredis repository ( https://github.com/nicolasff/phpredis ). Then, I execute these commands: phpize54 ./configure make && make ...
Steve's user avatar
  • 11
1 vote
0 answers
270 views

Large scale custom domain support for a hosted web service

I am running a hosted platform for publishing Markdown documents. Currently I offer a subdomain per user, but the number one request right now is custom domains. My server stack is NGINX and uWSGI ...
Jökull's user avatar
  • 111
1 vote
1 answer
428 views

Not able to setup juggernaut push notification server on ubuntu

I am developing a ruby on rails application to implement chat. I am not able to setup juggernaut server in production mode. I followed this guide to setup redis. and its working perfectly fine. Then ...
Mohit Jain's user avatar
1 vote
2 answers
5k views

Redis failing to create unix socket

I am trying to set redis up to use a Unix Socket. I am using the stock Debian installation /etc/redis/redis.conf except with the following additions at the end of the file, based on this info: # ...
run_the_race's user avatar
0 votes
1 answer
10 views

nginx php-fpm redis configuration "socket error on read socket"

my localhost is on ubuntu with nginx + php-fpm 8.1 server { server_name "~^({[a-z]}2\.)*(?<project>\w+)\.(.*)localhost$"; root /home/fw/public_html; location ~ \.php$ { ...
mikakun's user avatar
  • 111
0 votes
0 answers
38 views

ubuntu 22.04 redis.service stops working after adding tls

A fresh install of redis on ubuntu 22.04: I changed supervised no to supervised systemd. When running systemctl start redis.service, everything works as expected. I now change the redis.conf file to ...
Sam Leurs's user avatar
  • 105
0 votes
0 answers
50 views

Deploy a Redis cluster in Kubernetes with High Availability

I am looking at deploying a Redis cluster (3masters, 3workers/slaves) on Kubernetes. I found the Redis Operator as being the best option but the “capability level” doesn’t look that attractive to me. ...
Jérémy Ferfer's user avatar
0 votes
0 answers
25 views

Redis Conf symlinks problems

Is there any way that I can set up a symlink to /etc/redis.conf to a different location than /etc/redis/redis.conf and work? Let's say I have the file in my local directory, and instead of copying the ...
Daniel Mendoza Pupo's user avatar
0 votes
0 answers
79 views

Unable to cURL into redis

I'm getting a connection refused error on port 9443. redis-server is definitely running, version 7.2.4. I'm not finding any other configuration I need to be setting up. It's not using the docker image....
Fibericon's user avatar
  • 105
0 votes
0 answers
45 views

[name=Redis, majorVersion=6]; user must register resolver or explicitly set 'hibernate.dialect'

I have asked this question in stackoverflow already, but I think the question is more suitable here. Sorry for cross-posting. After successfully creating datasource for redis in wildfly, I am now ...
Sudipta Roy's user avatar
0 votes
0 answers
53 views

Kubernetes Load Balancing with Redis Cluster and microservices

I have the following scenario: N kubernetes Nodes A redis cluster with N instances, each node has a single instance There are requests coming into the nodes in a round-robin format After the requests, ...
me_the_bo's user avatar
0 votes
0 answers
85 views

Cerbot for both NGINX and Redis

I'm running ubuntu with both NGINX (443) and Redis (6379) ports exposed separately on the same machine, I want them both to use TLS and for that I'm using Cerbot. From time to time Cerbot ...
iTaMaR's user avatar
  • 101
0 votes
0 answers
339 views

redis in docker Permission denied

docker run -d --name=Redis \ --restart=always \ --network=host \ -v /usr/local/redis:/redis \ -v /usr/local/pki:/pki \ -u redis:redis \ redis:7.2.1 \ redis-server /redis/redis.conf log is Opening the ...
Stephen Xia's user avatar
0 votes
0 answers
93 views

Redis - Unable to Authenticate

I have been trying to set up an Authelia instance for the last week or so and keep running into an issue where it won't authenticate to the Redis instance (both in Docker). I suspected it was because ...
user2337871's user avatar
0 votes
1 answer
1k views

Installing redis 7.0 from remi-modular repo

This might be blatantly obvious, but I cannot install a package from the remi-modular repository, despite having added the repo file in the /etc/yum.repos.d/ and validating it. I have attempted ...
Seymour B's user avatar
0 votes
0 answers
95 views

Having two datacenters with two virtual servers at each, what is the suitable redis topology for high availability?

I have two data centers, A and B, which has two virtual servers at each site. We have connectivity between the two sites. I'm planning to deploy one redis HA cluster with two masters and two slaves. ...
kaushal47's user avatar
0 votes
0 answers
256 views

Poor server performance on Linux Ubuntu 20.04 with PHP-FPM, MySQL, and Redis Server installed

My client’s server has recently started having performance issues. The single website hosted on the server loads very slowly. It is built with WordPress using a custom theme. There are a minimum ...
Mike Hermary's user avatar
0 votes
1 answer
203 views

Connect Redis Unix Domain Socket to Django

I have a Django website running via nginx under user www-data and gunicorn under user myuser bound at /run/gunicorn.sock. nginx works just fine; it acts as a proxy to the gunicorn Unix domain socket. ...
Bobort's user avatar
  • 126
0 votes
1 answer
114 views

Getting command failed: NO_PY2=1

Sorry if its trivial question. I do not have experience with linux terminal. I am trying to install RedisJSON on ubuntu 22 on Windows. https://redis.io/docs/stack/json/#build-from-source When I run ...
Tadas V.'s user avatar
  • 101
0 votes
0 answers
588 views

Migrating Redis data from old cluster to another cluster

I've got 2 redis cluster, and I wish to move a lot of data from old cluster to new cluster. I've write a script using redis-cli and MIGRATE command. It success at about first 20 keys, then it start ...
YOULYU ZHANG's user avatar
0 votes
0 answers
450 views

Heroku Redis upgrade from free to paid stuck in "preparing (plan upgrade in progress)"

I'm trying to upgrade Heroku Redis from the free hobby plan to a paid version but it seems eternally stuck in in "preparing (plan upgrade in progress)". What's the best way to deal with this?...
Marc's user avatar
  • 123
0 votes
1 answer
100 views

Is it possible to have a Cloudwatch alarm of the specific events of a ElastiCache Redis cluster?

I need some solution to get cloudwatch alarm notification for specific elasticache events like '''ElastiCache:CacheNodeReplaceStarted''', '''ElastiCache:RemoveCacheNodeComplete'''. I know we can ...
Rajaneesh's user avatar
0 votes
0 answers
650 views

redis-server does not start when parsed path to configfile

I'm having a Raspberry Pi 4, which I want to run a redis-server (v.5) on (used for Celery in a Django application). The issue is, I can't get access to the redis server from my computer (they are on ...
CutePoison's user avatar
0 votes
1 answer
278 views

Redis failed every few hours

I have a problem in redis, Each 18-30 hour it failed and I should restart it manually to run it again. Our server have 1 wordpress website. Redis version: 5.0.3 OS: CentOS Linux release 8.3.2011 ...
Muhammad Khalaf's user avatar
0 votes
0 answers
483 views

Redis persistent installation with more data than RAM

I'm new to Redis, but lately they've started to promote the idea of using Redis as a general purpose persistent db, instead of mainly for cache. I think this would be a good fit for an app I want to ...
flen's user avatar
  • 101
0 votes
1 answer
369 views

Redis on AWS task

I have an API that have some heavy processing endpoints. To avoid problems, I created a queue system using redis. Now I put this API into a docker, and I'm using ECS to deploy service that creates a ...
Learning from masters's user avatar
0 votes
0 answers
1k views

Docker isn't fowarding port to redis

I'm trying to run redis in a docker container on AmazonLinux, and I can't for the life of me get it to forward the port. It starts as it should and appears to be working, but there is no process ...
Diogenes Creosote's user avatar
0 votes
1 answer
906 views

My Node.js droplet can't connect to DigitalOcean Managed redis

I have a Parse Server (which is a Node.js server basically) and I'm trying to connect to a redis database, which is hosted on DigitalOcean Managed Databases. Both servers are on the same VPC network ...
Sotiris Kaniras's user avatar
0 votes
0 answers
247 views

How to cluster Redis service

Imagine 6 servers running Redis on all of them: 192.168.10.1 192.168.10.2 192.168.10.3 192.168.10.4 192.168.10.5 192.168.10.6 They have divided into 2 site: Site 1 192.168.10.1 192.168.10.2 192.168....
Farid Niasti's user avatar