Questions tagged [redis]

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

441 questions
4
votes
1 answer

How do i measure redis replication delay?

Which of these can be considered to monitor replication delay ? Redis_master_repl_offset, Redis_master_last_io_seconds_ago , Redis_slave_repl_offset
karan sindwani
  • 53
  • 1
  • 1
  • 7
4
votes
3 answers

Redis: Error moving temp DB file on the final destination: Operation not permitted

I have a nodeBB install which relies on Redis as the data store. Its just a test install at the moment while I iron out any problems. The Redis instance stayed up for a few days but then fell over with the following errors in the logs: 3693:C 01 Dec…
codecowboy
  • 1,307
  • 7
  • 18
  • 31
4
votes
1 answer

redis server does not create socket file

I'm trying to install gitlab on my apache2 server using this tutorial : http://blog.florentlim.com/how-to-install-gitlab-on-debian-7-wheezy-on-apache2-http-server/ Everything seemed to go correctly, I've done every step, without any major…
aramir
  • 101
  • 1
  • 1
  • 6
4
votes
1 answer

Redis sentinel + HAProxy failover

I am looking to implement a HA redis implementation using Master-Slave redis servers. The web servers will connect to these through an HAProxy instance installed on each box. The situation is easy with only two servers, if one goes down the other…
JonoCoetzee
  • 315
  • 1
  • 3
  • 12
4
votes
2 answers

redis "No route to host" when pinging a remote redis host

I'm in the process of setting up a Resque server and am having to setup Redis for the first time. When using redis-cli to ping the remote server I get a "No route to host" error, however when I directly ping the remote server it returns ok. As I've…
buggedcom
  • 503
  • 1
  • 5
  • 11
4
votes
1 answer

Configure fallback redis server

I am using redis as a cache server. Can I somehow configure multiple redis servers, that the cache is fully functional (read/write) even if some of them go offline? I looked into master->slave, but the problem I see there is, that if the master…
snøreven
  • 165
  • 1
  • 9
4
votes
1 answer

How can I set up redis to run automatically on my Ubuntu machine the way it does on mac

On my (new) mac I can use spork and redis seems to be already running. However on my Ubuntu system (11.10) I get Connection refused - Unable to connect to Redis on localhost:6379 (Errno::ECONNREFUSED) I can get around this with redis-server which…
Michael Durrant
  • 173
  • 1
  • 6
4
votes
2 answers

Redis Master and Slave usage

While I know how to configure and run Redis master and slave on two different servers, I would like to whether my Webserver will be able to connect to slave redis server if the master redis server goes down? If that is not the case, May I know how…
balajidl
  • 163
  • 2
  • 7
4
votes
2 answers

PHP on several servers with session-sharing

there's certanly other threads about this, but I have one more question. We are about to scale the website at work to have more than one server. And we need to share the sessions between the servers. We have been looking into different solutions,…
Etu
  • 51
  • 1
  • 4
4
votes
1 answer

Redis service hangs with systemctl and Type=notify

I have followed this answer: https://serverfault.com/a/893075/210494. I have CentOS 7.8. redis.service [Service] Type=notify ExecStart=/opt/redis/bin/redis-server…
Leos Literak
  • 305
  • 4
  • 13
3
votes
0 answers

Redis maxmemory on ElastiCache instance lower than expected

I have an AWS ElastiCache instance hosted on a cache.m5.xlarge instance type, which advertises 12.93gb of ram. from the AWS ElastiCache documentation it says that a cache.m5.xlarge instance should have its maxmemory set to 13891921715, which divided…
3
votes
1 answer

redis-server /etc/redis.conf just hangs

Just installed redis on AWS AMI Linux (RHEL 2018.03) with https://stackoverflow.com/a/34203915/1471267. Running sudo redis-server without a config file argument works fine and the server starts as expected. However, if I run sudo redis-server…
Mrweiner
  • 133
  • 4
3
votes
1 answer

How do you configure a Redis pod for use as a session datastore for ColdFusion within a kubernetes deployment?

We are considering moving our ColdFusion servers to AKS, and have been messing around with a test deployment to see how things work. To handle scaling of the CF servers we would like to setup a Redis pod to handle session management for the CF…
Nicholas
  • 131
  • 3
3
votes
0 answers

How do I do a correct reverse-proxy to a Redis instance?

I'm running an application called Ambar on a (Samba)fileserver. I want users in my network to be able to search for documents freely, and securely. Since Ambar runs on HTTP, and the server already has Apache on it from before, I decided to set up a…
Oleg
  • 373
  • 1
  • 7
  • 17
3
votes
1 answer

SElinux: allow httpd to connect to redis

I'm running on RedHat7, with apache 2.4 and redis installed. Apache won't connect to redis unless selinux issues are resolved. I know that one option to fix that is to allow all connections with: setsebool -P httpd_can_network_connect=1 but I'd…
user515971
  • 31
  • 1
  • 3