A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [redis]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
29 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
761 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
231 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
1answer
748 views

Magento2 : Redis Sentinel Configuration

I am trying to run Magento2 with a Redis Cluster (running redis-sentinel) as cache and session backend. I am not sure about how I should do this ? Is it even possible ? As I see from Collin ...
1
vote
1answer
26 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
34 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
189 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
1answer
628 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
0answers
18 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 ...
5
votes
3answers
1k views

Magento 2 development: use or not Redis and Varnish?

I have several issues using Varnish and Redis, so I disabled to develop. In the Alan Kent's (Magento Chief Architect) post said to use both to develop, I'm using this image Docker below with Redis and ...
1
vote
1answer
30 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
95 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 ...
10
votes
2answers
2k views

Magento 2: Varnish + Redis for Full Page Cache at the same time?

My question is to Magento Pros: Can I use Varnish and Redis for FPC (Full Page Cache) at the same time? My current setup looks like this: SSL termination > Varnish Full Page Cache > Apache &...
4
votes
1answer
826 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. ...
0
votes
2answers
219 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
2answers
1k views

magento 1.9.3.4 doesn't load CSS and JS on frontend

I am running Magento 1.9.3.4 new install on a HP 9400 server with Quad Core AMD 2380x8, 32Mb RAM with ubuntu-server 14.04 and Webmin/Virtualmin Pro Panel I have 3 stores that load dynamically by ...
0
votes
2answers
708 views

What is minimum / recommended RAM size for Redis when used as Magento Cache?

I want to move the Magento cache to Redis. How much RAM memory is needed for Redis to support this scenario?. I assert no SWAP usage. Somehow I cannot find any recommendations in the documentation. ...
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
1answer
34 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
32 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
33 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
121 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
127 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
125 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 ...
3
votes
1answer
311 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,...
5
votes
1answer
453 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-...
0
votes
1answer
258 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....
0
votes
1answer
310 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
2answers
215 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 ...
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 ...
1
vote
0answers
105 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 ...
0
votes
0answers
29 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(): ^ ...
1
vote
0answers
88 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
2answers
319 views

Warning: include(Cm/Cache/Backend/Redis.php): failed to open stream: No such file or directory

I created a new custom module on my magento 1.9 website. After I installed it I got this error on my system.log file: Warning: include(Cm/Cache/Backend/Redis.php): failed to open stream: No such file ...
0
votes
0answers
133 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 ...
5
votes
1answer
351 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
18 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 ...
0
votes
0answers
19 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
25 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
150 views

Magento 1.9.2.2 Multiple CPU processes continue in maintenance mode

I have VPS 8cpu, 16gb ram. php-fpm+Redis+po full page cache Sometimes multiple php processes appearing and not finishing. Eating cpu each one of them. Almost %100 cpu usage. Memory is below %10 I ...
3
votes
2answers
424 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
70 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
112 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
1answer
156 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 ...
2
votes
0answers
146 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
60 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
96 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 ...
4
votes
3answers
3k views

Configuration Redis on Magento2 errors

I already installed and tested Redis working properly on my server. But when I added Redis required settings cache in my app/etc/env.php then my Magento 2 displays blank page. I also tried to clean ...
1
vote
1answer
642 views

RedisException: Read error on connection with Magento 2

I'm getting this constant exception when running the static content deploy command and here is my redis section from the env.php file 'session' => array ( 'save' => 'redis', 'redis' =...
5
votes
7answers
3k 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-...