Questions tagged [memcached]

The tag has no usage guidance.

34
votes
2answers
27k views

Magento Cache - confusion about Varnish, Redis, APC, Memcache

I'm try to improve Magento performances ( soon or later "MageDev" hit this point :) I did some research and I found a lot of good, but not homogeneous, guides. What I got is that: MemCache or ...
12
votes
1answer
769 views

Magento varien session start very slow on category pages with MEMCACHE session storage

I am using memcache for session storage and on category pages I have noticed in new relic transactions where varien session start can take over 30 seconds. It can possibly be something to do with ...
8
votes
1answer
1k views

Very long time for Mage_Core_Model_Session_Abstract_Varien::start

We are using Magento EE 1.14.1.0 and are seeing very long times for Mage_Core_Model_Session_Abstract_Varien::start method. We tried using Memcached and Redis for session storage both with the same ...
7
votes
1answer
5k views

Various Magento Cache flushing methods

There are a number of ways to flush Magento cache, with slight differences. I have always been a bit confused about these and often end up overdoing it when deleting the cache. This my understanding ...
5
votes
2answers
4k views

Magento writing to tmp/magento directory

The site started throwing exceptions on both the front & backend. After disabling redis, memcached & the full page cache and reverting to using files for sessions, the site seems to function ...
5
votes
0answers
2k views

memcache session error [closed]

I used memcached for sessions, but I got error for session_module_name error is : Warning: session_module_name(): Cannot find named PHP session module (memcache) in /app/code/core/Mage/Core/Model/...
4
votes
1answer
665 views

Magento2 php7.0-memcached Ubuntu 16.04

Need help configuring Magento2 to use memcached for session storage on Ubuntu 16.04 running PHP7.0.4 FPM with php7.0-memcached build from php-memcached-dev github. I wonder what went wrong this time. :...
4
votes
1answer
204 views

only clear part of full page cache

i'm using memcache and redis. is it possible to clear only a certain page or group of pages using these? Howso? For example i'd like to be able to only clear the homepage instead of the entire FPC. ...
3
votes
1answer
868 views

Memcache session parameters

Can anyone explain me the memcache session parameters used to save Magento sessions in Memcache? tcp://XX.XX.XX.XX:11211?persistent=1&weight=2&timeout=10&retry_interval=10 Also are there ...
3
votes
2answers
542 views

Magento Cache Backend Performance memcached local read, local write, global invalidate

in a setup with multiple magento frontends i discovered that using a shared memcached as a cache backend over the network slows down the frontends (probably because of network latency) in comparison ...
2
votes
3answers
2k views

Session_regenerate_id in Magento 2 with PHP 7

I've got an install of Magento 2.0 running on Centos 6.7 with PHP 7. I'm using Redis for cache and Memcached for session data. Everything so far on the frontend works great, but I'm getting the ...
2
votes
1answer
5k views

Memcached correct configuration in local.xml

I have strange issue with memcached configuration with my Magento setup here is my local.xml <?xml version="1.0"?> <config> <global> <cache> <!-- <...
2
votes
0answers
153 views

Magento EE: session_start(): Unable to clear session lock record

Magento Enterprise Edition 1.14.0.1 PHP 7.2.15 PECL memcached extension 3.1.3 We encountered this problem upgrading Magento EE from PHP 5.6 to PHP 7.2. We do not see the problem using the memcached ...
2
votes
0answers
226 views

Magento 2: memcached error “SessionHandler::read(): Unable to clear session lock record in”

I enable Memcahed cache and change app/etc/env.php to array ( 'save' => 'memcached', 'save_path' => '127.0.0.1:11211') And now i get this error SessionHandler::read(): Unable to ...
2
votes
1answer
614 views

When does Magento decide to give a guest a new visitor_id? Cart gets empty sometimes

When does Magento decide to give a guest a new visitor_id? I noticed many entries in log_visitor table, and session_id often is replicated many times, and that makes cart get empty sometimes for some ...
1
vote
2answers
301 views

Is there another step needed to enable memcache in magento?

memcache is installed on my vps environment i have addd the necessary coding in file app/etc/local.xml Should i not enable his function somewhere in Magento admin panel too? Edit: as requested: &...
1
vote
1answer
2k views

Can I enable both opcache and memcache?

Can I enable both opcache and memcache? Will it help? I have one dedicated server hosting magento 32gb ran 12 cores
1
vote
1answer
328 views

Memcache clear based on the key

We are using the memcached server for caching the data, when ever we do any changes on configuration files we need to restart memcached server , which leads to the over load on the server. Is it ...
1
vote
2answers
3k views

memcache and sessions, don't work

I used memcache for sessions but can not login to both of frontend and backend in mg1810 before this, I did use redis for sessions and now want to use memcache instead of redis Also did FLUSHALL in ...
1
vote
1answer
450 views

Magento CE cache mounted to ram? [closed]

Ive done alot of reading that mounting var/sessions and var/cache to ram will give a performance boost. However would this still be beneficial if I am using SSD?
1
vote
1answer
2k views

Magento 2.2.2 Unable to clear session lock record in /var/www/magento/vendor/magento/framework/Session/SaveHandler/Native.php on line 22

Environment: Magento 2.2.2 Memcached:1.4.35 Overnight I find myself unable to access the admin area of my Magento installation. No changes were made to the environment. No changes to env.php. ...
1
vote
1answer
533 views

Multiple Memcache configuration

<cache> <backend><![CDATA[memcached]]></backend> <memcached><!-- memcached cache backend related config --> <servers&...
1
vote
1answer
3k views

Magento var/cache directory is empty

A few day ago I try to install and configure Redis and Varnish (by Turpentine) for my Magento site v.1.8 . After this, I decide to rollback and I get my old (working) local.xml (which has the ...
1
vote
1answer
27 views

Magento2 : Admin is not working, Showing error doesn't redirect properly

I tried to setup memcached to my Magento 2 website. After setup setting in env.php magento admin not working(not able to see admin login page) or some time infinite loading I remove setting for ...
1
vote
0answers
109 views

Two level cache and lifetime issue (for specialist!!!)

I've an issue with the two level cache, here the situation: - fast cache : memcache - slow : database but with store_data false (i only keep tags) When i try to save in cache custom data with ...
1
vote
0answers
148 views

Sometimes no index on category pages

I use magento 1.9.3.7 with memcached, apc, Lesti FPC and CreareSEO and other but I think only this plugin can do it. Site work without any changes and editing but sometimes yandex robot find NOINDEX ...
1
vote
1answer
1k views

magento session and memcache issue

I used memcached for sessions, but when I click on the website, got error for session_start error is : PHP Fatal error: session_start(): Failed to initialize storage module: memcache (path: /var/...
0
votes
1answer
1k views

Check Magento Store Performance with APC or Memcache

On my Server both APC and Memcached is installed. I have enabled both caching system one by one from local.xml each time. In both cases I have checked site speed from Google Page Speed and Gtmetrix ...
0
votes
1answer
183 views

flush memcached via backend or script [duplicate]

We are using Memcached to cache. Here is part of our local.xml: <cache> <backend><![CDATA[memcached]]></backend> <memcached> <servers> ...
0
votes
1answer
528 views

Should we keep Magento compiler enabled or disabled? [duplicate]

I am currently using Magento EE 1.14.2.1 and memcache is also enabled on the server. So the question is whether it's worth keeping Magento compiler enabled? I have read online that the compiler can ...
0
votes
3answers
2k views

Magento, Full Page Cache , Memcache and Redis

I recently installed Full Page Cache by Mirasvit, but I had a couple of issues: Pages became really static, home page and electronic chart were always the same, same username for everybody, same ...
0
votes
1answer
466 views

Memcached - Why data is not stored?

I'm actually trying to understand why memcached is not storing data for a given Id. I'm using Magento EE 1.11.2.0 that is based on Zend Framework 1.11.1. The interface used to deal with Memcached is ...
0
votes
1answer
392 views

Lesti FPC is caching the minicart on header

I managed to get Lesti FPC working with memcached, but I quickly ran into a problem. When I add an item to my cart from any page and go back to the homepage, it shows that my cart is empty. I ...
0
votes
1answer
66 views

My Server memory and Inputs/outputs overloaded suddenly

My Server memory and Inputs/outputs overloaded suddenly my website link is https://buddsbuddy.com to resolve this I have to log in to the server and kill PHP processes. tell me some solution for ...
0
votes
1answer
661 views

Class 'Memcached' not found when trying to configure sessions in Memcached

I'm getting the below error when I run the following PHP: $mem = new Memcached(); $mem->addServer("127.0.0.1", 11211); $result = $mem->get("blah"); if ($result) { echo $result; } else { ...
0
votes
1answer
333 views

Memcached causing Web Setup Wizard Error

I have a Magento 2 store that I just configured memcached on. Everything seemed to be working well and using the guide on the magento site I was able to verify it was working via telnet. However, ...
0
votes
2answers
43 views

Magento 2 urls opening as images

I am having this weird issue. Whenever i try to open a product or add them into cart. The link gets opened but as an image. That is if product link is abc.com/product/123.html This page only has a ...
0
votes
1answer
240 views

Invalid Form Key, Please Refresh Page at Checkout Magento 1.9.1

i havent changed any cookies settings that some people have mentioned to try. I did install memcache, im not sure if that is related. local.xml <config> <global> <install&...
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 ...
0
votes
0answers
314 views

Magento 1.9 - memcached not working while using in shared environment

I am configuring multiple Magento 1.9 instances on an amazon server. I want to store my sessions on memcached. for that I am using below configuration in my local.xml as suggested in magento. <...
0
votes
1answer
120 views

Can't write in Memcache using Magento Core Cache

I have a class that loads the Mage::app()->getCache(), and call the cache methods. Well this is working very well for Files. I can load and read. But when I switch to Memcached in local.xml, the ...
0
votes
1answer
140 views

Enable memcached, inside which tag local.xml

first of all I beg your pardon for my lack of knowledge about this argument, everything I have done is from some merged tutorial. I'm trying to enable memcache: <cache> <slow_backend&...
-1
votes
1answer
735 views

Memcached for magento 2.0.4

I am trying to configure memcached to store sessions in magento.i just installed latest stable version of memcached and changed handler and path in php.ini file and env.php but I am getting error ...