Questions tagged [redis]

Denotes questions related to the usage of Redis for cache or session storage

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

Redis causing issue with AMQP

We are developing a new site and have created some custom consumers for AMQP, however we are getting the error Error while checking if topic is synchronous during the setup:upgrade part of our ...
0
votes
0answers
12 views

Magento 2 : Add, read and delete custom key value pairs in Redis

I want to implement a custom cache for a feature and want to store key-value pairs in Redis for the same. Is there some standard class/implementation which I should follow to go about accomplishing ...
0
votes
0answers
20 views

Recommended redis setting for tcp-keepalive for Magento2

Is there a recommended Redis setting for tcp-keepalive for a busy Magento 2 store? I've seen some things that say set it to zero, others say 60s seconds, etc... Is it also recommended to set the "...
1
vote
0answers
54 views

Magento 2.3.3 Redis overcommit_memory and eviction policy

Our Magento 2 site has a problem with Redis memory usage/availability. Redis is not able to allocate additional memory and overcommit is turned off. At a seemingly random time, the site will no longer ...
0
votes
0answers
12 views

Magento 1.9: JS File in browser does not change

I'm using extension Cm_RedisSession to enable Redis, when i change a js file in media/js folder, and when I reload the browser it still didn't change, i already did these: Delete var/cache , var/...
0
votes
0answers
18 views

Redis config suggestions

I am comparing one of the website's redis config in env.php. This is what they have: 'cache' => [ 'frontend' => [ 'default' => [ 'id_prefix' => 'abe_', ...
1
vote
0answers
38 views

Magento 2.3.2 Redis cache grows very large quickly

A large multi-site Magento 2.3.2 store (4 stores, 90k products, 5k categories) running with Varnish FPC and Redis cache for Magento cache. We find that within 20-30 minutes after a full cache flush, ...
0
votes
1answer
101 views

Ajax pagination issue with Varnish

Store has Magento 2.3.3 with Varnish 6, Redis 5 and Amasty Layered navigation enabled for filtering and pagination ajax calls. After setting up above configuration, navigation through category pages. ...
1
vote
1answer
77 views

Redis keys are keep increasing, EXPIRY is not set to keys

default,page_cache redis cache data doesnot set expiry it always set to -1 please suggest a way to add expiry time for redis keys Due to this RAM is overflows regularly 'cache' => [ 'frontend'...
0
votes
1answer
213 views

Magento 2 Redis Deprecated Functionality Causing Magento not to Start

Magento 2 is failing to start. The logs show this error: Deprecated Functionality: implode(): Passing glue string after array is deprecated. Swap the parameters in vendor/colinmollenhour/credis/...
0
votes
3answers
251 views

Magento 2 Header Sign In Sign Out Issue

I have ultimo theme on magento 2.3.3 with redis and varnish. After Sign Out the link still displays Sign Out and vice versa. Becomes normal after cache is flushed. looks like cache issue. Any help ...
1
vote
0answers
30 views

Export sessions data from files to REDIS

We are moving from single server to multiple server setup for our store. The problem is that we are using file cache type and we want to preserve those sessions (long expiration, per management ...
1
vote
1answer
59 views

Redis crashing suddenly

Anyone had a problem with Redis suddenly spiking and then crashing the server? we have had a recurring problem with Magento2. Redis suddenly gets hit with masses of data which makes it unavailable ...
1
vote
1answer
207 views

Redis Session Error: Successfully broke lock for ID sess_ebfc12b22fa8c8e1fb81dca122fcdda6 after 5.01422 seconds

I am using Redis to store sessions and getting the error: [2019-11-26 09:51:32] main.INFO: ip-10-0-0-78|28852: Successfully broke lock for ID sess_ebfc12b22fa8c8e1fb81dca122fcdda6 after 5.01422 ...
0
votes
2answers
592 views

Magento 2 - How to check if Redis is working

In magento 2 I recently configure Redis in app/etc/env.php file. But I don't know how to check if the configuration is ok and if Redis is working well with magento. Is there a way to make sure of ...
0
votes
1answer
36 views

Magento 2 - Admin Breaks Frequently if we do not clear the cache for longer time

I am getting a very strange issue on my live site. If we do not clear the cache for longer time such as 2 to 3 days, any admin page gets broken. After clearing the cache it resolves issue but it is ...
0
votes
0answers
20 views

Magento2 Redis generating sessions without visitors

I added Redis server for storing sessions. However, after adding redis it seems like speed is slower. Loader on the product page is taking more time now. Moreover, I opened redis-CLI monitor to check ...
0
votes
0answers
49 views

Magento 2.2.7: Error cleaning cache by mode matchingTag

When i am trying to add the robot.txt entry via admin, getting the following error Magento 2.2.7 Something went wrong while saving this configuration: Error cleaning cache by mode matchingTag: read ...
0
votes
1answer
36 views

Magento 2 optimization - loading time is high

High configuration server with Redis configuration. Gtmatrix - https://gtmetrix.com/reports/mastersdirect.masters-sp.com/UQcit4p9 Waiting time is 2.68 s. Created a normal controller and exit in the ...
0
votes
1answer
173 views

Magento 2.2.8 Upgrade Redis Expects string object given

I have just upgraded from Magento 2.1.9 to 2.2.8. Redis was previously working fine, however, when I activate it now through my env.php file, I am receiving this error. Warning: substr() expects ...
2
votes
0answers
218 views

Redis HGET slow on Magento 2.1.10

We're running a Magento 2.1.10 staging environment on a server. The session, FPC & config cache are written to REDIS. But we can't help but notice that our environment runs very slow when ...
0
votes
1answer
522 views

Redis Issue In Magento 2

There is a very strange issue on our Magento site. We are performing some custom write operations after order has been placed using checkout_submit_all_after event. These work fine for some order but ...
1
vote
0answers
378 views

Magento2 when site is loading than facing issue

I have facing issue in magento2 when site is loading. Fatal error: Uncaught CredisException: Connection to Redis 127.0.0.1:6379 failed after 2 failures.Last Error : (1) Connection refused in /...
0
votes
2answers
535 views

How to fix “Connection to Redis failed” error?

I cannot open the site and can't run any commands. I'm getting the below error: The thing is that I have configured our development site into local (Xampp). In the development site, we have used the ...
1
vote
0answers
130 views

change cache to Reids and the exception:NOAUTH Authentication required occurred

My magento version is 2.2.6,It is strange,becuase I can see the data in Reids,that means can write to Reids,and the system knows the password,Why did I mention this error when I visited the website? '...
0
votes
0answers
176 views

Magento 2 + NGINX + REDIS + VARNISH + SSL Changing to Developer mode

in Production Mode everything is fine. When i change to Developer Mode i have this Problem because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is ...
1
vote
0answers
19 views

Redis messages in Magento

I am having problems with httpd full memory usage and we are trying to find the cause. We have installed Redis and Full Page Cache, we have run this command redis-cli monitor and we see ...
5
votes
1answer
603 views

Magento 2 - Use Redis in Full Page Cache

I check similar question but I am unable to find command to add Redis server for full page cache. The command to add Redis for backend cache is following: php bin/magento setup:config:set --cache-...
5
votes
1answer
531 views

Magento 2.3.1 customer grid sorting issue

I am using magento 2.3.1. I am having this strange issue only in admin>customer grid No matter which column I choose to sort the results are always the same. It happens only in this grid. What I ...
1
vote
0answers
109 views

Magento 2.3: How to configure magento CLI commands to use custom names for dangerous redis commands

Environment OS: Ubuntu 18.04 LTS Server: Apache 2.4 Database: MySQL v14.14 distribution 5.7.25 PHP: 7.2 Redis: 5.0.4 Issue Following the digitalocean tutorial referenced ...
1
vote
1answer
39 views

Magento 1.14.4.1: Not able to clean specific type of cache while using redis cache

I have redis which is hosted separably. I need to clean specific type of cache (i.e. block_html) using a script. The problem is that whenever I update product it doesn't reflect on the front-end side ...
0
votes
1answer
392 views

Magento 2 + docker setup getting error of Redis

I have tried to set up one source in the local environment with docker image but getting an issue like below Fatal error: Uncaught CredisException: Connection to Redis failed after 2 failures....
4
votes
1answer
10k views

Magento 2 - Warm Cache Vs Cold Cache Concept (With Varnish & Redis)

I want to know the concept difference between warm cache and cold cache. How do we use both these techniques effectively with varnish and Redis cache. Any help, knowledge and experience sharing ...
3
votes
2answers
667 views

Connect Redis to Docker-compose

I've setup my docker to connect with redis. But upon running the application i'm getting this error Fatal error: Uncaught CredisException: Connection to Redis redis:0 failed after 2 failures. Last ...
1
vote
1answer
85 views

Cannot enable caching with Docker local environment

I am getting this error In Serialize.php line 33: Unable to unserialize value. However, I do not believe this is the same issue as mentioned in this thread. I am using Docker for M2 local dev ...
2
votes
0answers
130 views

env.php changes when enabling Varnish

app/etc/env.php has the following for cache settings: 'cache' => [ 'frontend' => [ 'default' => [ 'backend' => 'Cm_Cache_Backend_Redis', '...
2
votes
0answers
185 views

Redis does not improving performance

I'm trying to find the best setup for one really slow site. For education purpose. I set with AWS CloudFront like full page cache, not only static files. Also Varnish and Redis, and performance are ...
1
vote
1answer
203 views

Database-Based & Redis-Based Customer-Session Empty Data Issue in Magento 2 Using 2 Web-Servers

I am facing a problem in getting session data in Magento 2, when I deploy my Build on 2 Web-Servers. I am facing no issue on Single Web-Server. Problem Details I am setting some data in session, in ...
3
votes
0answers
71 views

Magento 1.9.3.8 Redis version

I am using Magento 1.9.3.8 with Redis 3.0.6 as backend cache and also my FPC extension is using it for storing files. I am wondering if Magento is still working with latest Redis 5? I can't find ...
3
votes
1answer
460 views

Magento2: What exactly is stored in Redis “page and default cache”?

We figured out that we are a bit unsure about what exactly is stored in redis "page and default cache". Until now, we thought it is only about configuration, and maybe some page templates. But today,...
2
votes
0answers
264 views

Best Redis maxmemory configuration for Magento 2

Right now i'm using Redis as my Magento 2 full page cache and session cache, but sometime this cause my website to get out of memory error, i've fixed the memory_limit for the php and i found out my ...
0
votes
2answers
917 views

Redis vs Memcached for Magento 2.3?

It says here that Redis is superior to Memcached, but I plan to update to upgrade my store to the latest Magento 2.3 Will Redis still work? Can't risk slowing the shop down
2
votes
0answers
596 views

No TTL for LAYOUT Cache

I noticed that Magento Layout module does not provide TTL when saves to cache, so the keys in Redis are not expired. Example: vendor/magento/framework/View/Layout.php: $this->cache->save($this-...
2
votes
1answer
124 views

502 when customer signed in but not in customer account section

Using Redis and Cm_RedisSession module to store sessions, I'm seeing a 502 Bad Gateway error when a customer is signed in (but not when they are in the customer account section). The php error was ...
5
votes
7answers
4k views

Magento 2.2.5 to 2.2.6 upgrade error

When trying to upgrade from Magento 2.2.5 to 2.2.6 I've noticed some strange behavior blocking the upgrade. The first commands I did without problem are: composer require magento/product-community-...
2
votes
3answers
414 views

Slow Magento 2.2.5

Good evening, my site is https://www.emporiobit.com.br it is not yet in production. I use magento 2.2.5 with varnish and redis I configured 4G for Varnish and 4G for php memory_limit, my VPS has 12gb ...
0
votes
1answer
721 views

Connection to Redis failed - Magento 1.9

I am getting this error while browsing to both front and backend of my Magento store : Connection to Redis failed after 2 failures.Last Error : (111) Connection refused Trace: public_html/lib/...
3
votes
1answer
263 views

Magento + Redis: same config for two different instances - safe?

Can I use the exact same config for redis for two different magento instances or do they access / write to the same cache? F.e. I have a "production" and "staging" instance of magento which have their ...
1
vote
0answers
45 views

Does Magento 1.9 use redis cache for showing data in getCart?

So, I am using Magento 1.9 in our project. I have enabled Redis in magento and it is workingbperfectly fine. I wanted to know if Magento 1.9 uses Redis cache for showing the data in cart? If yes ...
1
vote
1answer
226 views

Magento2.1 - Deployment version issue

In production mode , I tried to deployed the application. Deployment was completed successfully but the changes in js file seems to be old. Static Signing is enabled in admin I checked the pub/static/...