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
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 ...
1
vote
0answers
195 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 ...
1
vote
0answers
132 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 ...
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 ...
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: ...
1
vote
1answer
126 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. ...
1
vote
1answer
1k views

upstream prematurely closed connection while reading response header from upstream, client

I'm using nginx and spawnf-cgi with apc and memcache enabled.I'm getting 502 bad gate way on browser and this error on error log. 2013/01/07 06:55:46 [error] 90799#0: *53 upstream prematurely closed ...
1
vote
1answer
179 views

Memcache Error? “Could not find specified socket in poll list.”

For some reason recently I've been getting this error in my apache error log on my server. We have a single instance of memcached running on our Mac OSX 10.7 server. (20014)Internal error: Unknown ...
1
vote
0answers
128 views

Is memcache impacting my performence negatively?

I am using pressflow 6 and NewRelic seems to suggest that memcache is infact hurting performance as shown below : My settings.php file : # Varnish reverse proxy on localhost $conf['reverse_proxy'] ...
1
vote
0answers
182 views

windows 2003 server - php_memcache.dll for PHP version 5.3?

(I posted this in stack overflow about 15 hours ago - but I was told that stack overflow >was not the right forum by the admins for this question, so I'm hoping that this is the >correct forum.) ...
1
vote
1answer
112 views

Should we increase local port range limit on busy memcached servers

nixcraft has a tutorial on configuring memcached server(link) at the end says: For busy memcached server you need to increase system file descriptor and IP port limits here is the code to do ...
1
vote
1answer
101 views

MediaWiki Multi Site + Memcached

I have multiple mediawiki installations, and I'm wondering if it's safe to allow them to all use the same memcached server. Are there any "gotchas" involved?
1
vote
1answer
233 views

how can I effect DNS Caching on PHP/Memcache application

In a very high loaded Ubuntu/PHP web server I found that the PHP line: $memcache->connect("int-aws_ec2.memcached.myapp.net",11211); sometimes takes ~5 secs. Replacing the url with the ip address ...
1
vote
0answers
377 views

Memcached and repcached not replicating 2 master servers

I have memcached-1.2.8-repcached-2.2 installed on memcached on centos. They install went great and when i start memcached i get: replication: connect (peer=192.168.1.2:11212) replication: marugoto ...
1
vote
1answer
1k views

Optimizing Web Server(apache2+nginx+memcached+eaccelerator) for high-loaded heavy application

I have a server with (Apache2 + nginx as reverse proxy, memcached cache and eaccelerator). The application is Magento - it is very heavy, due to high modularity and a lot of php files(5000-10000+). ...
1
vote
0answers
314 views

repcached broken sync - memcached high avalaibility

I have been using repcached (memcached-1.2.8-repcached-2.2)to store php sessions in order to have a highly available memcached. Everything runs perfect, I can restart a daemon without losing sessions. ...
1
vote
1answer
160 views

Tips setting up nginx as proxy for php and node frameworks

We have a current, soon-to-be legacy PHP app installed in production, served with apache. Working fine. Currently trying to add in new Node.js alpha stack, which we're planning to install alongside ...
1
vote
1answer
251 views

My ubuntu server can ping and ssh can connect, but ssh can't do the authuncation and halt

I have two ubuntu server. Each running php-cgi by phpfpm, memcached, mongodb. And these servers are not running in a high load state. After running several days. The server will halt. No service and ...
1
vote
1answer
289 views

php with apc+memcache+squid

I have a basic php installation. I want to install apc + memcached and squid to speed up the website. I have run into various resouorces regarding this, but one thing is not clear. Should php be in ...
1
vote
2answers
1k views

high load web server setup

I'm preparing a server setup for a dating website who need to be able to process around 5'000 - 10'000 req/sec to the main site. My idea was to do it this way: Server for static content (css, js, ...
1
vote
2answers
205 views

memcached append() php ubuntu - bad protocol

I am running ubuntu gutsy(7.1) , php5 and I am trying to get memcached running locally. I installed everything as per the docs: memcached daemon, php PECL extension, libevent, etc. But now I can ...
0
votes
3answers
2k views

memcached and PHP … massive lag with sessions

I'm working on a new server built with Unbuntu 10.04, running php-fastcgi, nginx, and memcached. phpinfo() script loads and works great, same as a test memcached script. For any script using ...
0
votes
1answer
4k views

How do you safely replicate Memcached data?

I have ~100GB of data running on several Memcached servers, but we're migrating all of our infrastructure to Amazon AWS so I'd like to find a way to replicate this information on these new servers. ...
0
votes
2answers
1k views

Memcached will not start

I have this in my /usr/local/: libevent-1.4.so.2 memcached When I do this, it will not start: ./memcached -d -u root -m 3900 -p 11211 ./memcached: error while loading shared libraries: ...
0
votes
1answer
154 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
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
2answers
225 views

Can memcache invoke a script to reload itself after startup on Ubuntu?

Since memcache stores everything in ram, it will lose its store after a node recovers from failure. Does memcache offer a hook to invoke a script after it starts up? We want that script to do ...
0
votes
1answer
118 views

Is there a benefit to managing programs with a process manager instead of with init.d?

I'm using Redis, Memcached, and Nginx, to be specific, and Supervisor as the process manager, but any general information is helpful as well. Each of the aforementioned programs when apt-get ...
0
votes
2answers
7k views

Connecting to memcached “what port to use?” (php)

I've installed memcached perfectly and i can created a new instance but i don't understand if I'm connection to the right port... I always get a false return from get(key) Here is my code, $sql ...
0
votes
1answer
278 views

is there any point running APC **and** memcached concurrently

Do APC and Memcached cache the same data? I understand that APC caches both files and objects/variables whereas memcached is object-only, but does memcached offer anything that APC doesn't? I've ...
0
votes
4answers
398 views

Is it possible to run multiple instances of the same application with a single memcached server?

I have two applications with exactly the same code using memcached in identical ways. Does memcached tell the difference between the two apps, and is it safe to run them on the same server with a ...
0
votes
1answer
2k views

How much memory can I safely assign to memcached?

I'm looking into using memcached on our server. We've just upgraded and now have a fairly powerful box: DELL PowerEdge R710 Linux RHEL 5 - 64bit 12GB RAM (We used to be on a 32bit 4GB box). The ...
0
votes
1answer
422 views

How to “distribute” memcached?

I know how to install and use memcached on one server. But I heard you can "distribute it"? How does that work, and how can I enable that feature?
0
votes
2answers
330 views

memcached with telnet disabled

If telnet is disabled on my RHL server memcached gives the error of unable to connect to host: myMachine:port number when starting my java web app. Is it mandatory to enable telnet for memcached to ...
0
votes
1answer
65 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
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?
0
votes
2answers
2k views

Configuring SASL support in libmemcached

I'm trying to build libmemcached with SASL support on OS X Mountain Lion. I have built memcached (1.4.15) with SASL support: $ memcached -S -vv Initialized SASL. slab class 1: chunk ...
0
votes
1answer
611 views

Is there something like phpMyAdmin for Memcached?

Is there any tool to see the keys/values stored in my memcached instance? I've found simple scripts like this http://snipt.org/xtP, but I get only the keys. Thanks in advance
0
votes
1answer
528 views

Connection errors when trying to use Memcache

I'm new to 'Memcache' but I've installed it and I think its' running, so far have I done the following correct? mkdir memcache wget http://pecl.php.net/get/memcache-3.0.6.tgz tar -xvfz ...
0
votes
2answers
1k views

How do I get php-memcached extension to work with SASL on RHEL6

I have RHEL6.1 with php. I've installed libmemcached-1.0.2 from src.rpm and compiled php-memcached 2.0.0b2. If I try to setSaslAuthData('user','pass') and write something to memcached (Couchbase ...
0
votes
1answer
3k views

Nginx+PHP-FPM+APC+Varnish+Memcached: High Mem/Swap consumption?

I've got running a VPS at Linode with 1024 MB RAM, Ubuntu 11.04 and Nginx+PHP-FPM+APC Varnish+Memcached active. I've setup a couple of test blogs with WordPress 3.2.1 and everything works, and the ...
0
votes
1answer
95 views

Optimizing Server

Let me lay it all out: Lamp environment Mysql is already optimized. I've got memcached setup I've got APC setup Traffic on these web servers is going to come in hard and fast, its not going ...
0
votes
1answer
767 views

Can't get memcached / php memcache installed on CentOS 5.5

I cannot get memcached installed for the life of me on CentOS 5.5 yum install memcached says package doesn't exist I have tried installing from source, as well as yum. Apparently memcached is ...
0
votes
2answers
1k views

Memcached extension error in PHP

yesterday i migrated to Rackspace (CentOS 5.5). Everything was already configured (apache, php, mysql, memcached) and working well. The only thing i forgot, and installed at last was the mail server ...
0
votes
2answers
384 views

Taggable alternatives to memcache

I'm looking for a caching solution quite similar to memcache, but the one thing I sorely miss is invalidating content based on a tag. Many preprocessed results depend on multiple sources of data, and ...
0
votes
3answers
126 views

How do I see how quickly items are dropping out of memcache?

Is there a good way to monitor how quickly items are dropping out of memcache?
0
votes
1answer
186 views

Save server from overload

As my client's php ecommerce portal is on a dedicated hosting but there are certain overload issues. Like the CPU uses goes upto 84% on a 60 req/sec , so i am thinking to propose a plan. To implement ...
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
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
828 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 ...