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
0
votes
1 answer

Connect to Redis using java code if there is docker compose of Redis and Redis Commander

I am trying to connect to Redis using below Java code with Jedis library but connection is failng can someonen please help on this ?. Jedis jedis = new Jedis("localhost"); String pingResponse = jedis.ping(); System.out.println("ping should return…
ss-ss-v1
  • 71
  • 2
  • 16
0
votes
2 answers

Redis Subscribing to a channel ( key space notifications should be enabled ??)

I am working on a node JS app that connect to redis server and subscribe to a channel to get the messages. There is a bit of confusion, should we really enable "key space notifications" on redis config to get the events in client The same scenario I…
Amaravathi
  • 115
  • 1
  • 2
  • 6
0
votes
1 answer

Function call in another file not working in Django rest framework

I am using Django signals to trigger a task (sending mass emails to subscribers using Django celery package)when an admin post a blogpost is created from Django admin. The signal is triggered but the task function in the task file is not called.…
0
votes
2 answers

Move REDIS data between memory and disk

REDIS is a memory database, it's easy to fill the entire memory though. My question is, how can I expand the space by storing some data on disk? Can the memory be expanded with GNU/Linux swap? What's the easiest and most effective option?
Whiskey
  • 19
  • 3
0
votes
1 answer

Redis known-replica vs known-slave

What is the difference between known-replica and known-slave configuration parameters? I have updated redis version from 3.X to 6.X and now I have both in configuration.
0
votes
0 answers

redis start error "Job for redis-server.service failed because a configured resource limit was exceeded."

How to resolve this issue? Here is the error I tried to start redis-server on my nginx. It shows me this errors below. I just followed this but it doesn't work for me. I am not sure how to resolve it. root@li917-222:~# service redis restart Job…
maple
  • 11
  • 2
0
votes
1 answer

redis cluster only using 2 nodes instead of 4

I try to setup a redis cluster on 4 nodes, each with a different ip and port. nohup ${install_dir}/redis-stable/src/redis-server ${install_dir}/${port}/node.conf & let "port++" for i in $ipb $ipc $ipd; do ssh -i ~/.ssh/"ssh key" "sshid"@${i}…
aveillon
  • 23
  • 4
0
votes
0 answers

Redis HSET keys expire after few minutes

I am trying to connect to a remote redis server and set keys using HSET command like below hset ABCD:1105 balance 1000 I can able to see the Key using KEYS * But after approx 1 minute the KEYS * returns empty (empty list or set) . Whereas TTL on…
Sel_va
  • 588
  • 5
  • 25
0
votes
0 answers

Websocket Cloudflare with Nginx 520 error

I am jumping in on a project with some socket issues over SSL and Cloudflare... I know.. I have read about 50 different stack overflow posts and 200 blog posts to try to figure this out. The project works on my local dev server/computer just…
Nick McLean
  • 601
  • 1
  • 9
  • 23
0
votes
1 answer

Can redis-server executable can be used with .conf file as well as -- cmd line option?

I have an requirement to pass a default .conf file to redis-server executable while starting redis and at the same time i want to override some config param while runnng redis-server executable without touching .conf file
0
votes
1 answer

How to handle RuntimeWarning: coroutine 'new_account' was never awaited

Whenever I start web.py and go to localhost:8080/register I get this error. It's part of a Flash game. web.py:75: RuntimeWarning: coroutine 'new_account' was never awaited uid, password = utils.bot_common.new_account(app["redis"]) RuntimeWarning:…
0
votes
1 answer

aioredis.errors.ReplyError: ERR unknown command 'BZPOPMIN' When trying to use redis

I have redis 5.4. and I am gettign this error: aioredis.errors.ReplyError: ERR unknown command 'BZPOPMIN' I am following the tutorial on the django-channels website. This is the consumer code: class ChatConsumer(WebsocketConsumer): def…
MareksNo
  • 140
  • 2
  • 12
0
votes
1 answer

Check size of all keys in bytes in redis server

How to check memory used by all the keys in redis-server. I have started redis-server with appendonly yes option. To check size of an individual key I am using following commands- 127.0.0.1:6379> set foo bar OK 127.0.0.1:6379> memory usage…
Bopsi
  • 2,090
  • 5
  • 36
  • 58
0
votes
1 answer

Batch file to flush redis client locally

I want to flush redis server through batch file so I am trying to create batch file with following command but it doesn't work for me. SET REDIS_PATH=C:\Redis "%REDIS_PATH%\redis-cli" FLUSHALL
Jeevan Gharti
  • 451
  • 1
  • 7
  • 15
0
votes
1 answer

Celery beat sends task regularly, but celery only processes them from time to time in production

I have a django project with celery integrated using redis. My celery worker works perfectly in local development, and now I'm deploying in production. Before daemonizing the process I want to see how celery behaves in the server. The thing is,…
Alvaro
  • 1,430
  • 2
  • 23
  • 41
1 2 3
8 9