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
1answer
147 views

Choose which memcache version

For memcached server we are running on version 1.4.5, and the application is built with PHP 5.3.6 and memcache (http://pecl.php.net/package/memcache) version 3.0.5 Currently we have 2 memcached ...
1
vote
3answers
2k views

Installing PHP PECL memcached extension on CentOS 5.6

I would like to setup memcached on my server so that I can learn how to use it. It is my understanding that the basic requirements to use it with PHP are: PHP memcached PHP PECL memcached library ...
3
votes
2answers
314 views

Memcached scaling strategy

Currently I am running a production environment with 4 dedicated memcached servers, each of them having 48Gb of RAM (42 dedicated to memcache). Right now they are doing fine, but traffic and content ...
-1
votes
2answers
1k views

Uninstall all instances of memcached

My host asked me to: " You will need to remove all instances of memcached that you have installed. " How would i go about doing this? I am on CentOS
4
votes
1answer
2k views

Confused about caching solution: MemCache, Varnished, mod_cache, else?

I have a very heavy site in my server. The load of the server is always about 30-50 and sometimes it become even 150 and server work really hard. I'm looking for a caching solution that can increase ...
0
votes
3answers
126 views

Close port 1121

How can I open port 1121 for specified ips? I have memcache installed, and I need to access to memcache from another server for this in /etc/memcached.conf I set my ip -l 192.0.0.106. But after this ...
0
votes
2answers
302 views

Pros and cons of one vs several memcached instances on the same server [duplicate]

Possible Duplicate: Memcached - one large instance vs many smaller I know this might depend on my specific scenario but if possible let's analyze it in general :) I wonder if using 6 ...
0
votes
1answer
536 views

When set SESSION_ENGINE to memcached, Django website halts

I have set up memcached in Django using Pylibmc binding: CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.PyLibMCCache', 'LOCATION': ['10.241.1.1:11211', ...
6
votes
1answer
998 views

Having problems with maintaining sessions across multiple Amazon EC2 instances

One of my sites is hosted via Amazon EC2 service. The problem starts happening when the site faces a heavy load which in turn spawns a new EC2 instance via AutoScaling. This is good but the issue is ...
1
vote
1answer
1k views

How to debug memc/memcached timeouts with Nginx?

Problem Regular timeouts from the memcached backends in Nginx (see example errors below) Things already tested: it occurs both on local and remote memcached servers so the network can't be the ...
0
votes
2answers
2k views

Multiple Magento web servers, single instance memcache issues

I have two web servers with a Magento instance on both. Each shares the same httpd.conf, php.ini and my.cnf, along with local.xml and config.xml magento configuration files. I have another server ...
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
2answers
3k 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 ...
2
votes
1answer
226 views

PHP APC MAJOR Fragmentation Issues?

So I have been using memcached to cache lots of data that was the result of queries to the database. Everything left at default, and on average I stored < 40MB in memcache. I used memcache.php to ...
0
votes
2answers
582 views

Why is Memcached not working with vBulletin?

I have Memcached configured and setup to with work with vBulletin 4.1.5 on a Gentoo Linux 32-bit Linode VPS. Memcached is started, includes/config.php is configured to use the memcache, and the site ...
0
votes
2answers
166 views

Memcached and Mysql architecture

Right now we have 2 servers. webserver + memcached mysql server the mysql server is a new and a strong server and it is not being utilized fully. I was debating if I should migrate the memcached ...
0
votes
1answer
88 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
379 views

Failover strategy for memcached

I am trying to understand how memcached works (newbie) to anticipate the sudden failure of a node using/offering memcached. I have a couple of questions to ask: i) If a have a system with 3 nodes ...
0
votes
0answers
344 views

Having a hard time compiling php-memcached on a debian Lenny system

I downloaded the latest libmemcached along with the latest versions of php-memcached (both beta and stable) and the make fails with a bunch of errors (it seems like its missing an include file). I ...
1
vote
2answers
360 views

Memcached possibly leaking memory

I am having a really odd problem and I am lost a bit as I do not know what to do any more. We are running in production 4 dedicated memcached boxes. All boxes have 48Gb of RAM, they are running ...
1
vote
1answer
571 views

600+ memcache req/s problems - help!

I am running memcached on my server and when it hits 600+ req/s it becomes unstable and causes a big load of problems. It appears when the request rate gets that high, my PHP applications at random ...
5
votes
2answers
2k views

Add vs Set in Memcached

I don't understand the difference between ADD and SET Any clues? It seems as if ADD includes SET or that ADD returns false if something is there and SET just overwrites. Thanks! EDIT: My specific ...
0
votes
1answer
38 views

Storing cached files so they are accessible by more than one server

I want to start using multiple front-end Apache servers for my website. At the moment I store various HTML files in a caching directory, e.g. "/htmlcache/homepage.html" Obviously I don't want to ...
2
votes
1answer
461 views

Amazon EC2 ELB directing load to other instances and session stores

If we scale up (add an instance to ELB), could we redirect some existing requests to the new instance. So that, The users that we force to a new server will be asked to login again If we scale down ...
1
vote
2answers
2k views

Memcached problems “failed to listen on TCP port 11211”

I just installed memcached on my Mac OS X 10.6.8. It installed perfectly and when I type in memcached in Terminal I get this: failed to listen on TCP port 11211 tcp listen: Address already in use ...
0
votes
1answer
714 views

memcached install issues with lib event on server

I've installed libevent on my server in the directory root/data/ and have i'm about to install memcached with ./configure –with-lib-event=/data/; make; make install However, after running a bit I ...
2
votes
2answers
407 views

Memcache - Issues in a distributed environment with many nodes

I've had a quick look through the other similarly titled questions and none are particularly similar to the issues I'm currently having. Basically, we've had a multi node memcached ring running for ...
0
votes
0answers
218 views

memcached established connection is very small comparing to max allowed connections

I have installed memcached on my Ubuntu 9.1 server. The number of simultaneous incoming connections is the default (default is 1024) and I am running it with the following arguments: ...
1
vote
1answer
228 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 ...
0
votes
1answer
212 views

How do I let memcached be accessed from another machine?

So I have been using memcached with a new django app and it works great, I can serve the dynamic version of the site slighly faster than if I mirror the files to a static sever. I have this setup on a ...
1
vote
3answers
377 views

improve mysql server speed for an app hosted on VPS

I'm running several applications on my VPS. These apps are built with PHP and used in a social network. Currently, I have some problems with the server's speed. My VPS has the following ...
4
votes
2answers
457 views

Does Memcached support IPv6

Has anyone used Memcached with IPv6? Can you provide any configuration tips, gotchas, or mention any stability issues you've had?
0
votes
1answer
852 views

Need a little advice with apc, node.js, varnish, memcached, nginx

Just need a little advice here if anyone can help. Currently i have nginx running on a virtual private server, i am looking into installing node.js so i can use AjaxIM (http://ajaxim.com/) , and ...
2
votes
1answer
626 views

memcached php module not compiling on EC2

I'm trying to do this on EC2, micro instance using amazon linux I installed and started the memcached service without problems. But when trying to make the php part using pecl it told me pecl wasnt ...
1
vote
3answers
353 views

Puppet defined resource - selective parameterization?

I'm currently banging my head trying to find the "best way" to achieve this type of granularity for puppet: I have a server running memcached in testing environment and another one running for the ...
1
vote
2answers
1k views

Is it possible to install apc, memcached, nginx and varnish all together?

Just wondering if it is possible to have nginx, apc, memcached, and varnish all running together. i am currently running on a dreamhost private virtual server, not that it matters. any input would be ...
1
vote
1answer
109 views

MAMP extension won't load

I recently installed MAMP Pro 1.9.5. I followed several tutorials online explaining how to enable memcached. I was able to compile correctly with no errors. I added memcache.so to my php.ini as ...
1
vote
1answer
569 views

Will innodb benefit from memcached?

from - http://www.readwriteweb.com/hack/2011/04/you-got-nosql-in-mysql-memcach.php (correct me if does not make sense) potential benefits saving complex query calculation into distributed ...
11
votes
4answers
12k views

how to restart/clear memcache without restarting the whole web server?

/opt/eduserver/eduserver gives me options: Usage: /opt/eduserver/eduserver ...
3
votes
1answer
326 views

Memcached - one large instance vs many smaller

I will be adding a memcached server to my web app to offload lots of db requests. I'll be mostly caching different small id-name pairs (memberid-membername, blogid-blogname, etc) and expect total ...
2
votes
1answer
1k views

How is distributed memcached supposed to increase performance if it's making network calls?

http://memcached.org/about Greetings all, I love memcached but have thus far only used it in single machine setups as a local cache. I have read extensively about memcached's distributed nature and ...
0
votes
0answers
159 views

How to build memcached with debug symbols?

wget http://memcached.org/latest tar -zxvf memcached-1.x.x.tar.gz cd memcached-1.x.x ./configure make && make test sudo make install Here's the step to build/install memcached,but how to ...
0
votes
2answers
2k views

repcached didn't work when replicate with 2 servers?

I have compiled the memcached-repcached with --enable-replication option, and started it like below: on the server 1: # /usr/local/memcached/bin/memcached -v -d -u memcached -l 192.168.7.106 -p ...
3
votes
2answers
1k views

Multiple AWS EC2 running Auto Scaling and Distributed Memcache

I'm planning to use distributed Memcache across a series of Linux web servers on Amazon EC2. These EC2s currently run auto scaling so will increase and decrease with load. I have used this post to ...
1
vote
1answer
278 views

How to backup MySQL (mysqldump) when Memcached installed?

The server OS is CentOS, with Memcached installed Before Memcached installed, I use mysqldump -u root -p --lock-tables --add-locks --disable-keys --skip-extended-insert --quick wcraze > ...
0
votes
2answers
5k views

how to install pecl memcached?

i need to install memcahced (not memcache) on my computer (ubuntu 10.10 and php 5.3.3), i did the follwoing: $ apt-get install php5-memcached libmemcached-tools libmemcached5 =>DONE SUCESSFULLY $ ...
0
votes
2answers
1k views

Rails app complaining can't connect to memcached but I'm pretty sure it's running

All was well, then I rebooted the server. Right now: $ ps aux | grep memcache 1000 27168 0.0 0.0 121972 1056 pts/0 Sl 15:18 0:00 memcached -m 64 -p 11211 -u nobody -l 127.0.0.1 1000 ...
0
votes
1answer
254 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 ...
1
vote
3answers
421 views

What range is considered safe for connections/GETS/SETS per second per server instance with memcached?

Question I am interested in learning the following metrics, per memcached instance: Safe range for connections/GETs/SETs per second Upper bound for connections/GETs/SETs per second I have a ...
1
vote
1answer
641 views

Increase memory to memcached

I need to increase the memory size for memcached. I have done this before, but I cannot remember all the steps that I took. If I remember correctly, I downloaded /etc/sysconfig/memcached and changed ...