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
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 ...
1
vote
0answers
595 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
2k 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
64 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
2answers
704 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
166 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 ...
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 ...
1
vote
0answers
166 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(...
2
votes
0answers
175 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 ...
4
votes
3answers
730 views

After applying SUPEE-10415 Magento 1.9.3.3 404s but works fine if redis is removed from the local.xml

As the subject says, after applying the SUPEE-10415 patch, all seems fine until "redis-cli flushall" then we get the annoying "404 error: Page not found." on everything. After a process of elimination,...
0
votes
2answers
90 views

Magento 2 caching problem

I am not able to flush the cache properly. I am using Magento 2.1.4, Redis and Varnish. I have tried flushing the cache in the Magento admin: Admin > System > Cache Management > Flush Cache ...
2
votes
0answers
203 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, ...
4
votes
2answers
591 views

Why separate Redis instances for sessions and cache?

Official Magento guidance is to use separate Redis instances for cache and session storage. What is the reasoning behind this? I've seen some old references mentioning that it is for ease of cache ...
1
vote
0answers
158 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' ...
0
votes
1answer
746 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 ...
0
votes
1answer
41 views

magento store url occurs twice on store 2 of 3

I am about to got nuts trying to figure this one out. I have 3 stores, camping, fishing and hunting all using the base URL with redirect to the store URL. i.e URL nilandtrading.com/fishing, but if I ...
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 ...
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
55 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 ...
0
votes
2answers
53 views

Turning cache off on a production environment.

What are the main cons of disabling all of magento's FPC? If i temporarily turn them off will anything severe result? Same question for redis? Currently I'm having an issue with my caching but I'...
4
votes
4answers
1k views

Magento 2: Installing with Redis by Default

Magento 2's CLI has a setup:install command that will let you generate an initial configuration php bin/magento setup:install --admin-email astorm@example.com --admin-firstname Alan --admin-lastname ...
1
vote
1answer
1k views

PHP Fatal error: Uncaught exception CredisException?

We are getting these errors from time to time, and we have no idea what causing them. We are using: Magento 1.9.3.3 PHP 5.6.30 Redis 3.2.9 Error in logs PHP Fatal error: Uncaught exception '...
4
votes
1answer
825 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
289 views

500 PHP error on Mage:getSingleton('admin/session') after separating admin and frontend servers

Working with Magento CE v1.9.2.3 with Redis Doing development for a website that makes use of a separate frontend and admin server in their production environment. I'm attempting to deploy TaxJar and ...
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' =...
2
votes
0answers
200 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 ...
1
vote
1answer
541 views

Ratchet Websocket with Magento

I have setup a Ratchet Server to communicate browser <-> server via a websocket. The communication is working, however it seems the Ratchet service is using one Magento/MySQL connection because ...
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 ...
2
votes
0answers
314 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
1answer
175 views

Full page Cache cannot catch all pages [closed]

I have Magento 1.9.2.2 I was using mirasvit full page cache, now I am using potato full page cache. My server VDS, 8CPU, 16GB RAM Now I am using seperated redis servers for 1-sessions and 2-cache+...
2
votes
1answer
690 views

Can't clear home page cache

I've recently switched from memcache to redis to handle the cache and session storage. All has gone well except I can't flush the cache for the home page. Template updates won't show and sessions ...
1
vote
0answers
86 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
2answers
2k views

Redis cache memory policy strategies

I am looking at various tuning on magento 1.9.3 installation with Redis hosting FPC. I am interested in mileage with the various policies available as listed below and also the associated monitoring ...
0
votes
1answer
104 views

Redis FPC persistence across multiple sessions

Running into an issue with Magento REDIS FPC. It seems that pages are only cached for a session and those cached pages are not usable between sessions. I would like cached pages to be shared between ...
0
votes
1answer
87 views

Magento some product suddenly disappear

We have Magento EE 1.14.0.1. recently we moved to new AWS EC2 server and ElasticCache Redis server. then some random products start disappearing in the frontend. They exist on backend and configured ...
0
votes
1answer
2k views

Nginx 502 Error only with full page cache enabled or trying to go to the admin

Even after disabling my custom module I'm getting this error. When I stopped working on it the day before this wasn't the case. It was working fine and I've been using this same server to develop ...
1
vote
0answers
378 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 ...
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 ...
4
votes
1answer
920 views

Redis version requirement for Magento 2?

I see on M2 requirements page that it says: Magento can utilize the following technologies: Redis version 3.0 for page caching and session storage (the latter supported by Magento version 2.0.6 and ...
1
vote
1answer
120 views

Does Varnish cache not compatible with Redis?

I choosed a VPS account to host my Magento 2 site and i asked support to help me install Varnish,Memcached,XCache and Redis and i got this answer: " Please note that not all of the services can be ...
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 ...
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 &...
0
votes
1answer
443 views

Magento 1.9.2.4 + Redis

I am currently running Magento 1.9.2.4 + Redis. And I want to dubbel check my current settings. Therefore I changed my local.xml with <full_page_cache><backend>Cm_Cache_Backend_Redis</...
1
vote
1answer
306 views

Application response time increase after flushing Redis object cache

So, today we attempted to migrate object cache from "local file storage" to Redis for our store on Magento EE 1.14.2.4. After placing the connection details in local.xml and manually clearing var/...
0
votes
1answer
716 views

FPC issue wrong currency

My store is multi domain and every domain has a different default currency: - .com -> USD - .eu -> EUR The store has EE FPC enabled on Redis backend. The issue: Sometime product pages of the ...
0
votes
1answer
618 views

“Redis 'server' not specified.” in Cm_Cache_Backend_Redis code

I have followed all the tutorials on github, did everything exactly as explained: 1. installed Redis 2. modmanned Cm_Cache_Backend_Redis 3. Tried with and without template.php in app\code\local\Mage\...
4
votes
2answers
2k views

How to flush/rebuild config cache on High-Performance sites?

If we flush the config cache, the cache is build up by the customer in the frontend. The problem is that a lot of customer build the same cache and it took a lot of server resources. Is there a smart ...
1
vote
0answers
296 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 ...
0
votes
1answer
509 views

Magento is slower with redis on docker

I just switched from cache in files to redis, and according to benchmark, my store is about 10 % slower. This is my config: <cache> <backend>Mage_Cache_Backend_Redis</backend> ...
1
vote
0answers
73 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); ...