ijaure Posted June 15, 2012 Share Posted June 15, 2012 Hello Im having quite an issue to activate memcache: Activated the extension with my hosting co Added de 127.0.0.1 server Selected memcached as the cache system Select: Use Cache Clicked SAVE When the new page starts loading it crashe: it only shows the top part 'tabs' from the BO but nothing else... when i reload the BO, it shows the cache system as disabled any clues? hints? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 15, 2012 Share Posted June 15, 2012 Hi ijaure, Have you contacted your hosting provider to confirm that they fully support memcached and that your server isn't getting overloaded? -Mike Link to comment Share on other sites More sharing options...
sbm Posted July 17, 2012 Share Posted July 17, 2012 Hello Mike, I have the exact problem ijaure has. I work on a VPS, and memcache has been installed.....what shoudl I try? Best regards, Steven Link to comment Share on other sites More sharing options...
rturner Posted July 17, 2012 Share Posted July 17, 2012 (edited) I can't explain why this happens, but when I first enabled memcached I was seeing some weird behavior (can't remember what it was). I checked memcached at the command prompt and it was indeed running. Then I found some discussion in this forum (which I can't find now) where it was suggested that you remove localhost as the server. Anyway, I did that and everything *appeared* to run fine. But I was thinking, "maybe not listing a server makes memcached ineffective?". So I typed in my external IP address instead of 127.0.0.1. That worked fine. Lately I thought I would try enabling localhost again just to try it and miraculously it worked fine. So now I have localhost as server 1 and my ip address as the second server. Anyway, again, I don't know why that worked, but you guys might want to try it. I should also mention, just because your host says you have it, doesn't mean they set it up correctly or that you have enough RAM to run it, or that your server isn't overloaded. Edited July 17, 2012 by rturner (see edit history) Link to comment Share on other sites More sharing options...
oka Posted July 18, 2012 Share Posted July 18, 2012 Have the exact same issue. Regards. Link to comment Share on other sites More sharing options...
Mister Denial Posted August 11, 2012 Share Posted August 11, 2012 Hello, I have the same issue on my VPS, 1.5 Gb of free RAM, yet memcache not working (it was installed by my VPS company). I tried setting up both localhost and my server IP as servers, and trying just either one of both, and whatever combination I tried, it caused a 500 server error. Are there specific parameters that need to be considered for memcache? Maybe my hosting company needs to parameter memcached differently? Regards, Dan Link to comment Share on other sites More sharing options...
oka Posted August 11, 2012 Share Posted August 11, 2012 Mister Denial can you check your CPU usage ? When i activate it mine gets up to 100% by Apache and then you finally got a 500 error code. Regards Link to comment Share on other sites More sharing options...
Mister Denial Posted August 11, 2012 Share Posted August 11, 2012 Hi oka, I just made a test, and neither CPU nor RAM usage changed at all. My CPU is below 5% usually, and RAM at 20%, so I should have plenty enough of resources. Because neither CPU nor RAM budged, I think my configuration is wrong - probably the server port or something. I used the default one Prestashop suggests, but I think I'll check with tech support from my host. I'll post if changing the port worked. Regards, Dan Link to comment Share on other sites More sharing options...
Mister Denial Posted August 13, 2012 Share Posted August 13, 2012 (edited) Okay, I checked with my Hosting company, and memcache is installed, and set to work with the default ports, yet as soon as I activate memcache, 500 internal server error. I tried adding no server, or just localhost, or my dedicated IP, no change. EDIT: and I do not hit CPU or RAM usage limits, so it can't be a server overload. Edited August 13, 2012 by Mister Denial (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts