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
380 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 ...
1
vote
2answers
361 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 ...
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 ...
0
votes
2answers
301 views

Can Memcached limit “write per second” and “read per second” on MySQL?

I need to reduce the value of "write per second" and "read per second" on MySQL (this is for statistics: total views of post). Can Memcached doing this job? Thanks
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
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 $ ...
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
578 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
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 ...
0
votes
3answers
325 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 ...
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 ...
1
vote
2answers
203 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
1answer
185 views

In Nginx, can I handle both a location:url or a content-type: text/html response from memcached?

I'm setting up an nginx - apache reverse proxy where nginx handles the static files and apache the dynamic. I have a search engine and depending on search parameter I either directly forward the ...
0
votes
1answer
206 views

Multi-Application Server Environment and Memcached Security

We are looking to integrate Memcached into our infrastructure, but have a security concern before we do. We run several platforms including ASP.NET and Coldfusion and have many app developers working ...
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
354 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
570 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 ...
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 ...
3
votes
1answer
327 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 ...
0
votes
1answer
519 views

Using memcached with upgraded Subversion FSFS repository

Subversion 1.6 release notes suggest that it's possible to use memcached to "cache data of FSFS repositories". Creating a new repository using svnadmin create has a fsfs.conf file within the db/ ...
0
votes
2answers
327 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 ...
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 ...
3
votes
3answers
633 views

Issues Installing PHP Memcache module

I am trying to install memcache on my VPS. When I type $ pecl install memcache I get this error checking whether the C compiler works... configure: error: cannot run C compiled programs. If you ...
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 ...
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 ...
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 ...
5
votes
3answers
4k views

Nginx & PHP caching: fastcgi_cache, proxy_cache, APC or memcached or combo?

We have webservers running nginx 7.65 along with fastcgi PHP5 and are looking into caching possibilities to speed up content delivery and lower system loads. The servers run different (custom) ...
3
votes
1answer
454 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
3answers
581 views

Launch memcached on boot with cron?

How can I launch memcached on boot?
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
1answer
255 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 ...
3
votes
8answers
2k views

MemCached on Windows x64

This question has previously been asked, but that was a year ago and I wanted to know if there had been any developments since then. Basically we'd like to use a MemCached Server on a Windows Server ...
1
vote
3answers
422 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 ...
0
votes
1answer
330 views

memcached memory usage difference on 32- and 64-bit

We have a bunch of boxes running memcached. Some are 32-bit and some are 64-bit, but all run a 32-bit install of RHEL due to various Perl-related things. We'll call them type A and B respectively. ...
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 ...
2
votes
2answers
875 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 ...
1
vote
2answers
2k 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
764 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 ...
0
votes
1answer
594 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
1answer
3k 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 ...
5
votes
1answer
5k 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
506 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 ...
0
votes
1answer
680 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 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 ...
4
votes
3answers
694 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
985 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 ...