array064 Posted July 21, 2015 Share Posted July 21, 2015 (edited) Dear all, --- Technical information ---Prestashop version: 1.6.1.0Server: Ubuntu Linux x86_64 14:04Webserver: ApachePHP version: 5.5.9-1ubuntu4.11Memory limit: 1024MMax execution time: 0MySQL version: 5.5.43-0ubuntu0.14.04.1MySQL engines: MyISAMMemcached version: (see screenshot) --- / Technical information --- I have upgraded my site that have been using Prestashop, from version 1.6.0.14 to version 1.6.1.0. At version 1.6.1.0 I try to use Memcached, but the result is odd, as follows: 1. Based on the analysis by using Newrelic, "Web Transactions response time" will increase (poor condition, relatively slow loading website) if Memcached enabled (see "Web Transactions response time" screenshot and "memcached Settings" screenshot). But if Memcached is disabled, then "Web Transactions response time "decreased (good condition, relatively fast loading website). 2. When I open two or more "product category pages" (eg categories A, B, and C) and using "Block Layered Navigation" module, then shown on website is the same products, but different product category. Seems to be the problem with its cache. Can anyone help me to solve this problem?For a while, I disable Memcached. I hope anyone can help me. Thank you. Edited July 21, 2015 by array064 (see edit history) 1 Link to comment Share on other sites More sharing options...
Dh42 Posted July 21, 2015 Share Posted July 21, 2015 Try rebuilding the server, disabling memcache, use Opcache and APCu instead. Link to comment Share on other sites More sharing options...
array064 Posted July 21, 2015 Author Share Posted July 21, 2015 (edited) Thank you for your response. But sorry, does this mean Prestashop 1.6.1.0 can not yet utilize Memcached properly? Based on this article, supposedly Memcached can improve Prestashop 1.6.1.0's performance. Edited July 21, 2015 by array064 (see edit history) Link to comment Share on other sites More sharing options...
Dh42 Posted July 21, 2015 Share Posted July 21, 2015 That article is 5 years old. There are better faster caching methods, memcache was never really designed to be used with one single server it was designed to be used across an array of servers. Link to comment Share on other sites More sharing options...
array064 Posted July 21, 2015 Author Share Posted July 21, 2015 Sorry I was wrong provides links to the article (perhaps I was sleepy hehe). Article link I mean is this:http://build.prestashop.com/news/prestashop-1-6-1-0-performances/ Link to comment Share on other sites More sharing options...
array064 Posted July 23, 2015 Author Share Posted July 23, 2015 So is there any another suggestion? Link to comment Share on other sites More sharing options...
Dh42 Posted July 23, 2015 Share Posted July 23, 2015 I would suggest not using memcache until you actually need to use memcache. Use Opcache and APCu. Link to comment Share on other sites More sharing options...
array064 Posted July 26, 2015 Author Share Posted July 26, 2015 Thank you. Now i'm trying to install and enable opcache and APCu. Let's see what happen. Link to comment Share on other sites More sharing options...
array064 Posted July 26, 2015 Author Share Posted July 26, 2015 (edited) Based on my temporary observations, here are the results after using Opcache and APCu:- Opcache [enabled] + APCu [disabled] -> stable- Opcache [enabled] + APCu [enabled] -> unstable (sometimes websites can be opened quickly, sometimes websites can not be opened, or sometimes appear messy). Opcache and APCu configuration that I use, is as follows: Additional information: CPU Server:12 cores (Intel Xeon) RAM: 8 GBOS: Ubuntu 14.04 (64-bit) Do you have any suggestions for APCu and Opcache configuration? For a while I just use opcache Edited July 26, 2015 by array064 (see edit history) Link to comment Share on other sites More sharing options...
array064 Posted July 29, 2015 Author Share Posted July 29, 2015 Well, I'm still figuring out beyond this forum regarding the appropriate configuration of APCu and Opcache (best practice). Link to comment Share on other sites More sharing options...
Casper_O Posted August 5, 2015 Share Posted August 5, 2015 From what i can understand, we are both facing the same issue with Blocklayered navigation when cache is active. As i understand, 1.6.1.0 should have huge improvements on the cache, but it seems like it is more broken than 1.6.0.9 where it works fine. https://www.prestashop.com/forums/topic/459678-blocklayered-navigation-not-working-with-cache-active/ I recently installed a new prestashop 1.6.1.0 and eveything was fine until i activated APC cache i found out that when i visited one category and wanted to use the layered navigation it will always return the same products, even if the category was supposed to be empty. At first i Thought this could be a issue with my template, so i made a clean install and tested, with the same result. Test case: 1. Clean prestashop install 2. activate SEO friendly URL and APC cache (or filesystem cache). 3. Visit "women" category. 7 articles are listed 4. Select "Tank tops" in block layered navigation, it says there is only 2 products but it continues to show all 7. 5. Go to "T-shirts" in top navigation, and you will still see the 7 products. I have checked how blocklayered.php work and from what i can see it seems like it is have a cache of the productlist.tpl that i can not explain. The category view works fine, if blocklayered is uninstalled, both with/without cache that i find pretty odd. Link to comment Share on other sites More sharing options...
apdesigns Posted August 5, 2015 Share Posted August 5, 2015 (edited) I'm experiencing the same problem. After upgrading to 1.6.1.0 and enabling Memcached caching, my response times and CPU usage increase significantly. It's the exact opposite of what's written in the article mentioned above (http://build.prestashop.com/news/prestashop-1-6-1-0-performances/). Edited August 5, 2015 by apdesigns (see edit history) Link to comment Share on other sites More sharing options...
carras Posted August 20, 2015 Share Posted August 20, 2015 Hi, 2. When I open two or more "product category pages" (eg categories A, B, and C) and using "Block Layered Navigation" module, then shown on website is the same products, but different product category. Seems to be the problem with its cache. I have the same (No.2) issue that you have.But I use OpCache and have unable APCu, Memcache and Memcached. I've tried all of them three plus FileSystem and I get the same issue. My guest? Something is wrong with "layered navigation module". So try FileSystem and those which you already have unable because using APCu, I think, is not going to help. I'm trying to add an issue in here: http://forge.prestashop.com/browse/PSCFV-3176?jql=text%20~%20%22layered%22 Maybe you got it solve, if you did please let me know how. Thanks. Link to comment Share on other sites More sharing options...
carras Posted August 20, 2015 Share Posted August 20, 2015 (edited) No Error message are founds with "MODE_DEV true". When I disable "Layered navigation block" my categories works fine with all caching system. I opened this issue: http://forge.prestashop.com/browse/NM-617 Same issue was reported on august 03: http://forge.prestashop.com/browse/NM-574 Please VOTE! and support. *Github: https://github.com/PrestaShop/blocklayered **Updating to 1.6.1.1 doesn't solve the issue. Edited August 21, 2015 by carras (see edit history) Link to comment Share on other sites More sharing options...
carras Posted August 22, 2015 Share Posted August 22, 2015 Solution may be here: https://github.com/PrestaShop/blocklayered/pull/88 And posted: http://forge.prestashop.com/browse/PNM-3587 AND http://forge.prestashop.com/browse/NM-574 1 Link to comment Share on other sites More sharing options...
Giuseppe C. Posted October 18, 2016 Share Posted October 18, 2016 Thanks Link to comment Share on other sites More sharing options...
kuskov Posted February 20, 2017 Share Posted February 20, 2017 I have problems in Admin with APCu, is there possibility to disable it for admin pages? Link to comment Share on other sites More sharing options...
dandumit Posted December 29, 2018 Share Posted December 29, 2018 Hello All, sorry to jump so late on this old thread. What cache are you recommending to use on a ps 1.6 ? I have tried to enable APCu and Opcache. I have even installed dh42' Opcache manager, sees Opcache activated but Cache hit ratio it's 0%. In that article says about memcached but I didn't find any reference about setting this a server for this . Thank you Daniel I use ps 1.6.1.15 Link to comment Share on other sites More sharing options...
El Patron Posted December 29, 2018 Share Posted December 29, 2018 memchace(d) is for php 7 memeache works with php 5.6 you can skip using memcache if you have access to your mysql config, there you can modify from your phpmyadmin (on localhost not db) via stats button, i.e. enable query_cache, set buffers etc. hope this helps.....el 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now