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.

Filter by
Sorted by
Tagged with
0
votes
1answer
63 views

I have a lot of traffic and only 1 server best config for nginx/varnish/apache configuration

I have a lot of traffic and only 1 server can I get some help with configuration Nginx.conf config: # For more information on configuration, see: # * Official English Documentation: http://nginx....
0
votes
1answer
215 views

memcache container: Error starting userland proxy: listen tcp 0.0.0.0:11211: bind: address already in use

I am having problems setting up memcached on my docker. I get an error when I run: docker run --name=memcache -p 11211:11211 -d memcached memcached -m 128 This is the error that comes after running ...
0
votes
1answer
45 views

Memcached not working in PHP file but working on SSH - CentOS

On my CentOS 7, Memcached is running and working on SSH but not working in the PHP file. I've followed this article: https://www.mynotepaper.com/install-memcached-on-centos-7. This method was working ...
1
vote
0answers
95 views

Memcached fails/crashes every few hours

I have a CentOS 7 server with Memcached. There are a lot of requests, and usually after a few hours, the memcached daemon crashes. I always restart the service, but it crashes again a few hours later. ...
0
votes
0answers
111 views

High availability web application server configuration recommendations & PHP Sessions

I'd like to update an existing server configuration. Currently, the setup looks like this: {Load balancer} | -----------|------------ | | | {Web 1} {...
0
votes
1answer
93 views

Apache2 reverse proxy with response caching

I'm using Apache as a reverse proxy for an application running on a local port. I want to cache responses from this application in memory. So requesting the same URL frequently should give me cached ...
0
votes
1answer
75 views

Memcached stops responding after a few seconds

I'm having troubles with my memcached (v1.5.13) instance. It starts just fine but after a few seconds it becomes non responsive. I'm on a currently updated arch-linux box trying to access it just from ...
1
vote
1answer
399 views

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....
0
votes
1answer
708 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
1answer
78 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:...
1
vote
2answers
2k 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 ...
3
votes
1answer
7k 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
1answer
1k 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
891 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
191 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 ...
1
vote
1answer
3k 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
276 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
227 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
165 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
575 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
371 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
715 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
69 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
688 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
682 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
1k 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
481 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
2k views

Memcached Object Too Large

In my memcahced configuration I have PORT="11211" ...
2
votes
0answers
58 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
665 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
850 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
255 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
946 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
68 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
2k 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
488 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
1k 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
393 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
491 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
843 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
759 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
725 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
587 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
242 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
139 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
7k 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
556 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 ...
2
votes
1answer
746 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
350 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 ...

1
2 3 4 5
8