Skip to main content
Share Your Experience: Take the 2024 Developer Survey
6 votes

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

I've seen this quite a lot on New Relic as well. From what I've seen there are a few different causes, I don't have a complete understanding of this issue but it is something I've been looking into ...
Luke Rodgers's user avatar
  • 4,452
5 votes
Accepted

Magento2 php7.0-memcached Ubuntu 16.04

The problem is not memcached, but a small typo in your code: 'session' => array ( 'save' => 'memcached ⇨’⇦, 'save_path' => 'localhost:11211', ), You used a single quote ' at ...
Andreas Koch's user avatar
1 vote

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

It looks like you had enabled the Mamcached in the past and now the server refuses to generate the new cache. Just rename the cache folder and set the appropriate permission to that folder. After that,...
zuber bandi's user avatar
  • 1,062
1 vote

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

Check https://github.com/magento/magento2/issues/5319. This may resolve your issue.
Taran's user avatar
  • 566
1 vote

flush memcached via backend or script

exec or shell_exec should be able to help you in this. So you could set up a php script like this: <?php shell_exec(nc -U /var/tmp/path_to_cache.sock); As long as this can not be put into a ...
Christoph Farnleitner's user avatar
1 vote

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

Check if you have the memcached extension installed and enabled for the php version that you're using. Also if it is correctly configured in the php.ini file (it could be looking in the wrong ...
Adam Paterson's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible