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.

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.

390 questions
1
vote
1 answer

Issue with the Memcached redundancy

I was asked to setup a Memcached server on two servers (one on each). For the records, I run PHP 5.6.5. Here is my setup: memcached.ini: extension=memcached.so memcache.allow_failover=1 memcache.session_redundancy=3 php -i | grep…
Jaeger
  • 125
  • 11
1
vote
2 answers

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 chart, this is the dependencies file:…
c4f4t0r
  • 5,301
  • 3
  • 31
  • 42
1
vote
1 answer

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 23 446 392 Swap: …
APixel Visuals
  • 113
  • 1
  • 5
1
vote
2 answers

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 application on Server B (different IP). How can I…
Andres SK
  • 238
  • 3
  • 7
  • 22
1
vote
0 answers

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 from a Memcached cluster into a Redis cluster. …
jmreicha
  • 790
  • 1
  • 16
  • 29
1
vote
0 answers

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 outgoing HTTP requests, and we want to use…
Siler
  • 349
  • 1
  • 7
  • 14
1
vote
1 answer

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. [root@testcentos ~]# yum -y install…
vee
  • 113
  • 1
  • 4
1
vote
1 answer

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 gigabytes of memory installed out of which only around 512…
1
vote
0 answers

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 (the Jobs Server for the Data Gatherer) typically…
1
vote
1 answer

Install memcached PHP extension on openSUSE 13.2

Is there a standard/supported way to get the memcached extension for PHP installed on openSUSE 13.2? On CentOS this was a case of yum -y install php-pecl-memcached. But it doesn't look like the equivalent is present in the default package repos for…
leonstr
  • 63
  • 1
  • 1
  • 5
1
vote
2 answers

Memcached vs Amazon Elasticache with PHP on CentOS 7

I setup a new CentOS 7 server in Vagrant to run PHP, nginx, MySQL (MariaDB) and memcached (note the d on the end). I can get memcached to run fine, but I can't get the Amazon Elasticache .so file to be loaded by PHP. I know the file exists. How do I…
Ryan
  • 63
  • 7
1
vote
2 answers

Why is Memcache not starting automatically?

I installed memcache in my CentOS server, and the respective libraries for php as well: Despite having installed both of them, I ended using Memcache $memcache = new Memcache; Since I wanted the memcache service to run automatically after…
Carlos Santos
  • 43
  • 1
  • 1
  • 11
1
vote
0 answers

PHP Warning: Unknown: Failed to write session data (memcached). Very infrequent

I installed memcached (2.2.0) libmemached (1.0.18) a few weeks ago. (Apache/2.4.10 and PHP 5.5.20), mostly for php session management. Generally I'm really pleased with performance but I notice this warning occasionally. It happens 2 or 3 times a…
williamk
  • 133
  • 1
  • 10
1
vote
1 answer

Uneven load distribution on an elasticache cluster

Amazon elasticache cluster looks to be a really good choice for auto-scaling but it seems the load distribution is not equal among the nodes. Both memory and CPU wise the node 1 seems to take almost twice the resource than other nodes. This often…
1
vote
2 answers

Elasticsearch as memcache replacement

I am looking into replacing memcached with elasticsearch. Basically, I need to reduce my software stack and since I will be using elastic for searching, I was thinking of creating an index that will act as a general cache, where I will be storing…
Thomas
  • 167
  • 1
  • 4
  • 13