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
134 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
634 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 ...
12
votes
4answers
21k 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
368 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
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
289 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
2k 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
271 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
456 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
733 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 ...
2
votes
2answers
1k views

Memcached is not launching

I just installed memcached and the memcache pecl extension. Now randomly I cannot get it to start. When I run service memcached start I get this: Starting memcached: chown: `memcached\r': invalid ...
3
votes
1answer
504 views

Installing memcached on Windows Server 2003

I installed memcached on my dev box which is Windows 7. Everything worked great. Now I want to install on my test server which is Windows Server 2003. I want to run memcached as a Windows service, ...
1
vote
2answers
3k views

memcache fast-cgi php apache 2.2 windows 7 creating problems

I am trying to run memcache, fast-cgi with apache 2.2 + php on a windows 7 machine. If I don't use memcache everything works fine. The moment I disable extension=php_memcache.dll in php.ini ...
0
votes
1answer
612 views

Deploying Memcached as 32bit or 64bit?

I'm curious about how people deploy memcached on 64 bit machines. Do you compile a 64bit (standard) memcached binary and run that, or do people compile it in 32bit mode and run N instances (where N = ...
0
votes
3answers
365 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
805 views

yum error when installing memcached

trying to install memcached with "yum install memcached" and i'm getting all these errors which I have no idea how to solve. Setting up Install Process Resolving Dependencies --> Running transaction ...
5
votes
3answers
7k views

Multiple Memcached server /etc/init.d startup script that works?

I install memcached server via source and can get standard start up script installed for 1 memcached server instance, but trying several scripts via google, can't find one that works to manager auto ...
0
votes
1answer
690 views

memcached and IIS manager with windows 2008

I have memcached (c:\memcached) running on port 11211 and I have a problem configuring IIS manager I created a site in IIS manager binded to port 11211 and if I have memcached running and try and ...
1
vote
3answers
2k views

Setting up memcached/memcache with Php on Ubuntu 10.10

I'm assuming memcache and memcached are two completely different things, and that I want to use memcached. I have two separate servers (one is a webserver, one is meant for the db). I don't know ...
1
vote
1answer
4k views

How to restart memcache? Via SSH

Hey i want to restart memcache so i can downgrade my Memory allocated for Memcache from 350MB to 64MB. I am new with SSH can anyone point me on how to restart Memcache or a way to re-allocate the ...
6
votes
1answer
6k views

How is memcache distributed?

I've got memcache running on 5 web servers all of which are on the host list in php and which are load balanced on the front end. So since memcached is supposed to be distributed the php client will ...
0
votes
1answer
630 views

Can't connect to Memcached

I know there are other questions on this but I can't find a resolution. I've installed Memcached on a server running Ubuntu and I'm trying to use it. I've attempted to start it using: $ memcached ...
5
votes
1answer
782 views

How do I monitor memcached evictions?

How do I monitor memcached to know if / how many evictions are occurring, and how much memory is used/free.
1
vote
3answers
7k views

How to specify the log file for memcached on RHEL / CentOS

I'm running memcached 1.4.5 on RHEL5.5. I installed this using yum which has installed the standard memcached script in /etc/init.d and the configuration file in /etc/sysconfig/memcached: ...
0
votes
1answer
747 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 ...
8
votes
4answers
5k views

View content of memcached

Are there any tools to explore what is currently cached inside a memcached pool? Not some much graphs, but the actual key/values currently stored.
5
votes
3answers
764 views

Memcached - one big server vs several smaller ones

I am considering whether we should get one big (48 Gb RAM) server or buy 4 smaller (12Gb RAM) servers for running memcached service. In either case I would also have stand-by spares for redundancy, ...
0
votes
1answer
1k views

How can i install memcache for PHP 5.2.10 in CentOS 5.5? (not in repo)

i tried installing memcache from another repo and it all went wrong: [root@mail ~]# php -v PHP Warning: PHP Startup: memcache: Unable to initialize module Module compiled with module API=20050922, ...
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
1answer
328 views

Memcached failing to get data (nuked by expire)

currently I have three different running memcached instances, each one for an environment (dev, test and live) All three environments are running the same memcached version (1.4.5) and configurations ...
1
vote
3answers
1k views

How to confirm memcache memory increase?

Alright, I have downloaded /etc/sysconfig/memcache And edited the file that contained "PORT="11211" USER="memcached" MAXCONN="1024" CACHESIZE="64" OPTIONS="" to 1000 cachesize. I uploaded the file ...
13
votes
3answers
16k views

How to increase the amount of memory memcache uses?

I am currently on a Xeon 7550 server running Redhat x86_64 es5 with 32gb RAM. I have memcache installed and the only step remaining in the configuration is to set how much memory it uses. I had done ...
3
votes
2answers
2k views

Launch memcached on server boot?

How can I do this? Im running RedHat x86_64 es5. I heard that a cron job is possible, and some other people talk about a script? Note that my linux server knowledge is very limit, so please be ...
5
votes
3answers
6k views

Memcached memory usage

Is there any command line or php script which returns the memcached total memory usage?
1
vote
3answers
619 views

Launch memcached on boot with cron?

How can I launch memcached on boot?
0
votes
2answers
1k views

memcached and iptables

$m = new Memcached(); $m->addServer('localhost', 11211); Will port 11211 need to be open in IPTables for this to work, or is it bypassed considering it's localhost? sudo iptables -L -n -v output ...
0
votes
1answer
92 views

Jumping into memcached - know any good guides?

I'm looking to get into storing data in memcached and enhance a few areas of my site. I've googled around for guides in PHP and am finding limited or very old articles. There's always the ...
0
votes
1answer
603 views

memcache connections reaching its limit…?

I recently launched my project and had around 2000+ users accessing the application within 10 minutes. I have setup memcache to handle the sessions. What happened was that the server went very slow, ...
0
votes
1answer
161 views

Strategy for caching

I have a 5 dedicated servers each running the same version of an application. I'm looking to massively step up our caching strategy to take some load off MySQL as this is our main bottleneck. All the ...
0
votes
1answer
896 views

Memcached not listening

I installed Membase's memcached distro on Windows 2003 R2 x64, but memcached.exe isn't opening any listening ports (I can see this through the TCP/IP tab in Process Explorer). However, if I copy the ...
0
votes
1answer
221 views

Looking for advice on how to set up membase for a small web app

I am building a small webapp that will initially be hosted on a EC2 Micro instance (which is severely memory-limited, 613Mb RAM). When I set it up it asks for a RAM component into which it will load ...
2
votes
1answer
420 views

Change password in memcached

How do I change/reset the password in a Membase (formerly known as NorthScale) memcached instance?
0
votes
1answer
260 views

After installing memcached, unable to locate memcached.so

I've installed memcached on my ubuntu server (8.04), but after apt-get install memcached and successfully installing it, it does not appear in php.ini. I have tested memcached by doing telnet ...
2
votes
2answers
2k views

php_memcache.dll vc6 X64?

I am running wamp server with php 5.3.0. My efforts running memcached were a fail :( After googeling I found out that the problem is that I need the correct php_memcache.dll which is a vc6 compiled ...
1
vote
7answers
4k views

How to deploy web application for 2 million users?

I've been tasked with figuring out how to do a large scale deployment for a high availability, high traffic, dynamic, flash based web application. There is a good possibility that this application can ...
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
2answers
380 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 ...