Questions tagged [redis]

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

3
votes
1answer
725 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. ...
1
vote
1answer
90 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-...
1
vote
1answer
40 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
1answer
591 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: ...
3
votes
0answers
86 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
70 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
100 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
280 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
97 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
159 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
163 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
172 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
229 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
30 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
28 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
100 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
19 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
0answers
44 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
97 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
32 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
446 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
119 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
121 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
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
272 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
82 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
316 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
266 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
69 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
98 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
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
0answers
44 views

Is “hole punching” in Magento 2 just FPC (full page cache) invalidation

Looking into full page cache for Magneto 2 and I have noticed that if I try to "hole punch" my final_price.phtml block in magento by setting my getCacheLifetime to null, my final price block in still ...
0
votes
0answers
24 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
24 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
12 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
0answers
58 views

How to solve intermittent exceptions in the Zend Framework's SessionHandler?

this is my first question at this forum! Circumstances are M2 2.2.7 on CentOS 7 with PHP 7.1 + all 3 types of caches managed by Redis 3.2.12 (on instance per type of cache). MySQL 5.latest and a ...
0
votes
0answers
31 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 ...
0
votes
0answers
32 views

Magento 1: Are there any downsides persisting only Session Data in Redis & letting Redis use just RAM for system & FPC

This gaiterjones Blog article recommends: Redis can be configured to automatically save (or persist) cached data to disk, this is really useful for volatile cache data, i.e. data you do not want to ...
0
votes
0answers
161 views

Redis session configuration breaks web setup page

I have an issue when it comes to using Redis as session cache. If I use Redis for session caching, I lose the ability to go /setup page. When I remove Redis related code, the page loads just fine. I'...
0
votes
0answers
30 views

Magento 2 Remove redis cache after not update

I'm using Magento 2.2.6 When i remove Redis after everything not update(like upload new product not update etc..), My step 1.sudo yum remove redis 2.i have edit env.php already but can't still . ...
0
votes
0answers
125 views

Magento 2 deploy with redis cache

We have setup Magento 2.0 on Ubuntu 16.04, We are using nginx Web Server and php 7.0 installed on Machine. In this redis cache used when we flush redis cache its created again and taking more time. ...
0
votes
0answers
49 views

Magento 2.2.5 loaded unconfigured site

Good afternoon everyone. I am having problems regarding the magento cache This is configured magento 2.2.5 + varnish-5.0.0 + redis 3.2.6 The site is loaded both admin and frontend but is loaded ...
0
votes
0answers
2k views

Required parameter 'theme_dir' was not passed when adding redis configuration to env.php

I try to add the 'cache' values (for enabling redis) to env.php using exactly the same configuration as is on my staging server and working fine and I get the error 'Required parameter 'theme_dir' was ...
0
votes
0answers
201 views

Magento 2 - Which cache are required to be installed on server for best performance in Magento 2?

Magento 2 best performance which are the cache should be installed on the server for best performance of Magento 2 website in production mode? Varnish/ Redis/ Memcache which one is best option to ...
0
votes
0answers
82 views

Php snappy issue

I enabled Php snappy module and edited env.php to use snappy compression with redis. 'session' => array ( 'save' => 'redis', 'redis' => array ( 'host' => '127.0.0....
0
votes
0answers
374 views

Magento 2 Redis Session Storage Database Table

I have added Redis Session Storage to my Magento 2.1 site and am assuming it is working correctly because keys are in the database. I have looked at the table "session" in phpMyAdmin and noticed that ...
0
votes
0answers
170 views

Redis / Memcached daily clear of cache

I have a problem with my Magento 1.9.2.3 stores in that every morning I wake up and the Admin says "One or more of the cache types are invalidated..." and I need to clear the cache. Previously I have ...