hadlowj Posted April 22, 2013 Share Posted April 22, 2013 Hi, I am having some problems with memcache. I have Managed VPS hosting with A2 and they have installed Memcache on my VPS but for some reason prestashop can not connect to it? I still have the warning: To use Memcached, you must install the Memcache PECL extension on your server. http://www.php.net/manual/en/memcache.installation.php They connected to my back admin and setup one of the servers for it but when I click enable I just get a 404 error When I delete this server and just try to enable it I get this error: To use Memcached, you must install the Memcache PECL extension on your server. http://www.php.net/manual/en/memcache.installation.php This was the config: root@server [~]# php -i|grep memcache memcache memcache support => enabled memcache.allow_failover => 1 => 1 memcache.chunk_size => 8192 => 8192 memcache.default_port => 11211 => 11211 memcache.default_timeout_ms => 1000 => 1000 memcache.hash_function => crc32 => crc32 memcache.hash_strategy => standard => standard memcache.max_failover_attempts => 20 => 20 Registered save handlers => files user sqlite memcache and this was there latest reply to me: " Hello, memcached has been installed and I have configured it to run as your user ps aux |grep memcached rbadmin 24011 0.0 0.0 326896 1204 ? Ssl 23:20 0:00 /usr/local/bin/memcached -d -m 16 -p 11211 -c 2048 -t 4 -u rbadmin You may need to contact prestashop support to find out why the software is unable to connect. Thank you!" any ideas? Thanks James Link to comment Share on other sites More sharing options...
chipslay Posted April 23, 2013 Share Posted April 23, 2013 That sounds like Pacific Host LOL. I went through a spill with these guys with memcache. I FINALLY got it working. It says it's running but it really is not ready to run on Prestashop. I would have to look at it some more but heed the words below. IT WAS NOT ANY FASTER ON VPS!!!!!!! IT was slower. Listen to words of the wise and if you have pacific host it will not get any faster because its already as fast as it possibly can be. You are wasting memory too if you have not bought a huge chunk. I use the cloud cache and its FAST. For some reason on a VPN caching locally is faster than memcache. here is my site i can help sew dot you know the rest. I will even turn on memcache for you and let you have a peek if you wish maybe you can help me with my prices not showing up in my updated. Also, if you are getting memory and processor problems with /user/bin/php its blocklayered that is causing all of the eating of memory and processing. Bump your available ram to 64 or lower and up it when you open your modules *(or they will not open sometimes). I have went through the ropes with VPS and prestashop so holler if you need anything else. I have a 2500 product db running on the smallest plan with cloud cache and it does boogie compared to others but you got to tweak it and watch for memory leaks because prestashop has them. Link to comment Share on other sites More sharing options...
Trip Posted April 23, 2013 Share Posted April 23, 2013 IMO at least memached APC, XCache are not working properly and therefore result in a performance decrease. That is no matter of VPS or hosting or hosting in general. The caching is simply buggy. If anyone can show me a working case with performance improvement I would be happy to see how this is done. Link to comment Share on other sites More sharing options...
hadlowj Posted April 23, 2013 Author Share Posted April 23, 2013 so advise is to forget about Memcache as it does not really offer any benefit? Link to comment Share on other sites More sharing options...
Trip Posted April 24, 2013 Share Posted April 24, 2013 so advise is to forget about Memcache as it does not really offer any benefit? Imo yes, the only working fix I've seenis by Mr Supnig but for the old 1.4.X branch. https://github.com/csupnig/Prestashop-Memcached-Fix and http://www.supnig.com/blog/caching-mysql-results-with-memcached All bug reports and discussions are more or less in open state at the moment. Link to comment Share on other sites More sharing options...
Recommended Posts