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
11 views

Magento 2 with redis site not loading

I have configured the Redis cache as per Magento documentation. But if I run the cache:flush command the site loads lot of time and I'm using AWS RDS, The CPU of the RDS instance is 100% used. I also ...
1
vote
1answer
16 views

How to use redis endpoint in magento 2.1

i am unable to add redis endpoint in magento 2.1 below is my code that i added in "etc/env.php" Please let me know what i am missing 'cache' => array( 'frontend' => ...
0
votes
1answer
50 views

Redis HGET is consuming too much of time

One of my client M2 store is using Redis for session and cache storage. On inspecting the New Relic, have noticed that HGET is consuming hell lot of time Redis Configuration: Local Redis connected ...
0
votes
1answer
22 views

How to upgrade Redis and ElasticSearch in Magento Cloud?

I'm running a Magento 2.3 Cloud with many issues related to Redis requests. We run the Redis 3, and the recommended version to have a better performance in the dev docs is the version 5 to M2.3, the ...
0
votes
0answers
22 views

Magento website goes down(loads without css&images) very frequently, but after restarting Redis services, website is up again

I am new to Redis and Magento both, so please ignore any misleading/non-correct terms, I am working on Magento V1.9.2.4 configured Redis V3.0.7 with Mage_Cache_Backend_Redis, we have OS REDHAT 7.x ...
0
votes
2answers
98 views

Magento 2 CLI commands doesn't work

I am having a problem trying to migrate my magento2 board from server to my localhost, I copy the database and files I changed app/etc/env.php config parameters to fit with the local host, I did the ...
0
votes
0answers
12 views

Configure multiple redis services in single server

I am trying to configure redis service for multiple application in a single server. The app1 which is using the default redis i.e 6379. Now i need to configure a another redis for app2 i.e port 6400. ...
0
votes
1answer
30 views

Reg. Magento site deployment in AWS

I am new to magento stack, I have a requirement of deploying a magento based e-commerce in AWS. This site is expected to have 100,000 hits in first couple of months and within an year expected to get ...
0
votes
0answers
67 views

Issue with Magento2 and redis during customer import

There is a very strange issue on our Magento site. We are running a cron job to import product/customer, which runs every second. These work fine for some order but it breaks sometimes. Notice: Redis::...
0
votes
0answers
27 views

Magento2: Redis Cache issue on Product page gallery image not showing

We are facing issue with Magento2 with Redis Cache on Product page gallery image not showing. Images are showing on Category listing and all pages but on product view page images not showing. We are ...
0
votes
0answers
59 views

Magento 2.3.5 - Outdated version of composer

When I run the command composer outdated I see that our latest Magento 2.3.5 install runs on old versions of colinmollenhour/cache-backend-redis and colinmollenhour/credis. Magento 2.3.5 uses version ...
1
vote
1answer
22 views

Why I'm receiving an error messages Class does not exist when running DI compile?

Why am I receiving error messages "Class does not exist" when running DI compile? I removed some modules using the node replace in my composer.json, as you can see below. "replace"...
0
votes
1answer
26 views

CLI command to switch off Redis cache

There is CLI command to set up Redis as backend for Magento cache: $ ./bin/magento setup:config:set --cache-backend=redis Does any CLI command exist to switch off Redis as cache backend for Magento?
0
votes
0answers
29 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 ...
1
vote
0answers
43 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
37 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
166 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
15 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
120 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
217 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. ...
3
votes
1answer
189 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'...
1
vote
1answer
773 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
550 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 ...
3
votes
0answers
56 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
106 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 ...
2
votes
1answer
652 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
1k 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
41 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
101 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
37 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
242 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 ...
3
votes
0answers
364 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
956 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
498 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
1k 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
221 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
225 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
858 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
865 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
111 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 within the magento devdocs, ...
1
vote
1answer
47 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 ...
1
vote
1answer
544 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
908 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
107 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
146 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
221 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
321 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 ...