Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [memcached]

Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects). It is commonly used as a cache to speed access to frequently used data.

0
votes
1answer
27 views

Roundcube 1.3.8 + Memcached + PHP 7.3

I'm testing out moving my Roundcube 1.3.8 install over to php 7.3. It's load balanced and I have been using memcache for session storage with php 5 without any issues: $config['session_storage'] = '...
0
votes
0answers
26 views

Memcached on AWS ElastiCache swap usage high even after reboot

I have Memcached t2.small node on AWS Elasticache and because the swap was running high about 190 megabytes, so a few days ago I have added a second node. That did not help and the swap usage and ...
0
votes
1answer
31 views

Why can't I lower the item size in memcached (anymore)?

I'm running memcached and recently upgraded to the latest Debian release. I'm not sure what version of memcached I had before, but the new one doesn't like this configuration setting I had in the past:...
0
votes
2answers
102 views

helm install a chart and give parameters to the depencie chart

I am trying to use the chart stable/mcrouter for memcache sharding, everything works, but this chart uses a memcache chat as dependencie. I would like to know if I can pass parameters to memcache ...
0
votes
0answers
72 views

Mysql 5.7.23 with InnoDB memcached plugin (daemon_memcached) crashes under load - runs our of memory

I have a ~100 gb key-value data set that I need fast access to for a webservice running on AWS. Since instances with >100 gb of RAM are quite expensive, we're trying out using MySQL 5.7.23-0ubuntu0....
0
votes
0answers
229 views

Upgraded PHP 7.2 successfully but issue with Cache Refresh / Memacache in Centos

As I have upgraded upgraded PHP 5.4 to PHP 7.2 in centos by using following commands. I have successfully upgrade to php 7.2 Due to some reason cache is not updating. I have custom clear cache ...
0
votes
0answers
274 views

memcached: CLIENT_ERROR bad data chunk revisited

In the following questions: Memcached: can connect but impossible to set value https://stackoverflow.com/questions/43651042/memcached-set-not-stored the user fails to provide the actual value/data ...
0
votes
0answers
41 views

how much RAM do I need for memcached mod_pagespeed cache with 500k+ images?

I'm considering to move mod_pagespeed cache to an external memcached server. My website has around 500k images (125gb+ of data). These images are not static files, the images are dynamically generated ...
0
votes
1answer
2k views

PHP's MemcacheD extension DLL for Windows

On my PHP 5.6 site I have been using the Memcache extension to interface with the memcached daemon. As the extension has a matching DLL, it meant I could deploy it on my Windows dev machine as well ...
0
votes
0answers
145 views

Unable to access Redis Labs Memcached Cloud in App Engine Flex

I'm unable to access Redis Labs Memcached in App Engine. It throws the following error var memjs = require('memjs'); var mc = memjs.Client.create('memcached-14212.c1.us-central1-2.gce.cloud.redislabs....
0
votes
1answer
625 views

How to tune memcached service [duplicate]

I am new to server management and earlier I used shared hosting and thought to go for VPS and get more for my websites. VPS specs: RAM: 12GB CPU: 4 Core Intel E5 SSD: 300GB Server: Apache OS: Ubuntu ...
1
vote
1answer
367 views

Why do free -m and htop show different amounts of total memory?

When I run free -m, I get different data from when I use htop. free -m: total used free shared buff/cache available Mem: 992 396 149 ...
0
votes
1answer
119 views

AWS Apache 2.4 + socache/memcache == not storing

Fleet of Apache 2.4 reverse proxies on an AWS EC2 instance, directed to cache to an ElastiCache memcache cluster. Pretty typical stuff. The CacheDetailHeader directive is on, and regularly sends the ...
0
votes
1answer
1k views

Allowing remote connection of memcache server

My memcache server is up and running on Server A. service memcached start memcached -d -u nobody -m 512 -p 11211 127.0.0.1 chkconfig --list | grep memcache chkconfig memcached on I also have a web ...
0
votes
1answer
163 views

Memcached doesn't seem to use RAM

I am new to memcached but have installed and am using it for an application. My application reports that it should have a few hundred thousand items cached, however memcached says it only has ...
0
votes
1answer
176 views

Memcache build error on CentOS

I have a problem installing "Pterodactyl Panel" on Centos 7. I am stuck at the line "pecl install memcache". The errors are shown below: [root@localhost ~]# pecl install memcache WARNING: channel "...
2
votes
0answers
108 views

Where/How I declare memcached server's IP with Nginx?

Good day! I have a forum configured with MyBB. Everything was up and running in Ubuntu 14.04, but my friend tried to install 16.04 on it and first saved everything (site's config, letsencrypt files, ...
0
votes
1answer
304 views

Memcached fails after a few hours of usage

I just installed CentOS 7, with Apache 2, PHP 5.6. I also installed memcached, but it keeps failing after a few hours of usage, so I have to restart it at least 3 times a day. [root@myserver log]# ...
0
votes
0answers
225 views

Memcached servers keeps failing

Everyday I get an error email from my python flask app with the following error: WriteError: error 5 from memcached_set: (54648992) SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY, host: 127.0.0....
0
votes
1answer
554 views

memcached on RedHat build PHP 5.6

I am trying to setup memcached on a server running RedHat PHP 5.6.25 I have successfully installed memcache but cannot find how to install memcached - is there a package available? If not how can I ...
0
votes
0answers
58 views

Memcache , python client doesnt distribute the keys among all of the servers in the pool

I have 7 webservers with 64gb of ram each, I want to make use some of this 64 gb of ram with memcached, so I assigned 30gb to memcache in each webservers and added all of the 7 servers to the memcache ...
1
vote
0answers
315 views

Is it possible to migrate Memcached cluster data to Redis?

I have searched Google and SO and surprisingly haven't been able to find a very good answer to this. Basically, I want to know if there is any sort of method or best practice for migrating cache data ...
0
votes
1answer
505 views

How to use PHP memcached for session storage with Auto Scaling?

I already have memcached installed in my servers and I've modified the default php.ini to: session.save_handler = memcached session.save_path = "127.0.0.1:11211" I'm using Amazon EC2 instances (...
1
vote
0answers
784 views

nginx/memcached for cached web proxy

I'm trying to setup nginx as a caching layer on top of an HTTP proxy - along with memcached to do the actual caching. The goal here is that we have an internal application which will make frequent ...
0
votes
0answers
363 views

Connect Nginx Load Balancer with Memcache server

I m using Nginx as Load balancer with ngx_http_memcached_module and I installed a Memcached Server that I would like to connect it with Nginx to make it obtain responses from a Memcached server. Load ...
1
vote
1answer
1k views

Memcached Object Too Large

In my memcahced configuration I have PORT="11211" ...
0
votes
0answers
924 views

Failed to write session data (memcached)

Sorry for my English. I have a problem with the recording session in memcached. Unknown: Failed to write session data (memcached). Please verify that the current setting of session.save_path is ...
3
votes
0answers
55 views

Run command before backned is marked as UP in HAProxy

I have to solve this problem. I have two memcache servers (SM1 and SM2) and HAProxy loadbalancer in front of them. HAProxy is configured in active/passive mode, when SM2 has backup command. All ...
3
votes
0answers
454 views

Memcached: Keys being deleted after specific number of items inserted

I'm debugging a php script which is saving data in memcache as a way to warmup an application. This script only makes set calls to save data into memcache, and after a specific number of entries being ...
0
votes
2answers
693 views

APC or Memcached - Nginx php-fpm wordpress

I am using a wordpress installation on Ubuntu 16 Nginx Php-fpm (latest version) I intend to use W3 total cache for caching purposes and was wondering whether I should be going for Memcached or APC ...
0
votes
1answer
162 views

How to tell if memcache was flushed programatically?

How can I tell if memcache was flushed programatically? If I issues a echo flush_all | netcat localhost 11211 to memcache how can I tell it actually worked? I am writing some code to flush all ...
-1
votes
1answer
687 views

why memcached server running slow for my case

I am usiing memcached for html caching for my project but it take too much time to retrieving data and responding. Server stats: 8 GB RAM, centos, php client Here is my setting : echo "stats ...
0
votes
2answers
54 views

Centos 6.8 memcached not found

Installed latest version of memcached(1.4.28) with these instructions: wget http://memcached.googlecode.com/files/memcached-1.4.13.tar.gz tar -xzf memcached-1.4.13.tar.gz cd memcached-1.4.13 ./...
0
votes
1answer
1k views

Different Local Values and Master Values for PHP Session settings

I have configured PHP 5.4.16 (cli) (built: Jun 23 2015 21:17:27) on Centos7.0 to use memcached for session handling. [Session] ; Handler used to store/retrieve data. ; http://php.net/session.save-...
1
vote
1answer
5k views

How to install “memcached” to php 5.6?

I had installed PHP 5.6.20 from this source. https://webtatic.com/packages/php56/ But I cannot install memcached. Just only memcache. How to install memcached to PHP 5.6? This is what i tried. [...
0
votes
2answers
334 views

SSH Tunnel to Memcached not working

I have created a SSH Tunnel to my memcached server as follows: ssh -f -N user@56.55.55.56 -L 11211:127.0.0.1:11211 When i do netstat on my machine i get the following: So far looks good. tcp ...
1
vote
1answer
941 views

Is there a memcached memory limit best practice?

Is there a best practice or general rule of thumb when setting the memory limit for memcached? I'm currently running memcached with the default memory limit of 64 megabytes. The server has 8 ...
0
votes
1answer
361 views

Troubleshooting with php7 and memcached

I want to install memcached with php7, so I downloaded the actual php7.0-memcached package from the dotdeb repository. But it doesn't work: I get following error in the nginx error files when I want ...
-1
votes
1answer
393 views

Memcached server with multiple webservers

I'm struggling for days now, I'm setting up my cloud infrastructure: 1 nginx Loadbalancer 2 Centos Webservers 1 Centos Memcached server On the webservers I've installed the php-pecl-memcached ...
0
votes
1answer
610 views

How to allocate memory to memcached?

I need to allocate memory to memcached. I executed following command sudo find / -name memcached.conf and it returned a single file located at /opt/bitnami/common/etc/memcached.conf and it ...
2
votes
2answers
544 views

need recent version of libmemcached on aws ec2

The yum repo available on aws ec2 instances only has an old version of libmemcached: v 1.0.8. Can anyone tell me how to get a more recent version, like 1.0.18, installed on an aws ec2 instance? ...
0
votes
1answer
712 views

HHVM Not Using memcached as Save Handler?

I'm using HHVM to serve up my PHP content, and have a memcached instance setup with a view to using it as a save handler for sessions, however I'm not sure that HHVM is actually using it. Here's the ...
1
vote
1answer
300 views

Why isn't memcached using its available memory?

Our memcached.conf has the following directive: -m 7168 And the server has 8GB of RAM. However, despite heavy use, memory usage never goes above 2GB: # free total used free ...
1
vote
0answers
204 views

How to setup a security group on AWS that allows incoming traffic only by certain Elastic Beanstalk servers?

we have the following setting on AWS: 8 Elastic Beanstalk environments (4 QA, 4 PROD) read and write data. Typically, 1 environment (the API) always reads data from DynamoDB and RDS and 1 environment (...
0
votes
0answers
118 views

build memcached source on centos6.4 64bit fails

I'd like to build memcached from source on centos 6.4 x86_64 but only get following error. checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu ...
0
votes
1answer
6k views

“Memcache can't connect, connection refused (111)”? [closed]

First of all... I must say, I don't know much about servers. I'm the kind of php developer that don't use command lines very often. I'm very uncomfortable in the Terminal. However, I'm learning. I'm ...
0
votes
1answer
434 views

Why memcached takes much more memory than specified in its configuration

I have set Item Size to 128M and Maximum Memory to 1024M in my memcached configuration. But when I run this command: ps -eo pmem,pcpu,vsize,pid,cmd | sort -k 1 -nr | head -5 I get 71.7 0.0 3072592 ...
1
vote
1answer
628 views

Memcached in Munin

I tried to configure the munin to load the memcached plugin. But the memcached plugin wont show up when I add the --suggest to the munin-node-configure command. But I appear when I do not add that ...
2
votes
0answers
323 views

How to specify the timeout for health check in memcached session manager for tomcat

Basically the setup consists of two tomcat6 and two memcached nodes. memcached session manager version - 1.8.3 (latest release). I'm testing the following scenario: Client logs in into the ...
0
votes
1answer
2k views

APC Extension unable to load dynamic library /usr/lib/php5/20090626/apcu.so

I have installed using this Tutorial https://www.23systems.net/2009/07/installing-alterative-php-cache-apc-with-plesk-on-ubuntu/ and all is running fine. Even APC is caching everything and apc.php ...