Search the Community
Showing results for tags 'Memcached'.
-
Good morning; Memcached library are working correctlly on front office, the time response on catagory are good, but it are caching backoffice sessions and modules and is imposible to work, Some one solved that problem? Anyone know what classes have to by modified to avoid the backoffice caching? ¿Anyone have some url with documentation?
-
Hola, Tengo activa la opción de Memcached en PHP, pero no me reconoce el servidor al añadirlo desde el panel de Prestashop (versión 8.1). Desde el soporte del alojamiento que está gestionado con cPanel, me dicen que al ser un compartido se tiene que configurar con usuario y contraseña, pero en Prestashop solo tengo opción a poner IP, puerto y peso. ¿Habéis podido configurarlo en un compartido alguna vez? Muchas gracias!
-
Hi, I created a second prestashop 1.7 site by cloning the first one. “secret/cookie_key/cookie_iv/new_cookie_key” were not changed inside of (../app/config/parameters.php). I put both prestashops on the same server with memcached/apcu installed. but I can’t use no memcached neither apcu with both of them since each of them generates the same cache keys. DO you know what configuration changes should I do to make the cache keys different? My understanding that prestashop generates the cache keys with prefix and this prefix should be unique per each site. But I do not know what settings should be changed and how. Any help is appreciated. Thank You
-
Hi, I'm a merchant with very little knowledge on php commands. I have memcahed installed on my server and it works good, problem is the allocated memory of 16mb gets consumed very fast above 100% usage. I contacted hosting and the only provided blogs of how to create command line and cronjob to flush Memcached. Unfortunately not knowing anything about commands, I guessed I might be getting a solution from somebody here. Can anyone teach me how to go about commands? or better still, can somebody provide me with the cron url if thats what is only needed. In my advanced parameters the memcache is set up like this: Id IP address Port weight 2 /opt/memcached/run/lords/memcached-1.sock 0 1 Server Information: Hosting Package: default cPanel Version: 78.0 (build 41) Apache Version: 2.4.41 PHP Version: 7.2.23 MySQL Version: 10.2.28-MariaDB Architecture: x86_64 Operating System: linux Path to Sendmail: /usr/sbin/sendmail Path to Perl: /usr/bin/perl Perl Version: 5.16.3 Kernel Version: 2.6.32-042stab128.2 Prestashop server information: Linux #1 SMP Thu Mar 22 10:58:36 MSK 2018 x86_64 Server Software Version: Apache PHP Version: 7.2.24 Limit memory: 4G Maximum execution time: 300 Size Max. Files to upload: 256M I will be mighty grateful to anyone that can help.
-
So I've enabled CacheApc and the product stock wasn't changing when I changed the stock in any way. Also tried with CacheMemcached, and it gives the same result. Has anyone solved this issue? I'm tempted to hook a cache clear whenever stock is changed.
-
Hi guys, we use Prestashop 1.6.1.10 and we have a strange problem hapenning. When i activate APCu or Memcache(-d) Cache, we have very fast frontend, but we can't work in the backend. For example, i go into one product and change the Meta Title. After i click save in the input field stands the old Meta Title, but in the database is the new Meta Title. When i after that disable APCu i refresh the form and see the right Meta Title. Is there a way to somehow disable cache for backend? Or move backend to separate instance? What are the best practices there? Every time to turn off APCu when i change something in shop is impossible ... Will be very thankful for you help!
-
error log reporting a lot error about memcached system : server Linux #1 SMP Sat Nov 30 02:18:52 EST 2019 x86_64 software server: LiteSpeed Version PHP: 7.0.33 Limit of memory: 512M execution time max: 300 sec this warning occur alot in daily error logs... Any idea for fix this ? thanks and bye
-
Dear all, --- Technical information --- Prestashop version: 1.6.1.0 Server: Ubuntu Linux x86_64 14:04 Webserver: Apache PHP version: 5.5.9-1ubuntu4.11 Memory limit: 1024M Max execution time: 0 MySQL version: 5.5.43-0ubuntu0.14.04.1 MySQL engines: MyISAM Memcached 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.
-
Bonjour, Je suis sous plesk 17.8.11 / Ubuntu 14.04.5 LTS et j'aimerai installer memcached. J'ai commencé à chercher mais je comprends pas trop ou lancer ces lignes d'installation. https://support.plesk.com/hc/en-us/articles/115000065409-How-to-install-uninstall-memcached-or-memcache-extension-for-PHP-on-Plesk-server- Si quelqu'un peut m'expliquer la marche à suivre, Merci
-
hi, im having a issue enabling memcached in 1.7.4.0.. I can turn caching on, but can not change the options to my correct settings ( the check boxes are locked) also I enter my server information, but when I click test server and/or save, it does nothing. no failed messages, no confirmation.. its like the feature is disabled or bugged. does anyone else have this issue and know of how to fix / enable memcached, I have the service installed and running, also its added in my php.ini
-
Hi, Anybody got memcached working with PrestaShop 1.7.4.2? First of all pressing the Test button will always result in a red box, looks like it's not validated although it is and it's working. After saving and trying to load the frontpage i get the following error: FatalErrorException Error: Maximum execution time of 60 seconds exceeded in CacheMemcached.php line 94 If i debug i see that the set works a lot of times but at one moment it fails(maybe when the set is too big?). Anybody knows how to solve this? Thanks, Kevin
-
Bonjour, J'ai installé memcached sur mon serveur et prestashop detect bien le module mais quand j'essaie d'jouter un serveur les champs s'affichent en rouge pourtant memcached fonctionne correctement je me demande si prestashop interroge le serveur memcache et non pas memcached. [root@serv memcached]# sudo netstat -plunt tcp 0 0 0.0.0.0:11211 0.0.0.0:* LISTEN 23280/memcached sudo systemctl status memcached ● memcached.service - Memcached Loaded: loaded (/etc/systemd/system/memcached.service; enabled; vendor preset: disabled) Active: active (running) since Mon 2018-08-13 00:36:03 WEST; 29min ago Process: 23276 ExecStartPre=/usr/bin/chown -R memcached:memcached /var/run/memcached/ (code=exited, status=0/SUCCESS) Process: 23274 ExecStartPre=/usr/bin/mkdir /var/run/memcached (code=exited, status=1/FAILURE) Main PID: 23280 (memcached) Tasks: 6 Memory: 664.0K CGroup: /system.slice/memcached.service └─23280 /usr/bin/memcached -u memcached -p 11211 -m 64 -c 1024 xx.xx.xxx.xx Aug 13 00:36:03 host.xx.xx systemd[1]: Starting Memcached... Aug 13 00:36:03 host.xxx.xx systemd[1]: Started Memcached. sur la partie admin j'ai constaté que le code html est nommé memcache sans le "d" <div id="server-form" class="col-md-10 collapse show" style=""> <div class="form-group"> <label class="form-control-label">Adresse IP</label> <input type="text" id="form_add_memcache_server_memcache_ip" name="form[add_memcache_server][memcache_ip]" class="form-control is-invalid"> </div> <div class="form-group"> <label class="form-control-label">Port</label> <input type="text" id="form_add_memcache_server_memcache_port" name="form[add_memcache_server][memcache_port]" class="form-control is-invalid"> </div> <div class="form-group"> <label class="form-control-label">Poids</label> <input type="text" id="form_add_memcache_server_memcache_weight" name="form[add_memcache_server][memcache_weight]" class="form-control is-invalid"> </div> <div class="form-group"> <div class="float-right"> <button id="add-server-btn" class="btn btn-primary">Ajouter un serveur</button> <button id="test-server-btn" class="btn btn-primary">Tester le serveur</button> </div> </div> </div> function PerformancePage(addServerUrl, removeServerUrl, testServerUrl) { this.addServerUrl = addServerUrl; this.removeServerUrl = removeServerUrl; this.testServerUrl = testServerUrl; this.getAddServerUrl = function() { return this.addServerUrl; }; this.getRemoveServerlUrl = function() { return this.removeServerUrl; }; this.getTestServerUrl = function() { return this.testServerUrl; }; this.getFormValues = function() { var serverIpInput = document.getElementById('form_add_memcache_server_memcache_ip'); var serverPortInput = document.getElementById('form_add_memcache_server_memcache_port'); var serverWeightInput = document.getElementById('form_add_memcache_server_memcache_weight'); return { 'server_ip': serverIpInput.value, 'server_port': serverPortInput.value, 'server_weight': serverWeightInput.value, }; }; this.createRow = function(params) { var serversTable = document.getElementById('servers-table'); var newRow = document.createElement('tr'); newRow.setAttribute('id', 'row_'+ params.id); newRow.innerHTML = '<td>'+ params.id +'</td>\n' + '<td>'+ params.server_ip +'</td>\n' + '<td>'+ params.server_port +'</td>\n' + '<td>'+ params.server_weight +'</td>\n' + '<td>\n' + ' <a class="btn btn-default" href="#" onclick="app.removeServer('+ params.id +');"><i class="material-icons">remove_circle</i> Remove</a>\n' + '</td>\n'; serversTable.appendChild(newRow); };
-
Hey guys, Just upgraded to the latest version of PS and I can't seem to get the memcached to work. It worked fine before the upgrade. Now if I go to Performance -> Caching -> Select yes and choose memcached, it gives an error: To use Memcached, you must install the Memcached PECL extension on your server. http://www.php.net/manual/en/memcached.installation.php Memcached is installed and running? -> systemctl status memcached ● memcached.service - Memcached Loaded: loaded (/usr/lib/systemd/system/memcached.service; enabled; vendor preset: disabled) Active: active (running) since Mon 2017-11-13 08:28:39 EST; 56s ago Main PID: 6654 (memcached) CGroup: /system.slice/memcached.service └─6654 /usr/bin/memcached -u memcached -p 11211 -m 128 -c 1024 Any ideas?
-
Hi there, I have configured memcached in my server using localhost for settings (127.0.01) and default port, it is enabled and should work with Prestashop. Also, I have insalled the mcrypt library for PHP (and I used it) but when I try to change the settings in the backend it does not save my configuration. Any advice ? Kind regards,
-
Ciao a tutti, Stiamo facendo delle attività per migliorare la velocità del sito di un nostro cliente, come prima cosa ho cercato di attivare le opzioni CCC in prestazione e la cache. La cache non si riesce ad attivare è stata attivata dal provider Memcached ma quando cerco di salvare nel pannello cache la modifica il sistema mi genera questo errore Impossibile modificare i file di configurazione. qualcuno ha dei suggerimenti? Grazie mille Stiamo lavorando con Versione di PrestaShop 1.6.0.9 Informazioni sul server Linux #73-Ubuntu SMP Tue Dec 16 00:22:43 UTC 2014 x86_64 Versione software server Apache/2.4.7 Versione di PHP 5.5.9-1ubuntu4.11 Limite memoria 32M Tempo di esecuzione massimo 30 server Amazon
- 4 replies
-
- cache
- prestazioni
-
(and 2 more)
Tagged with:
-
Hi, I followed: http://yoodey.com/comment/10825 to install memcache / memcached on ubuntu 12.04 hosted by Amazon EC2 (I have full admin right to the server) It is working: http://ec2-54-247-22...com:81/test.php shows: <?php $memcache = new Memcache; $memcache->connect('127.0.0.1', 11211) or die ("Could not connect"); //connect to memcached server $mydata = "Chache me Ruzdi"; //string to be cached $memcache->set('ruzdi', $mydata, false, 100); //add the data to memcached server $cacheData = $memcache->get('ruzdi'); //retrieve your data from memcache server var_dump($cacheData); //dump you data which is retrived from memcached server ?> However, prestashop cron seems not working [i just re-initialised it and activated the test task again] The problem seems to be on Prestashop side as every minute I can see: You have new mail in /var/ubuntu/mail with * * * * * echo 'ok From [email protected] Wed Jul 18 13:42:02 2012 Return-Path: <[email protected]> Received: from ip-10-59-10-232.eu-west-1.compute.internal (localhost [127.0.0.1$ by ip-10-59-10-232.eu-west-1.compute.internal (8.14.4/8.14.4/Debian-2ub$ for <[email protected]>; Wed, 18 Jul 20$ Received: (from ubuntu@localhost) by ip-10-59-10-232.eu-west-1.compute.internal (8.14.4/8.14.4/Submit) id$ for ubuntu; Wed, 18 Jul 2012 13:42:01 GMT Date: Wed, 18 Jul 2012 13:42:01 GMT Message-Id: <201207181342.q6IDg1IU028985@ip-10-59-10-232.eu-west-1.compute.inte$ From: [email protected] (Cron Daemon) To: [email protected] Subject: Cron <ubuntu@ip-10-59-10-232> echo 'ok' Content-Type: text/plain; charset=ANSI_X3.4-1968 X-Cron-Env: <SHELL=/bin/sh> X-Cron-Env: <HOME=/home/ubuntu> X-Cron-Env: <PATH=/usr/bin:/bin> X-Cron-Env: <LOGNAME=ubuntu> ok with * * * * * php -f /var/www/site2/modules/cron/cron_crontab.php From [email protected] Wed Jul 18 13:04:01 2012 Return-Path: <[email protected]> Received: from ip-10-59-10-232.eu-west-1.compute.internal (localhost [127.0.0.1$ by ip-10-59-10-232.eu-west-1.compute.internal (8.14.4/8.14.4/Debian-2ub$ for <[email protected]>; Wed, 18 Jul 20$ Received: (from ubuntu@localhost) by ip-10-59-10-232.eu-west-1.compute.internal (8.14.4/8.14.4/Submit) id$ for ubuntu; Wed, 18 Jul 2012 13:04:01 GMT Date: Wed, 18 Jul 2012 13:04:01 GMT Message-Id: <201207181304.q6ID41O4028284@ip-10-59-10-232.eu-west-1.compute.inte$ From: [email protected] (Cron Daemon) To: [email protected] Subject: Cron <ubuntu@ip-10-59-10-232> php -f /var/www/site2/modules/cron/cron_$ Content-Type: text/plain; charset=ANSI_X3.4-1968 X-Cron-Env: <SHELL=/bin/sh> X-Cron-Env: <HOME=/home/ubuntu> X-Cron-Env: <PATH=/usr/bin:/bin> X-Cron-Env: <LOGNAME=ubuntu> PHP Warning: Memcache::getextendedstats(): No servers added to memcache connec$ PHP Warning: Invalid argument supplied for foreach() in /var/www/site2/classes$ PHP Notice: Undefined index: QUERY_STRING in /var/www/site2/classes/shop/Shop.$ Proof that the cron is working... Proof that it seems to be tight to a memcache problem on the server OR prestashop 1.5 not to be compatible with crontab... Any idea how to solve it? Thanks,
-
Bonjour, Après de longues recherches sur les forums, je n'ai pas trouvé comment accélérer notre boutique en ligne de Noeud Papillon www.ohmynode.com Nous sommes chez Gandi en mode expert afin d'installer Memcached, j'en ai profité pour installer les autres systèmes de cache afin de tester les performances de chacun : APC et Xcache. Au final, mon site met plus de 7s à s'afficher avec Memcached, et 3s en moyenne avec APC ou Xcache. J'ai pourtant déjà activé l'optimisation Apache, le cache Smarty, le serveurs de médias, le CCC. J'ai testé la vitesse du serveur en passant de 1 à 4 coeurs le serveur et en passant de 1024 à 2048mo de Ram. La vitesse n'a pas variée. Dans les logs je n'ai pas d'erreur particulière liée au Cache. Pouvez m'indiquer où chercher pour comprendre pourquoi cela est aussi long malgré le cache et la puissance du serveur ? D'après la console de Chrome, c'est le premier GET qui prend beaucoup de temps comme vous pouvez le voir sur ma copie écran. Merci ! ps: j'ai fait un test sur l'offre Simple Hosting en taille M, la boutique est toujours aussi lente.
- 8 replies
-
- gandi
- optimisation
-
(and 4 more)
Tagged with:
-
Hi, Can someone please describe how can we configure Memcached Cache TTL. Does Prestashop itself uses any procedure to auto-flush the cache after some time or this can be set up either on code or server side. I tried to search this across several blogs but all I could find about is how to enable memcached through Back-office. Thanks,
-
环境 centos6.5/centos7 httpd2.4.6 php5.5 memcache1.4.21 php-pecl-memcache3.0 percona-server-56 已配置好memcached并启动,可通过memcache.php监视状态,后台已开启缓存(memcached),但memcache.php监控页面显示缓存一直是0, 请教此问题如何解决?
-
HI, We want to optimize the performance of our prestashop site and want to use Memcached for the caching. My question was if we get it installed on the server and configure it on BO as instructed, will it work for any third party modules as well or all the DB queries will need to be changed inside 3rd party modules (to update and read the cache) explicitly? Many Thanks in advance.
-
Hi there, I am on a VPS and am trying to set up Memcached. However, when I go to Advanced Parameters > Performance > Caching in the backoffice, and I switch Use Cache to 'Yes' and try to select Memcached, it gives me the following error: The settings file cannot be overwritten. Do you guys know how I can solve this issue? Thanks!
-
If I were to go through the process of setting up mysql 5.6.16 with memcached support will Prestashop 1.5.6.2 take advantage of it? I currently am using Xcache 3.1.0 on my site and PHP sees it and it helps but I'm wondering if implementing MySQL memcached for both opcode and MySQL would improve performance by caching all of the small SQL queries as well as PHP? It seems that MySQL / memcached setup would help for the multiple small queries that are run against it and if it could do double duty as the opcode cacher then I would switch. Just wanting to leverage the best technology to squeeze all the cache optimization changes I can out of my system. Thanks! James Stepp
-
Mi servidor tiene las 2 cosas, pero no se configurarlo porque solo me dan una direccion: ¿Como puedo utilizarlo en prestashop? en memcached solo me dan estos datos: un ix : / / / h om e/ s ys /mem cac hed .s ock y en varnish: Puerto 28418 /home/sys/varnish/varnish.vcl 64 MB ¿puedo utilizar alguno de ellos en prestahop o en wordpress? gracias
-
I can't turn on the cache option on on the configuration panel. When I switch it to "ON" it does like it worked but then I save and it gets reverted to "OFF" I can't add a caching server either. I am actually using memcached and it's up an running on my server. Please clarify what's going on, thanks.