Questions tagged [redis]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
23 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
28 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
26 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
79 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
64 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 /...
0
votes
2answers
50 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 ...
0
votes
0answers
65 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 ...
1
vote
0answers
35 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
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
47 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
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 ...
2
votes
1answer
183 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
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
13 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' => '...
3
votes
1answer
174 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
102 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 ...
0
votes
1answer
120 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
157 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
53 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
68 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
91 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
83 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 ...
0
votes
0answers
64 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
37 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
141 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,...
1
vote
0answers
120 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
457 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
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
182 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
36 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 . ...
2
votes
0answers
342 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
53 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
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-...
2
votes
3answers
318 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
405 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/...
2
votes
1answer
91 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
34 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
86 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/...
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 ...
1
vote
1answer
387 views

Redis sessions and Redis cache failure

I have two virtual machines running magento: one just for the frontend and one for the admin. They are connected to two Redis instances: a virtual machine for sessions (db 0 for frontend and db 1 for ...
0
votes
0answers
217 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
90 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....
2
votes
0answers
110 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 ...
1
vote
0answers
495 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 ...
0
votes
2answers
1k views

I installed mageplaza smtp extension on m2 EE 2.2.3 (via composer)

I followed the directions here and installed via composer. https://github.com/mageplaza/magento-2-smtp Install via composer (recommend) Run the following command in Magento 2 root folder: composer ...
3
votes
1answer
60 views

Admin cache only showing refresh in dropdown [closed]

I've disabled and enabled and cleared and flushed cache through php bin/magento cahce:disable php bin/magento cahce:enable php bin/magento cahce:clean php bin/magento cahce:flush Recently i just ...
0
votes
1answer
501 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. ...
3
votes
0answers
106 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 ...