Questions tagged [redis-server]

Redis is an open source, BSD licensed, 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.

Redis is an open source, BSD licensed, 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.

http://redis.io/

126 questions
6
votes
2 answers

How to start redis with specific .rdb file?

I had redis installed without password. Then I tried to put password without success and decided to delete all related to redis from my server. After that, I've installed redis once again and set a password successfully. The problem is that now is…
Rodrigo Pereira
  • 1,834
  • 2
  • 17
  • 35
5
votes
3 answers

Redis fails to start with error: redis-server.service: Failed at step NAMESPACE spawning /usr/bin/redis-server: Stale file handle

After upgrading Debian, it has an issue starting redis-server.service. In the output of journalctl -xe I see the following: redis-server.service: Failed at step NAMESPACE spawning /usr/bin/redis-server: Stale file handle. I can't start the…
rokitokan
  • 91
  • 1
  • 1
  • 5
5
votes
1 answer

Django Channels Server Configuration : Ubuntu. 404 on handshake

I'm trying to configure django channels to run on my ubuntu server(digital ocean). I have redis-server running on port 6379. Daphne is listening on endpoint unix:/home/mysite/sockets/mysite.sock with HTTP/2 support enabled(not sure that's required…
5
votes
3 answers

Redis config dir periodically modified to "/var/spool/cron" with "Failed opening .rdb for saving: Permission denied" error

I have set up my redis-server so that CONFIG GET dir --> "/var/lib/redis" and CONFIG GET dbfilename --> "redis.rdb". However, after my server has been running a few hours or a few days, I start getting the "Failed opening .rdb for saving: Permission…
andy_roddam
  • 431
  • 5
  • 10
4
votes
3 answers

Redis make failing. Ubuntu 18.04

I am trying to make Redis 6.0.6., but when running the make command I get this error: (.venv) vagrant@vagrant:/vagrant/redis-6.0.6$ make cd src && make all make[1]: Entering directory '/vagrant/redis-6.0.6/src' /bin/sh: 1: pkg-config: not found …
MareksNo
  • 140
  • 2
  • 12
4
votes
2 answers

Java client can't connect to Redis Sentinel which is running on localhost

I have setup 3 Redis Server and 3 Redis Sentinel instances in my localhost. The servers are running at: 127.0.0.1:6379 // Master 127.0.0.1:6380 // Slave 127.0.0.1:6381 // Slave and the sentinels are running…
Shubham
  • 2,847
  • 4
  • 24
  • 37
4
votes
0 answers

ERR ... CLUSTERDOWN but the cluster isn't down

We were resharding data to a new cluster node, encountered a problem and are now stuck in situation probably caused by a bug. When trying to reshard, we get this message: [ERR] Calling MIGRATE: ERR Target instance replied with error: CLUSTERDOWN The…
joey
  • 61
  • 3
4
votes
1 answer

ConnectionMultiplexer.Connect breaks while connecting to redis server

I successfully installed the Redis server on my Windows 7 machine. Did a quick hands on, everything works as expected. (installed using the MSI installer from https://github.com/MSOpenTech/redis ) I am using the StackExchange redis client C# for…
ankur
  • 557
  • 1
  • 10
  • 37
4
votes
2 answers

Migrate Redis Data To Cluster

We have a single Redis instance with a good amount of data (over 100GB). We also have an empty Redis Cluster with 6 nodes. What would be the best way to move all that data from the stand-alone instance to the Redis Cluster and make it distribute it…
Artem Kalinchuk
  • 6,502
  • 7
  • 43
  • 57
3
votes
2 answers

How can I restrict user access to a specific database in Redis using ACL

I have a user user1 and I need to restrict user1 from accessing database 2. How can I achieve this using ACL? The user should be able to access any other databases.
3
votes
1 answer

redis-server TLS Passphrase

I am using redis-server 6.0.5 with the new TLS features (Which are wonderful btw, huge shoutout to the redis developers). I am wondering if there is a standard way to pass a PEM pass phrase to the startup command (or as an ENV Variable, or as a…
pasquers
  • 772
  • 1
  • 8
  • 24
3
votes
1 answer

__construct() method call but handle() function not call in laravel job

I am trying to execute job through dispatch() method using laravel 5.4 redis-server supervisor I have done queue config like 'default' => env('QUEUE_DRIVER', 'redis'). I am call dispatch() method in my app/Services file dispatch(new…
3
votes
1 answer

How can I reduce my redis's latency?

I have a simple web scenario for storing a client-server mac address using lnmp and redis on one machine, the apis I'm using are quite simple, like this: $db->set($client_key, $client_mac); $db->expire($client_key , 24 * 3600); But when the load is…
Micr
  • 161
  • 2
  • 10
3
votes
1 answer

StackExcange.Redis.RedisTimeoutException

We are experiencing timeouts in our application using Redis. Already investigated but without success. See the timeout error below: StackExchange.Redis.RedisTimeoutException: Timeout performing GET…
3
votes
1 answer

Could not connect to Redis at 127.0.0.1:0: Connection refused (when using init script to shut down a redis server w/ unix socket)

I can't shut down my redis server via the init script. This has the huge side effect of hanging my machine when I do sudo reboot. I freshly installed redis using the canonical guide, configured it to accept connections on a unix socket, and am now…
Hassan Baig
  • 15,055
  • 27
  • 102
  • 205
1
2
3
8 9