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.

learn more… | top users | synonyms

0
votes
0answers
7 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
29 views

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

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 ...
-1
votes
0answers
14 views

memcached for php sessions on seperate server? [on hold]

Is it better to have memcached on its own server(s) for php sessions rather than putting it on one of the web servers? My thought is if one of the web servers goes down; it goes down for everyone ...
0
votes
0answers
16 views

session.save_handler memcached cluster/failover

I found the following article about clustering memcached; but it uses the memcache php extension and I am using memcacheD extension. Here is the article: ...
-1
votes
1answer
25 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 ...
0
votes
0answers
21 views

How to decide on which server to install memcached?

I have two separate servers: Server A is a nginx web server Server B is a MySQL server Both servers are on a private network. How do I decide where to install memcached? What factors should be ...
0
votes
0answers
32 views

Reload memcached config without restarting or losing cache

I've changed (increased) the -m value in /etc/memcached.conf and I'd like memcached to refresh the configuration file to use the new settings, but I don't want to lose the rather large, existing cache ...
0
votes
0answers
13 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 ...
1
vote
0answers
43 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
47 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 ...
-1
votes
1answer
30 views

NGINX + memcached, location not found

I want to configure nginx to read directly from memcached by key "match_1" for example. This is my server configuration server { listen 8080; server_name localhost; location /get_match ...
0
votes
1answer
133 views

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 ...
0
votes
1answer
162 views

Problems installing PECL extension Memcache

I have installed memcached fine and seems working properly , and now I will need to install PECL extension memcache. Im running Centos 6.2 x86_64 .When I try to install gives me this error at the ...
1
vote
2answers
200 views

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 ...
0
votes
0answers
23 views

Memcached removes data too early when -M option not specified

We are using memcached as a storage for php sessions and almost from the beginning noticed that sessions disappears too early (say, in 20-30 minutes instead of 3 hours as speicified in php memcached ...
0
votes
1answer
65 views

Memcached no get_hits

I have a problem with memcached on Centos 6 with apache on port 8080 and Nginx on port 80 as reverse proxy for apache. I install Memcached to cache all static file : Here is my memcached configuration ...
1
vote
1answer
71 views

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 ...
0
votes
0answers
46 views

windows firewall & memcached service: open ports on firewall for local use?

memcached is used in local connected via 127.0.0.1:11211 on Windows Server 2008. Everything seems to work without having set anything on the firewall. But, can not understand if i must open 11211 ...
0
votes
2answers
771 views

PHP memcached session redundancy

I'm trying to follow How To Share PHP Sessions on Multiple Memcached Servers article and implement that to my environment: /etc/php.d/memcache.ini: # grep -v ^\; /etc/php.d/memcache.ini ...
1
vote
0answers
334 views

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 ...
1
vote
1answer
45 views

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 ...
0
votes
1answer
190 views

Configuring MAXITEMSIZE in memcached in gentoo

Got memcached up and running (emerged net-misc/memcached) but on PHP I'm getting Server 127.0.0.1 (tcp 35817, udp 0) failed with: SERVER_ERROR object too large for cache I'm thus trying to change ...
0
votes
0answers
82 views

Counterintuitive drop in CPU

I am running a memcached service in a linux container pinned to a specific physical core. As expected the CPU increases when the number of requests increase. The requests are sent from a workload ...
2
votes
1answer
48 views

Different server response time for 2 web pages with the same view and template?

I've recently been facing hugely increased server response time for some of my web pages (response time in the range of 10-20 seconds). For example, for the page http://www.edmhunters.com/afrojack/ - ...
0
votes
1answer
143 views

Allow Apache use more memory

I use apache2 behind nginx on 8 core CPU 48GB RAM server. Now my system uses only 3GB of all memory, but there are high load on CPUs. How can I use my free memory instead of CPUs time? I also use ...
0
votes
0answers
13 views

Setup Server for Optimization [duplicate]

I've got my first Dedicated server and I would like some help with the Optimization of it. I am thinking of going a bit different than the regular setup and I'd like your feedback. Before we start, ...
0
votes
0answers
323 views

Flush mod_pagespeed configured with memcached

I just switched from a single LAMP (mod_pagespeed, SSL, APC, localhost memcached) server to a multi server setup. On the old server mod_pagespeed was not configured for memcached, only file based. ...
1
vote
2answers
438 views

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 ...
0
votes
0answers
172 views

Increased CPU usage and server response time

Over the past 10 days, I'm suddenly experiencing increased CPU usage on my website with CPU usage reaching 100% three times. During that time I'm unable to SSH to my website so I haven't been able to ...
2
votes
3answers
461 views

Sudden increase in CPU usage and server response time

Over the past 10 days, I'm suddenly experiencing increased CPU usage on my website with CPU usage reaching 100% three times. During that time I'm unable to SSH to my website so I haven't been able to ...
0
votes
1answer
172 views

Is it possible to force a specific program to use virtual memory?

Let say I have 1GB RAM Ubuntu, I need to run both memcached and redis on the same machine The usage of memcached is quite heavy (e.g. 1K read per second) and redis is less heavy (but still 10 read ...
1
vote
0answers
190 views

Having Memcache and Memcached installed and enabled at the same time

Can I use both Memcache and Memcached php extensions on the same server at the same time? Just to be clear so you dont misunderstand what I mean by this question, here is my scenario: I have both ...
-1
votes
1answer
453 views

Installing Memcached on CentOS 6 Issue

Having a devil of a time getting Memecached on my CentOS 6 server (PHP 5.4.13). Usually all of the DigitalOcean help guides work smoothly (it's a MediaTemple server and support won't install ...
1
vote
1answer
67 views

Memcached Pool - Outtage causes increased lag in response time

I have multiple cache servers which are added to a virtual pool at the PHP layer via the Memcached::addServers() api. During fault tolerance testing I noticed that taking one of the memcached servers ...
2
votes
1answer
244 views

Memcached cachesize 512M or 1G for VPS 2G? [closed]

I just started to use memcached on a VPS with 2Go of RAM. I set the cache size at 512 Mb, but I am wondering if I can go for 1024Mb. On the VPS there are: a local business website with very few ...
1
vote
1answer
301 views

PHP - Memcached - Libmemcached - Handle cache server outage

I am working on ensuring our app degrades gracefully in case of a complete cache outage, which is highly unlikely, as we have minimum of at least 3 cache nodes to add to the cache pool, by way of ...
1
vote
1answer
143 views

Nginx memcached_pass directive unknown

I am setting up a new server instance on AWS and have run into something I don't know how to handle. I've set up exactly the same config on digital ocean before and there issue does not occur at all. ...
2
votes
1answer
631 views

PHP Session Storage in Fault Tolerant Memcached Pool

I recently had the opportunity to move a web application from using a Nginx proxy "loadbalancer" to an F5 loadbalancer. Unfortunately during that migration it became clear that the memcached session ...
4
votes
1answer
3k views

How to replicate Memcache data among servers

A same question in SO can be found from here . But since I couldn't find any suitable answer, I am asking with additional info. I have many memcache clients but all of them access one memcache server ...
-1
votes
2answers
212 views

Nginx and its caching systems. Are they all the same?

I'm a bit confuse about PageSpeed, Microcaching and Memcached. Are they just different tools that do the same job? I was initially thinking in use PageSpeed with Nginx. If I do that, do I need ...
1
vote
1answer
223 views

memcache and memcached session not persisting

so I am having a problem with sessions persisting in an application, that is using the memcached php driver, while another existing application is using the memcache driver. On the server, I see both ...
0
votes
1answer
100 views

Updating memcached…will the data be flushed?

I know if you restart memcached the data is lost. What about when an update happens? I am not 100% sure even how to do an update, but I think yum will do it automatically and it would be very bad if ...
1
vote
0answers
301 views

What is the right value for memcache.session_redundancy?

The PHP manual for Memcache doesn't have any explanation for the memcache.session_redundancy option. The comment on that page (which is 4 years old) says it sets the number of copies of a session ...
5
votes
2answers
2k views

Memcached listen on selected interfaces

I am setting up Memcached on a Debian server that has two interfaces - eth0 (public) and eth1 (private). I want Memcached to listen on both eth1 and lo (loopback) so that it can be accessed even if ...
1
vote
1answer
179 views

PHP sessions in memcache - secure session path

Memcached is fine for sessions as I read. But what safe? Today we have more clients on one server. Every virtual host have own session.path. This is safe to prevent read sessions from other domain. ...
1
vote
1answer
182 views

memcached works differently on two servers

I have a dev and a testing environment that (ostensibly) are set up the same, but code that works on the dev server doesn't work on the test server. I've narrowed it down to memcached. The dev ...
4
votes
1answer
447 views

Memcached keeps increasing cpu ussage

I'm running a memcached server which is serving two front end servers. These are connecting to the memcached server from Apache2/PHP using the standard PECL library. For some reason the memcached on ...
1
vote
1answer
1k views

Caching (memcache/redis) and multiple servers - best strategy

We're considering best strategy for using cache (memcache or redis based) in our application (Symfony2). It will be deployed on multiple (so far 3) separate machines with load balancing and separate ...
0
votes
0answers
328 views

Using memcached in php.ini is ignoring gc_maxlifetime?

Using php-fastcgi with session.save_handler = memcached and session.gc_maxlifetime = 1440, my sessions are never expiring. Memcached Cache is running full and then starting to evict old items after a ...
0
votes
1answer
127 views

Memcached Service Crashed Every Morning

I have Memcached 1.4.17 Install on CentOS server to serve a PHP website. The problem is every morning the Memcached Service will be crashed. Any suggestions?