Questions tagged [redis]

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

79 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
791 views

After upgrade 2.1.2 to 2.1.7, Redis cache ends up in bad state intermittently, then all requests return 503

This site was stable on Magento CE 2.1.2. After upgrading to 2.1.7, we have encountered some issues in production. There are 2 recurring errors with an interval of hours to days between occurrences. ...
3
votes
2answers
228 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 ...
3
votes
1answer
200 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,...
3
votes
0answers
131 views

How to maintain the customer's active quote after Magento 2 database migration?

As per our client requirement, after our Magento1 to Magento2 data migration they expecting that all the active quote customers should not loose their cart items when they back. To be more clear, A ...
2
votes
0answers
50 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 ...
2
votes
0answers
103 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 ...
2
votes
0answers
450 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
0answers
120 views

Magento 2 without user login add to cart ajax not working with redis session

I have Issue with Magento version. 2.2.0 with integration of redis session. In my magento 2.2.0 Redis Session is enabled , Now when user is not logged in(Guest User) to the system and try to add the ...
2
votes
0answers
169 views

Need to configure more than three redis server for session Magento2

I have three radis server with load balancing. the radis session is shared by global for all instance. i configure the radis cache for magento2 EE session in env.php for single radis url. I need to ...
2
votes
0answers
184 views

Why enable first_lifetime for Magento Redis sessions?

What is the practical purpose of the first_lifetime setting for Magento 2's Redis session storage? The Magento documentation notes: Lifetime, in seconds, of session for non-bots on the first write, ...
2
votes
0answers
190 views

Redis Cluster Gives Error in Magento-2

I have implemented Redis cluster in my local machine with three masters and three slaves. I did all the required configuration in my app/etc/env.php file and when I am accessing the project url, it ...
2
votes
0answers
244 views

Redis default configuration and utilization

We did install Redis server 3.0.7 which has made our Magento store 1.9.x a bit better than before, but I just need to ask that all settings which comes out of the box in Redis is fine? or do I need to ...
2
votes
0answers
3k views

Why would the Blocks HTML output cache need to be refreshed daily?

I've noticed that our Blocks HTML output cache regularly needs to be refreshed, every day even when no one has been working on the Backend of Magento? Why would this cache become invalid so ...
1
vote
0answers
134 views

Magento when site is loading than facing issue

I have facing issue in magento 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 /...
1
vote
0answers
47 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? '...
1
vote
0answers
17 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 ...
1
vote
0answers
103 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
0answers
21 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
61 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 ...
1
vote
0answers
84 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', '...
1
vote
0answers
44 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 ...
1
vote
0answers
146 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 ...
1
vote
0answers
39 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
0answers
528 views

Ideal EC2 Instance type for magento 2.2.3

I am running the magento 2.2.3 version on AWS EC2 currently on c5x.large the performance seems fine for me with proper page speed backed by cloudfront and Redis. Due to cost optimization I have ...
1
vote
0answers
147 views

Recoverable Error: Object of class Credis_Client could not be converted to string

I'll add items to the cart and then they will disappear. I don't have too much more information at this point. line 374 is the last line here: if ($lock != 1) { $this->_log(...
1
vote
0answers
137 views

Magento Redis “Read error or connection” in every 5 minutes when cron run

We are running magento EE ver. 1.14.1.0. It was running fine for a long, but suddenly we got an issue as follows in storefront. Redis Read error on connection Uncaught exception 'CredisException' ...
1
vote
1answer
670 views

AWS elasticache (Redis) for the Magento page and default cache

I have a Magento 2 based website on an AWS EC2 and an AWS RDS. I would like to setup AWS ElastiCache Redis for the Magento page and default cache. I am following the documentation provided here: ...
1
vote
0answers
54 views

turning off caching on specific blocks

I'm working with emarsys and i keep having issues with their webextend scripts. Data is being served to wrong customers and abandoned emails are populating the wrong items. They keep telling me it's ...
1
vote
0answers
300 views

Magento 2 using Redis Cluster and occur error 500 when start website

My company platform team have deployed redis cluster on 3 nodes (10.193.1.1, 10.193.1.2,10.193.1.3) for port 6379. I have update the env.php to redis as following ...... .... array ( 'backend'=> '...
1
vote
0answers
84 views

Magento 2 and Redis Tokenization

I'm looking at implementing ElastiCache Redis (AWS) for a new Magento 2 implementation. However, I have concerns because ElastiCache isn't covered under the BAA and I could have PII/PHI in my data. ...
1
vote
0answers
344 views

How to configure Redis Cluster in Magento 2

I have installed and configured Redis Cache with Magento-2 and it's working fine. For that, I added the config data in app/etc/env.php file. Now I am trying to configure Redis Cluster with Magento-2 ...
1
vote
0answers
284 views

Redis Expiry and Memory Limit issue

we have recently installed Redis Cache for our magento based sites. we 2 websites on our server both using same redis server, our server is based on linux with centos. the issue we are facing is ...
1
vote
0answers
71 views

Magento 2 Redis Clean old tags

I have a script for my Magento 1 stores to clean old Redis keys: <?php count($argc) or die('<pre>:P</pre>'); ini_set('memory_limit','1024M'); set_time_limit(0); ...
1
vote
0answers
107 views

Managing out of control robot sessions with Redis

I've been having major issues with robots leaving sessions files. Over 100 sessions / second. At some point Redis just stopped accepting the sessions and Magento went to writing them back to disk. ...
1
vote
1answer
600 views

Redis local.xml <automatic_cleaning_factor>

Currently I have redis installed and have a few questions I hope someone can help me with? In the local.xml I have the tag: <automatic_cleaning_factor>0</automatic_cleaning_factor><!-...
1
vote
1answer
105 views

Redis and Magento Cache Management system

I have a little confusion here on how redis do the job in Magento exactly. When redis and magento cache management enabled, are both running and work at the same time? Or, redis override all the ...
1
vote
2answers
504 views

How do set REDIS + APC

How do set REDIS with APC in magento (local.xml)? I have to put twice the "< backend >"? My code looks like this: <cache> <backend>apc</backend> <slow_backend>file&...
1
vote
1answer
361 views

Order “Items to ship” not displaying items cannot submit shipment

Having a problem with orders where if I select an order & then go to the ship page it does not display the product at the bottom & I cannot submit shipment. Was ok until I turned off Redis ...
1
vote
0answers
1k views

Magento 1.8.1 can't connec to Redis server 2.8.19-1

I've been struggling with this one (of course!) for a while. Can't wrap my brain around it. Magento just won't connect to the REDIS server. Since i'm getting not errors but a "there has been an error ...
0
votes
2answers
42 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
0answers
15 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
19 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
27 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
66 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 ...
0
votes
1answer
140 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 ...
0
votes
0answers
25 views

E_WARNING: simplexml_load_string(): ^ after config cache(redis) flush

Config cache flush(from redis-cli run FLUSHALL) is done daily in the morning. Post the flush we see the following warning appear in the logs: Error message E_WARNING: simplexml_load_string(): ^ ...
0
votes
0answers
88 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 ...
0
votes
0answers
18 views

Magento 2 Redis keeps asking for same key every 5 seconds

I'm currently running Magento 2.2.3 with redis for cache. My issue is that every time I refresh or try and load a new page Magento always gets to the point where it asks for the same params from redis ...
0
votes
0answers
15 views

M2: Redis Setup for Magento, how do we set compression? (Cm_Cache_Backend_Redis and Redis Session)

We use Redis in Magento 1 And now with Magento 2 there as some questions that others may also have. For PAGE CACHE we can use json config `'compress_data' => '1','compression_library' => '...
0
votes
1answer
161 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....