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

1
vote
1answer
38 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 ...
0
votes
1answer
20 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
29 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 ...
0
votes
0answers
37 views

CouchBase Client Fails to Cache Object less than 20mb. Time Out Error

I am caching my serialized POJO s(4mb-8mb size objects) concurrently into Couchbase server with CouchBase client (couchbase-client-1.4.3). for(upto 20 itertarions){ new Thread().start().. ...
2
votes
1answer
50 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
45 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
28 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
0answers
54 views

Memcached problems since upgrade from Ubuntu 12.04 to 14.04

I recently migrated to Ubuntu 14.04 with a Webprojekt (nginx,PHP5,MariaDB,memcached). All configs are exactly the same. But the cached sites sometimes don't load properly. I enabled the verbose mode ...
-1
votes
0answers
8 views

Max Memcache Sets per second on a given key [duplicate]

Let's assume I have a "counter" I am storing in a Memcached key, Let's say the value is a numeric value ranging from 100000 to 100000000000 (100B). So a key value with 12 characters or less in it. I ...
0
votes
1answer
36 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 ...
0
votes
0answers
41 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 ...
4
votes
2answers
165 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 ...
0
votes
0answers
36 views

cannot setup memcached with sasl

I was following http://www.shanison.com/2014/04/29/setup-memcached-with-sasl-authentication/ with memcached SASL setup. I did not install memcached from source because -S worked without any error. I ...
1
vote
1answer
44 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
81 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 ...
2
votes
1answer
80 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 ...
0
votes
1answer
366 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
87 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
60 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?
3
votes
1answer
135 views

Save PHP opcache to Memcached

Running on small servers it would make sense offloading these as much as possible for performance. Also offloading will prevent from the server becoming a bottleneck. Therefore I use memcached for ...
0
votes
0answers
131 views

Adding Memcached (to WordPress) causes PHP (Apache, mod_fcgid) to hang

Quick architecture overview: Nginx serves up static assets and is running as a reverse proxy to PHP (FastCGI, mod_fcgid + Apache). Memcached is running on the same server as well: memcached -d -p ...
0
votes
1answer
28 views

Memcached: More items than connections?

I setup memcached for saving (serialized) PHP sessions. So everytime someone visits my site (1-n connections), a session (1 item) gets created. I don't use memcached for anything else yet. Question: ...
0
votes
0answers
37 views

memcached available, but not installed and unable to uninstall, but run in process

I installed memcached in my cent OS VPS. Somehow it's not work as i expected and now I switched to suPHP. But when I run 'top' command I can see 'memcached' run as a nobody user. 1727 nobody 20 ...
0
votes
1answer
643 views

PHP-FPM save sessions in memcached

I'm trying to switch my session_handler to memcached, I'm not sure if it worked, it does not look like it did. vi /etc/php5/fpm/php.ini session.save_handler = memcached session.save_path = ...
0
votes
2answers
103 views

Wordpress (using varnish + apc + w3tc): Do the statistics get updated when the data is being retrieved from the cache?

If the data is served to the client from the varnish cache, does it still get registered as a hit in the statistics (could be derived from nginx logs or might be google analytics)? I believe if the ...
1
vote
0answers
106 views

Why is memcache not functioning with elgg in debian 7?

I am moving a php website (built using elgg - www.elgg.org) from a CentOS server to a different Debian 7 server and have installed memcached + php5-memcache on both. I have recreated all the ...
0
votes
1answer
207 views

Installing ElastiCache Cluster Client on PHP AWS Elastic Beanstalk (without creating resource)

Elastic Beanstalk does not, by default, install the ElastiCache Cluster Client PHP module. This is needed to connect to an ElastiCache node cluster. Reading around, most of the instructions relate to ...
0
votes
1answer
637 views

Installing memcached deamon on Centos PHP conflicts

I have Centos 5.10 installed on my server and tried running the following command yum install php53u-pecl-memcached.x86_64 Setting up Install Process Resolving Dependencies --> Running transaction ...
1
vote
1answer
494 views

Intercepting 404 with nginx as reverse proxy for memcached + node.js

I'm using nginx as a reverse proxy to look up html content from memcached, if not present, then node.js, if not even there, node.js returns 404. What I'm trying to do is intercept and deliver a custom ...
0
votes
2answers
1k views

nginx does not seem to load memcached module for php

I have an Ubuntu machine with nginx and memcache running, and I'm trying to use PHP with Memcached. I'm getting Fatal error: Class 'Memcached' not found. The ini file is loaded from ...
1
vote
0answers
162 views

Memcached with SASL: Couldn't find mech PLAIN

I'm trying to get memcached working with SASL. I'm compiling memcached and libevent from source. These are the steps I took (both under root and a user, same result): Having these packages: ...
0
votes
2answers
328 views

Compiling libmemcached Fails on Centos

I am trying to compile libmemcached on Centos 6.4 with gcc 4.8.2. I've run configure which gives me: Configuration summary for libmemcached version 1.0.17 * Installation prefix: /usr/local ...
0
votes
1answer
117 views

Memcached is slowing down the website in VirtualBox [closed]

I noticed our web project (Drupal) runs slower when it's using memcached in the virtual box. The page load time is more the twice as fast without memcached. I haven't noticed any unnatural memcached ...
0
votes
2answers
117 views

how to install php5-memcached in linux?

I've installed memcached server using yum. My server os info - Linux version 3.8.4-x86_64-linode31 (maker@build) (gcc version 4.4.5 (Debian 4.4.5-8) ) #1 SMP Mon Mar 25 16:00:34 EDT 2013 But when ...
0
votes
2answers
259 views

nginx returning error 502 when get not exist key on memcached

i use nginx 1.2.3(php-fpm) php 5.4.7 pecl memcached 2.1.0 memcached 1.4.15 if memcached service stop or get a not found key,nginx return 502 error and in error_log: 2013/11/19 17:37:04 [error] ...
0
votes
0answers
147 views

How to ask memcached auth connection by sasl and pam?

I use memcached in a untrust network, so I try to use sasl and pam to auth connection to memcached. I installed sasl and pam module, compiled and installed memcached with sasl enabled. Also I created ...
0
votes
1answer
276 views

How i can setup a nginx cache strategy that first try amazon s3, then memcache and do a fallback on miss?

i have a large site with lot of pages that almost never change, right now i am using two memcache servers (amazon elasticache), but this its really expensive. Thats why for this files that barely ...
0
votes
1answer
86 views

4 Magento Requests per second = 210 mbit memcache bandwith?

After searching serverfault for similar questions without success, these are my numbers for one magento instance, running on multiple servers: After varnish about 4 requests per second hit the ...
0
votes
1answer
83 views

New Relic Memcached plugin installation location - App server or memcached server(s)?

We have the New Relic PHP agent running on our 8 app servers. we have two memcached servers and would like to add the New Relic/ Meet Me Memcached plugin to grab memcached metrics. Should the ...
2
votes
3answers
216 views

Memcached - doesn't seem to be working

my local.xml <session_save><![CDATA[files]]></session_save> <cache> <backend>memcached</backend> <prefix>MAGE_</prefix> <memcached> ...
1
vote
0answers
470 views

Unable to load the webpage because the server sent no data - No data received (Page failed to load) [closed]

I have the following server configurations: Service Provider: Rackspace OS: CENTOS 6.4 Web Server: Apache 2 Caching: Memcache & Memcached Server Side Language: PHP Database: MySQL My web ...
1
vote
1answer
233 views

Should I install memcached on my Level 3 VPS?

I have a Level 3 VPS Linux server from Hostgator that I pay $50/month for. I know nothing about servers, but I'm aware this isn't the cheapest around, but far from the most expensive. On the domain ...
0
votes
1answer
173 views

Memcached inconsistency in values for maxbytes and limit_maxbytes

I'm using Memcached on RHEL/CentOS 5/6 and found that memory size inconsistency between limit_maxbytes and maxbytes taken from "stats" and "stats settings" respectively. I have compiled ...
0
votes
1answer
351 views

Right way to configure memcache

I'm trying to change memcache memory size limit in my CentOS env. I've examined other questions and found out there SHOULD be a file, which is mostly under /etc/sysconfig/memcached and if not I should ...
0
votes
0answers
96 views

Memcache daemon error, how to restart it quickly

i have the memcached daemon failing with the following error: 2013-08-15 07:45:27 +02:00 --- error: Uncaught PHP Error: Memcache::set() [<a href='memcache.set'>memcache.set</a>]: Server ...
0
votes
1answer
122 views

Memcached ports and CSF

I've got a small / medium sized VPS powered by WHM and running a few personal websites alongside a Magento powered web-store. Not being a real expert when it comes to server configuration details I've ...
1
vote
1answer
103 views

Different memcached instance per user, with authentication

I am writing a script which will allow each and every cPanel user to run an instance of memcached on their own. The script at this point is starting the daemon for every user on a different port. ...
0
votes
3answers
3k views

Installing PHP 5.3 Pear on centos 5.8

I just created a VPS with 32 bit Centos 5.8 and installed php53 and a host of other php 5.3 packages. I would like to install memcached using yum but I get the following error Resolving Dependencies ...
0
votes
1answer
57 views

memcached number of threads showing more than what were set

I started memcached server using 8 threads. Then I checked threads using ps -eLf | grep memcached shantanu 2758 1 2758 0 10 11:17 ? 00:00:00 memcached -d -l 10.90.15.104 -p 11311 -t 8 ...
0
votes
1answer
52 views

Can I have nginx put stuff on memcached?

It is my understanding that nginx can query memcached for data that it serves, but you have to place them there using some other (homegrown) program. So the question is, can I have nginx fetch data ...