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
50 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
0answers
81 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
41 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
43 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
81 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 ...
0
votes
0answers
45 views

X2Engine doesn't install because it thinks session.save_path (unix:/tmp/memcached.sock) is not writable

I'm installing X2Engine and I get the following error on the install page: The path defined in session.save_path (unix:/tmp/memcached.sock) is not writable. # ll /tmp/memcached.sock srw-rw-rw- 1 ...
1
vote
0answers
27 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
83 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
121 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
68 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
176 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
126 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
564 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
84 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
95 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
118 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 ...
0
votes
1answer
64 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
191 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
572 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
83 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
100 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
135 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 ...
3
votes
1answer
150 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
658 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
156 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
93 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
196 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
186 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
32 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
52 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
1k 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
156 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
131 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
317 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
2answers
825 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
1k 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
2k 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
217 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
356 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
153 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
179 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
323 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
1answer
335 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
94 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
106 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
527 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
1answer
320 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
273 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
587 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
124 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 ...